Page 1 of 1

Error after installing 0.13 when clicking on the menu

Posted: Wed May 24, 2006 2:17 pm
by Lector
cyberman wrote: Sometimes it could be helpful to add a little bit more informations like server, php and mysql versions to reproduce your error.

In the past I had a similar problem - there comes a problem from vhost configuration  :-\.
I installed version 0.13 without any problems.

http://indisguise.in.funpic.de/cmsmadesimple/

After clicking on the menu the following error occurs:
SecureSSI: Das Script (/usr/export/www/vhosts/funnetwork/hosting/indisguise/cmsmadesimple/index.php) hat versucht ausserhalb von ihrem Userverzeichniss auf die Datei /usr/export/www/vhosts/funnetwork/hosting/indisguise/cmsmadesimple/fileloc.php zuzugreifen.
Dies ist nicht erlaubt!

Warning: main(): Sicherheitsverletzung: in /usr/export/www/vhosts/funnetwork/hosting/indisguise/cmsmadesimple/index.php on line 22

Warning: main(/usr/export/www/vhosts/funnetwork/hosting/indisguise/cmsmadesimple/fileloc.php): failed to open stream: Operation not permitted in /usr/export/www/vhosts/funnetwork/hosting/indisguise/cmsmadesimple/index.php on line 22

Fatal error: main(): Failed opening required '/usr/export/www/vhosts/funnetwork/hosting/indisguise/cmsmadesimple/fileloc.php' (include_path='.:') in /usr/export/www/vhosts/funnetwork/hosting/indisguise/cmsmadesimple/index.php on line 22
PHP 4.4.2
MySQL 4.0.26

I hope somebody can help me and give me a clue what might be the reason for this error. Thanks in advance!

Re: Error after installing 0.13 when clicking on the menu

Posted: Wed May 24, 2006 3:43 pm
by Elijah Lofgren
Not sure why you get the error. You should make sure /usr/export/www/vhosts/funnetwork/hosting/indisguise/cmsmadesimple/fileloc.php exists and if it does try changing the permissions of the file to 755.

A workaround is to diable the pretty URL scheme. If you do that pages will have URLs like this:
http://indisguise.in.funpic.de/cmsmades ... tent_types

To disable pretty URLs:
1. Open config.php
2. Change this line:

Code: Select all

$config['internal_pretty_urls'] = true;
to:

Code: Select all

$config['internal_pretty_urls'] = false;

Re: Error after installing 0.13 when clicking on the menu

Posted: Wed May 24, 2006 4:24 pm
by Lector
Hi Elijah,

Thanks a lot! After doing what you suggested no more error occurs!  :D

No more pretty URLs but therefore a CMS without an error message (hopefully)  ;D