Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HELP: Can't determine language


makalu

Recommended Posts

Posted

Hello,

 

I've just recently tried to move a configured osCommerce site from a development server to an operational server, and now none of the pages will load on the operational server due to the following error:

 

Fatal error: Failed opening required 'includes/languages/.php' (include_path='.:/usr/local/lib/php') in admin/includes/application_top.php on line 132

 

Somehow, osCommerce is unable to determine the language. Here are the steps I followed:

 

1. Setup a working osCommerce installation and configuration on my MacOS X system.

2. Using the admin interface, backed up the data

3. Moved the entire site to our operational Linux machine

4. Ran the osCommerce installer, allowing it to setup the default database

5. Imported my backup archive

 

(Step 5. isn't related to the problem, I don't think. I ran the installer again, without importing my data, and experienced the same errors.)

 

Any idea what I can do now?

 

Many thanks in advance.

 

-- Matt

Posted

Hi Matt,

 

Fatal error: Failed opening required 'includes/languages/.php' (include_path='.:/usr/local/lib/php') in admin/includes/application_top.php on line 132

 

That looks VERY much like the web server default (PHP) include path to me, therefore you have not defined where your include path is ??

 

Peter

Posted

post both the admin/includes/configure.php and catalog/includes/configure.php remember to xxxx out the database password at the end of the files.

 

also see this post http://www.oscommerce.com/forums/index.php?showtopic=89759&st=20

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted

Hi,

 

What is the value of this line:

 

  define('DIR_WS_INCLUDES', 'includes/');

 

in /admin/includes/configure.php

 

Peter

Posted
also check the very last post of this thread http://www.oscommerce.com/forums/index.php?showtopic=89858&hl=

Wow, that was the problem. I had:

 

php_value register_globals on

 

(which worked just fine on my Mac OS X installation of PHP)

 

When I changed this to the following, the problem went away:

 

php_value register_globals 1

 

Thank you very much!

 

(And, wow, is this forum helpful and quick!)

Posted

we try to help where we can, it is advisable to give as much information as you can in regards to an issue to help with the resolve.

 

glad it all worked out for you in the end :D

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Archived

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

×
×
  • Create New...