Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Fatal error after language installation


Recommended Posts

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!? :?

Link to comment
Share on other sites

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."

Link to comment
Share on other sites

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??

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...