Elxis CMS Forum
Support => General => Topic started by: xmanhattan on May 20, 2008, 12:58:56
-
Well, after the problem the other day, I thought that everything was working well as I have been adding content today.
Then this happened. I am wondering whether or not the htaccess is the problem.
Additional info:
This happened when I was working in Menu Manager Main Menu attemtping to move a link content item to a different ordering. I also tried it on my local server and that worked with no problem.
As I have elxis in a sub-directory and htaccess is in the root and has RewriteBase /elxis
Should I have a second htaccess in the /elxis directory? Otherwise, what can be causing this?
The screen had multiple error buttons showing
PHP: database::include() [function.include]: Failed opening '/home/enosi/public_html/elxis/includes/Core/../offline.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php')
uri: index2.php
path:
version: Elxis 2008.0 Stable rev1891 [ Olympus ] 10-February-2008 00:39 GMT+2
WARNING(2): /home/enosi/public_html/elxis/includes/Core/database.php, line 166
The htaccess file as it currently is:
<Files .htaccess>
order allow,deny
deny from all
</Files>
RewriteEngine On
RewriteBase /elxis
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
-
You forgot the leading slash:
RewriteBase /elxis/
Dont forget to apply the SEO PRO fix for sites in subdirectories:
https://forum.elxis.org/index.php?topic=1918.0