Is a problem with the path?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Willie B Hoffman
Posts: 6
Joined: Fri 11. Mar 2011, 21:36

Is a problem with the path?

Post 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?
" If everyone is happy with you, then surely you have made many compromises in your life " (W. Shakespeare)
Post Reply