Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Language setting errors with English


Guest

Recommended Posts

All,

 

I am getting errors within the cart admin. When I open the admin initially it opens, but if I click on link then it gives me the following error

 

Fatal error: Failed opening required 'includes/languages/.php' (include_path='.;C:\IBserver\php\includes;C:\IBserver\php\pear') in c:\ibserver\www\catalog\admin\includes\application_top.php on line 130

 

I have the catalog loaded on an IBServer Test Server on my laptop since no one responded to my earlier questions... any help would be great!!

 

Joshua Staley

Link to comment
Share on other sites

I've recently seen this problem on a Windows server, providing wrong error message when using php5. If your install uses php5 then go to includes/classes/upload.php and on line 31 change $this to //$this

 

The response is completely different on a Linux/Unix server running Apache - you don't get into admin at all, but you get a useful error message. So whatever server you're running, if it has php5 installed try out my advice.

 

Vger

Link to comment
Share on other sites

Thanks for the info, but it didn't work. Here is the server info I have.

 

On my test Server (IBServer runnign in Windows XP)

 

Apache 1.3.26

MySQL 3.23.52

PHP 4.2.3

phpMyAdmin 2.3.0

 

On live server we have: (This one is actally running on Apache and is gettign the same kind of errors. I have installed one Contrib. the Registry_globals=off fix.)

 

phpMyAdmin 2.5.7-pl1

MySQL 4.0.20-standard

PHP Version 4.2.2

Apache 1.3.26

 

I get a language error that reads as follows when trying to access any Admin option.

 

Fatal error: Failed opening required 'includes/languages/.php' (include_path='.;C:\IBserver\php\includes;C:\IBserver\php\pear') in c:\ibserver\www\catalog\admin\includes\application_top.php on line 130

 

If i go to the c:\ibserver\www\catalog\admin\includes\application_top.php file and add 'english.php' instead of '.php' I can get into the website.

 

But I have 2 questions, why would I have to manually specify the language and why is my copy of the cart so dorked up lol. I have re-installed it from scratch a couple times now, so not sure what it is wrong I am doing...

 

Thanks and keep the ideas rolling.

Link to comment
Share on other sites

BTW, when I do add the 'english.php' I can get into the admin, but the headings and title all say "title_something" or "heading_something" (something being what ever heading or title it should be lol)

 

It like it doesn't even read the language php correct....

Link to comment
Share on other sites

Well I went ahead and re-installed the catalog files for the 3rd time and everything seems to be all right. If when I install the registry_globals=off again on my live server (I turned registry globals on on my test server to see if it affects it) and test server and if it fails after that then I know that is the problem.

 

Let you know what I find.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...