error i dont understand

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
ryanpratt
Posts: 74
Joined: Fri 5. Mar 2004, 16:59
Location: Hilton Head Island, SC

error i dont understand

Post by ryanpratt »

Warning: main(/home/canopyco/public_html/include/inc_lang/backend/af/lang.inc.php): failed to open stream: No such file or directory in /home/canopyco/public_html/phpwcms.php on line 57

Warning: main(): Failed opening '/home/canopyco/public_html/include/inc_lang/backend/af/lang.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/canopyco/public_html/phpwcms.php on line 57


I get this error on the top of the page when i login?
Pappnase

Post by Pappnase »

hello

that means that you have a pathproblem.

so please check the conf.inc.php file.
ryanpratt
Posts: 74
Joined: Fri 5. Mar 2004, 16:59
Location: Hilton Head Island, SC

this is what i have.

Post by ryanpratt »

// paths
$phpwcms['DOC_ROOT'] = $_SERVER['DOCUMENT_ROOT'];// real DOC_ROOT seems to be: '/home/canopyco/public_html/inc'
$phpwcms['root'] = ''; //default: ''
$phpwcms['file_path'] = 'filearchive'; //default: 'filearchive'
$phpwcms['templates'] = 'template'; //default: 'template'
$phpwcms['content_path'] = 'content'; //default: 'content'
$phpwcms['cimage_path'] = 'images'; //default: 'images'
$phpwcms['ftp_path'] = 'upload'; //default: 'upload'

i am in the public_html

any help would be great. All the other things work. i have built the whole site structure and it all works?
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Post by juergen »

Hello

backend/af/lang.inc.php): failed to open stream: No such file or directory in /home/canopyco/public_html/phpwcms.php on line 57

Hmm.. there is no af directory in standard phpwcms... perhaps you switched your language to something not present

;)
ryanpratt
Posts: 74
Joined: Fri 5. Mar 2004, 16:59
Location: Hilton Head Island, SC

dont think so.

Post by ryanpratt »

I have checked my config file and the language is set to en not af ?

Dont know where the issue is coming from?
ryanpratt
Posts: 74
Joined: Fri 5. Mar 2004, 16:59
Location: Hilton Head Island, SC

this is what my phpwcms.php file says

Post by ryanpratt »

//load default language EN
require_once (PHPWCMS_ROOT.'/include/inc_lang/backend/en/lang.inc.php');
$BL['modules'] = array();
ryanpratt
Posts: 74
Joined: Fri 5. Mar 2004, 16:59
Location: Hilton Head Island, SC

sorry i got it

Post by ryanpratt »

the admin had an Arabic language set which dosn't exist in the incl file so i set to English and it all works now.

Thanks for your help guys!
Post Reply