arnemeldgaard Posted May 22, 2003 Posted May 22, 2003 I tried to install a new language but it seems like I didn't succeed. Now I can not access the Catalog and the Administration interface. I get following error: Fatal error: main() [function.main]: Failed opening required 'includes/languages//catalog/includes/languages/norw.php' (include_path='.;c:php4pear') in c:inetpubwwwrootadminincludesapplication_top.php on line 190 Hope you can help me!? :?
arnemeldgaard Posted May 22, 2003 Author Posted May 22, 2003 The problem might be caused by a fact that this path doesn't exist. But where can I change it? 'includes/languages//catalog/includes/languages/norw.php'
Wizzud Posted May 22, 2003 Posted May 22, 2003 I'm assuming that you're trying to add Norwegian, and that you currently have other languages working with no problem. For admin purposes the name of the new language is probably 'Norwegian'. Within your file system you appear to have a shorthand of 'norw', which I will use from now on - this is the directory for admin purposes. What you should have is a folder under includes/languages called norw. Also, within the includes/languages folder you should have a file called norw.php - note that both of these have to use the admin directory name. Within the includes/languages/norw folder you should have all your other language files. Assuming your structure is correct, go into phpMyAdmin and check the languages table - you might find that the directory field for your new language has a path in it when it should only have 'norw' (in this case). If this is the case, simply change the directory field. Regards, Wizzud "It is better to remain silent and be thought a fool, than to open your mouth and remove all doubt."
arnemeldgaard Posted May 22, 2003 Author Posted May 22, 2003 Thanks - now the administration part is working! However I still have a problem with my catalog when I try to access http://localhost/catalog/default.php then I get following error-message: Fatal error: main() [function.main]: Failed opening required 'catalog/includes/functions/sessions.php' (include_path='.;c:php4pear') in c:inetpubwwwrootcatalogincludesapplication_top.php on line 148 Can anyone help me to fix this??
Recommended Posts
Archived
This topic is now archived and is closed to further replies.