Elxis CMS Forum

Support => General => Topic started by: ROUBOS on May 17, 2011, 03:20:15

Title: autonomous pages not showing :(
Post by: ROUBOS on May 17, 2011, 03:20:15
Hi,
what could cause autonomous pages not to show up? The address does correctly change (SEO pro enabled) but the autonomous pages don't show up in the main body.
here's part of my code
Code: [Select]
        <div id="content">
        <div id="main"><?php mosLoadModules(&#39;header&#39;, -2); ?> <?php mosMainBody(); ?></div>
            <div id="secondary"><?php mosLoadModules(&#39;right&#39;, -2); ?></div>
            <div class="cleardivs"></div>
    <div id="footer">footer</div>         
    </div>

any thoughts?
Title: Re: autonomous pages not showing :(
Post by: webgift on May 17, 2011, 12:12:20
Have you published the autonomous pages to current - published language of your elxis website ?
Title: Re: autonomous pages not showing :(
Post by: rentasite on May 17, 2011, 12:14:40

Any old menu items, pointed to the current autonomous page?

if yes, empty the trash and clean cache
Title: Re: autonomous pages not showing :(
Post by: ROUBOS on May 17, 2011, 12:28:17
must be something with the file permissions. It kicks me out of the admin pages.
I've checked all menus, emptied cache and temp. All menus published etc.
Something funny going on with the permissions on the server. They've changed all file permissions. What should they be set to?
Title: Re: autonomous pages not showing :(
Post by: rentasite on May 17, 2011, 12:29:13

Do you log-in the admin area with www or without?
Title: Re: autonomous pages not showing :(
Post by: ROUBOS on May 17, 2011, 12:32:10
with it. I type the site url and add /administrator
all folders are 755 , and files 644

I might just re-install elxis. Don't know if something's corrupt.
or should I upgrade elxis? will this fix any such issues?
Title: Re: autonomous pages not showing :(
Post by: webgift on May 17, 2011, 14:16:29
Send me via PM , cPanel access of your website to check what exactly happens.

I might just re-install elxis. Don't know if something's corrupt.
or should I upgrade elxis? will this fix any such issues?

We can't reply for sure.
Title: Re: autonomous pages not showing :(
Post by: webgift on May 17, 2011, 14:27:45
I received your PM ROUBOS. So don't re-install anything. Try to communicate with your hosting provider. The basic information that we need to know is what they have changed οr to see the server's error_log file .
If you don't have cPanel or any other hosting platform access is like you don't have a website.

It would be a great idea at least to show us the url of website. We might 'see' something strange.
Title: Re: autonomous pages not showing :(
Post by: ROUBOS on May 17, 2011, 14:57:45
I sent you a PM,
non of the links work
Title: Re: autonomous pages not showing :(
Post by: webgift on May 17, 2011, 15:47:35
This issue occurs when we enable the SEO PRO extension of your website. When we enable the SEO PRO any click on linked menu , articles etc redirects to the home page.
- SEO Pro disabled
- Administrator login completed successfully
- Checked the file system of your website and there is no any suspicious change here

Unfortunately i don't have free time to check .htaccess right now or some more things at your server setting.So I will be back later.;)
Title: Re: autonomous pages not showing :(
Post by: ROUBOS on May 17, 2011, 17:12:02
thanks, I appreciate it
Title: Re: autonomous pages not showing :(
Post by: rentasite on May 17, 2011, 18:35:44
Unfortunately i don't have free time to check .htaccess right now or some more things at your server setting.So I will be back later.;)

How about if he uploaded a new .htaccess from the Elxis CMS distribution ?
Title: Re: autonomous pages not showing :(
Post by: webgift on May 17, 2011, 19:53:55
How about if he uploaded a new .htaccess from the Elxis CMS distribution ?
It has been done on that task :
- Checked the file system of your website and there is no any suspicious change here

Title: Re: autonomous pages not showing :(
Post by: ks-net on May 17, 2011, 20:55:26
Quote
This issue occurs when we enable the SEO PRO extension of your website. When we enable the SEO PRO any click on linked menu , articles etc redirects to the home page.
seems that apache config have some kind of url rewrite to sort urls  like /blog  etc..... common tactic for wp   most likely is this,  check apache config
Title: Re: autonomous pages not showing :(
Post by: ROUBOS on May 18, 2011, 01:17:54
thanks for all your replies.
SEO could be affecting the site, but why is it kicking me out of the administration pages? It just logs me out when I try to do something in the backend? :( ???
disabled htaccess (renamed to htaccess.txt) and the backend works now....

but I get the following error on every link of the page:

Not Found

The requested URL /content/view/21/13/ was not found on this server.
Title: Re: autonomous pages not showing :(
Post by: ks-net on May 18, 2011, 01:42:04
give me a link
Title: Re: autonomous pages not showing :(
Post by: ROUBOS on May 18, 2011, 01:48:52
I PMed... :)
Title: Re: autonomous pages not showing :(
Post by: ks-net on May 18, 2011, 01:56:58
where is the problem?
i visited more than 20 pages without errors... all found
Title: Re: autonomous pages not showing :(
Post by: ROUBOS on May 18, 2011, 01:58:32
that's because I enabled htaccess again. When I disable it, I get that error.

my htaccess is as follows:

##
# Elxis 2009.2 htaccess file
# Copyright (C) 2006-2010 Elxis.org. All rights reserved.
# License: http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Elxis CMS is a Free Software
##

## Uncomment the following line, if it produces erors, comment it again
# Options -Indexes +FollowSymLinks

#
# mod_rewrite in use
#

RewriteEngine On

# The following line tells the web server where your Elxis installation is located in relation
# to the web server root directory. By default this is set to the www root folder ( RewriteBase / ).
# If you have installed Elxis in a sub-folder then set this path properly.
# For example if your elxis site is accessible via this URL http://www.mysite.com/elxis/
# You should set: RewriteBase /elxis/

RewriteBase /

# Uncomment the line bellow if you use static cache in order to deny direct access to cached files.
#RewriteRule ^cache/static/(.*)$ - [F]

#
# Language Handling
# You may remove the languages that you dont need or add other languages not listed here
# For the proper language names and the iso 639 code languages consider includes/Core/locale.php file
# If you wish to use chinese you should add:
# chinese_traditional : zh-Hant,
# chinese_simplified : zh-Hans
#

RewriteCond %{QUERY_STRING} !mylang=[arabic|armenian|bosnian|creole|croatian|danish|dutch|english|french|german|greek|hebrew|indonesian|italian|japanese|latvian|lithuanian|persian|polish|romanian|russian|serbian|spanish|srpski|turkish|vietnamese]{2,}

RewriteRule ^([ar]{2})/(.*)$ /index.php?mylang=arabic [QSA,L]
RewriteRule ^([hy]{2})/(.*)$ /index.php?mylang=armenian [QSA,L]
RewriteRule ^([bs]{2})/(.*)$ /index.php?mylang=bosnian [QSA,L]
#RewriteRule ^([pt\-BR]{5})/(.*)$ /index.php?mylang=brazilian [QSA,L]
RewriteRule ^([ht]{2})/(.*)$ /index.php?mylang=creole [QSA,L]
RewriteRule ^(
{2})/(.*)$ /index.php?mylang=croatian [QSA,L]
RewriteRule ^([da]{2})/(.*)$ /index.php?mylang=danish [QSA,L]
RewriteRule ^([nl]{2})/(.*)$ /index.php?mylang=dutch [QSA,L]
RewriteRule ^([en]{2})/(.*)$ /index.php?mylang=english [QSA,L]
RewriteRule ^([fr]{2})/(.*)$ /index.php?mylang=french [QSA,L]
RewriteRule ^([de]{2})/(.*)$ /index.php?mylang=german [QSA,L]
RewriteRule ^([el]{2})/(.*)$ /index.php?mylang=greek [QSA,L]
RewriteRule ^([he]{2})/(.*)$ /index.php?mylang=hebrew [QSA,L]
RewriteRule ^([id]{2})/(.*)$ /index.php?mylang=indonesian [QSA,L]
RewriteRule ^([it]{2})/(.*)$ /index.php?mylang=italian [QSA,L]
RewriteRule ^([ja]{2})/(.*)$ /index.php?mylang=japanese [QSA,L]
RewriteRule ^([lv]{2})/(.*)$ /index.php?mylang=latvian [QSA,L]
RewriteRule ^([lt]{2})/(.*)$ /index.php?mylang=lithuanian [QSA,L]
RewriteRule ^([fa]{2})/(.*)$ /index.php?mylang=persian [QSA,L]
RewriteRule ^([pl]{2})/(.*)$ /index.php?mylang=polish [QSA,L]
RewriteRule ^([ro]{2})/(.*)$ /index.php?mylang=romanian [QSA,L]
RewriteRule ^([ru]{2})/(.*)$ /index.php?mylang=russian [QSA,L]
RewriteRule ^(sr)/(.*)$ /index.php?mylang=serbian [QSA,L]
RewriteRule ^([es]{2})/(.*)$ /index.php?mylang=spanish [QSA,L]
RewriteRule ^(rs)/(.*)$ /index.php?mylang=srpski [QSA,L]
RewriteRule ^(
{2})/(.*)$ /index.php?mylang=turkish [QSA,L]
RewriteRule ^([vi]{2})/(.*)$ /index.php?mylang=vietnamese [QSA,L]

#
# Exclude Files and directories
#

RewriteRule ^(administrator/|bridges/|cache/|components/|editor/|help/|images/|includes/|language/|mambots/|media/|modules/|templates/|tmpr/) - [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php

#
## Security rules. Comment them if they cause problems to your site
#

# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
# This rule is commented because it may cause some Elxis features to not work!
# RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
Title: Re: autonomous pages not showing :(
Post by: ks-net on May 18, 2011, 02:04:12
off cource you get an error if you disable it

seo and htaccess are need each other..... if one of them missing you get errors

where exactly is the problem ... in seo-pro only?
Title: Re: autonomous pages not showing :(
Post by: ROUBOS on May 18, 2011, 02:09:45
well I had enebled seo pro from installation. Everything worked fine untill the hosting people changed all the permissions (to the correct ones 755 and 644) since I did not do it myself after the install.
Eversince that change, the site did not work.
Title: Re: autonomous pages not showing :(
Post by: ks-net on May 18, 2011, 02:11:48
give me access to ftp and elxis ...if can!
Title: Re: autonomous pages not showing :(
Post by: ROUBOS on May 18, 2011, 02:13:06
ok will PM
getting :
Detected CSRF attack! Someone is forging your requests

when trying to enable SEO Pro
Title: Re: autonomous pages not showing :(
Post by: ks-net on May 18, 2011, 02:15:45
probably its you.... logged twice from diff browser or browser-windows?
Title: Re: autonomous pages not showing :(
Post by: ROUBOS on May 18, 2011, 02:21:26
out of everything now since I PMed you
Title: Re: autonomous pages not showing :(
Post by: ks-net on May 18, 2011, 02:56:52
can we see apache error.log ?

elxis files are ok.... same htaccess ...
database not checked... but i dont think is there the problem.

only seo pro has problem
espacialy when needs to add the .html extension in an url

eg.
/discover-elxis    works
/discover-elxis/radical-features
discover-elxis/radical-features/edc-installer.html oooops ...  error and redirect to frontpage
Title: Re: autonomous pages not showing :(
Post by: ROUBOS on May 18, 2011, 03:00:14
ok,
so what's your advice? Look at the database? Re-install everything? Something I could look at in phpMyAdmin?
Title: Re: autonomous pages not showing :(
Post by: ks-net on May 18, 2011, 03:06:54
i suggest reinstall the database ....

files look ok but your elxis sucks... seopro errors
content edit save errors and so on!

Suggest you to do it better... time to install 2009.3
download your template  install the new elxis 2009.3(now you have 2009.2)  from scratch....

no big pain since you have 4-5 empty pages there

if problems continues we are  here

Title: Re: autonomous pages not showing :(
Post by: ROUBOS on May 18, 2011, 03:15:34
thanks for all the help.
Yes I've only just began the site, so I will re-install elxis.
I'll get the new one and even delete the database. (or just drop all tables during install)
OK.
thanks again. Will see how I go this time...
After install I'll need to set the folder and file permissions to 755 and 644. What's the best way to that? I use filezilla
Title: Re: autonomous pages not showing :(
Post by: ks-net on May 18, 2011, 03:22:09
filezilla is ok
Title: Re: autonomous pages not showing :(
Post by: ROUBOS on May 18, 2011, 04:07:35
I just installed elxis 2009.3 and when I enable SEO pro I get the same errors.. it re-directs me to the home page :(
Title: Re: autonomous pages not showing :(
Post by: webgift on May 18, 2011, 14:01:46
I have checked that again. Unfortunately i need high access level .
== I can only notice these informations ==
Web Server to PHP interface:    cgi-fcgi
Session save path:    /var/opt/webstack/php/5.2/sessions   <= this must be  /path/to/elxis/public_html
Disabled Functions:    none  <= this must be : disable_functions = "system, exec, passthru, shell_exec, suexec, dbmopen, popen, proc_open, disk_free_space, diskfreespace, set_time_limit, leak"
Display Errors:    ON <= must be OFF
Short Open Tags:    ON <= must be OFF
Magic Quotes:    ON <= must be OFF

My advice : communicate with your hosting provider till then keep the SEO PRO : disabled.
Title: Re: autonomous pages not showing :(
Post by: ks-net on May 18, 2011, 17:05:19
Quote
My advice : communicate with your hosting provider and till then keep the SEO PRO : disabled.
+1

Title: Re: autonomous pages not showing :(
Post by: ROUBOS on May 19, 2011, 00:24:57
thanks a lot. I will let you know what happens
Title: Re: autonomous pages create but not showing
Post by: herve34000 on October 20, 2011, 11:38:02
Hi,

I would like to ask about Autonomous Pages. maybe my problem is on the htaccess files.

i create already 3 pages before using the seo pro and everything is ok. this 3 Autonomous pages working. Now since using the seo pro, i create more pages. On the administration, i can see all creation pages when i click "preview" this working. but when i go to my url, i get the error 404  ???

i use openmind template

some idea ?

Thank you for answer
Cordially Herve
Title: Re: autonomous pages not showing :(
Post by: rentasite on October 20, 2011, 12:00:33

Which Elxis version are you using?
Title: Re: autonomous pages not showing :(
Post by: herve34000 on October 20, 2011, 12:29:37
Hi rentasite

Thank you for you answer

i use this version v2009.2. Maybe i need to update the last version 2009.3 aphrodite rev2681, but we are little afraid to lose my database from our hotels.
Title: Re: autonomous pages not showing :(
Post by: datahell on October 20, 2011, 13:09:07
No, it is not a matter of the Elxis version. It should work if SEO PRO is enabled and htaccess file is ok.
Can you give us a link to your site to see it?
Title: Re: autonomous pages not showing :(
Post by: rentasite on October 20, 2011, 13:30:14
No, it is not a matter of the Elxis version. It should work if SEO PRO is enabled and htaccess file is ok.

Isn't this problem related to this? > http://bit.ly/pKmAnH
Title: Re: autonomous pages not showing :(
Post by: datahell on October 20, 2011, 14:12:15
He said that he is using Elxis 2009.2...
Title: Re: autonomous pages not showing :(
Post by: herve34000 on October 24, 2011, 05:40:19
hi,

Sorry for the delay. I would like to say thank you Ioannis and rentasite to answer my question.

Ioannis, if you need an access ftp, i can send you an PM. I thing the problem is htacess but i,m not sure.

an sample working all ready : http://www.phuketlandstar.com/terms-and-conditions.html

i create another autonomous page, second don't work : http://www.phuketlandstar.com/formation-video.html.

I try to change in english language also, publicfront, but nothing.

Thank you for you help



Title: Re: autonomous pages not showing :(
Post by: datahell on October 24, 2011, 19:23:00
I think that this will help you figure out what is happening:
In order for an autonomous page to be displayed there must be a menu item pointing to that page and available in the current language.
Title: Re: autonomous pages not showing :(
Post by: herve34000 on October 25, 2011, 05:29:28
Thank You Ioannis, solved  ;)