Page 1 of 1

error i dont understand

Posted: Fri 7. Sep 2007, 15:32
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?

Posted: Fri 7. Sep 2007, 16:42
by Pappnase
hello

that means that you have a pathproblem.

so please check the conf.inc.php file.

this is what i have.

Posted: Fri 7. Sep 2007, 17:08
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?

Posted: Fri 7. Sep 2007, 18:20
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

;)

dont think so.

Posted: Fri 7. Sep 2007, 18:47
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?

this is what my phpwcms.php file says

Posted: Fri 7. Sep 2007, 18:51
by ryanpratt
//load default language EN
require_once (PHPWCMS_ROOT.'/include/inc_lang/backend/en/lang.inc.php');
$BL['modules'] = array();

sorry i got it

Posted: Fri 7. Sep 2007, 19:11
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!