Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Blank admin page after language change


viktorw

Recommended Posts

Hi!

Like so many others I have problems with a blank admin page.

 

My shop page worked fine after the language change but the admin page went blank.

 

Every time a reload the page my Apache error log produce the following message:

 

[Fri Apr 24 22:06:15.087810 2015] [:error] [pid 29966] [client 192.168.1.1:33158] PHP Fatal error:  require(): Failed opening required 'includes/languages/swedish.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/catalog/admin/includes/application_top.php on line 177

 

I really dont know what to do with it... :(

 

Is my swedish.php file missing something ?

 

 

My shop page is in Swedish, and is working fine, but the admin page....

 

Any suggestions ?

 

Thanks / Viktor

swedish.php

Link to comment
Share on other sites

There should be a file named swedish.php In both the root of admin as well as in the languages directory of admin. The files do not have the same content. It sounds like the language one is missing.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

There should be a file named swedish.php In both the root of admin as well as in the languages directory of admin. The files do not have the same content. It sounds like the language one is missing.

OK, do you know if there is a way to change admin-language without the admin page ?

Link to comment
Share on other sites

You would need to edit the database. An easier solution would be to duplicate the languages/english.php file and the languages/english/ directory and name them swedish. Then when admin loads, switch the language from there.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

  • 2 months later...

It would seem your admin isn't identifying the language. There can be a number of reasons for this, depending upon your shops version and if it worked at one point or not.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...