Page 1 of 1

Is a problem with the path?

Posted: Sat 12. Mar 2011, 16:10
by Willie B Hoffman
Hi, I have done a fresh installation of the latest version of phpwcms in another server and I see this error:

Code: Select all

    Warning: main(): Unable to access /xxx/wcms/include/inc_conf/conf.pagelayout.inc.php in /xxx/wcms/include/inc_front/content.func.inc.php on line 131


I receive this error both in the first article of the site and in the backend when I try to access to an article in order to modify it.

On the same server I have the same problem with another script, and I resolve the problem putting the entire path where I see the error.

e.g. I see the error of above in a line with:

Code: Select all

    include("/lang/$option[language]/bw_lang.php");


then I put the entire path to the folder:

Code: Select all

    include("/path_to_the_folder/lang/$option[language]/bw_lang.php");


for phpwcms maybe is a too big effort replace all the paths, so I can resolve this problem in some way?
Or I must ask to my administrator to change something on the server?