Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with Languages/Admin Errors?


mrssocolov

Recommended Posts

Posted

Hello

 

Ok - so I am setting up a new store - www.prettyprints.net. When I logged into my Admin to get started with customizing my store - I am faced with the following messages....

 

Warning: include(includes/languages/english/) [function.include]: failed to open stream: No such file or directory in /home/www/prettyprints.net/admin/includes/application_top.php on line 133

 

Warning: include(includes/languages/english/) [function.include]: failed to open stream: No such file or directory in /home/www/prettyprints.net/admin/includes/application_top.php on line 133

 

Warning: include() [function.include]: Failed opening 'includes/languages/english/' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/www/prettyprints.net/admin/includes/application_top.php on line 133

 

Ok - for the life of me I have no idea what the problem is. I compared this to another site I have open and running fine - I compared the application top with the site that works fine to the prettyprints - to see if I could figure out what the problem is. But they looked the same to me. I can assume that there is a break in function but I am not sure how to fix it. This is a new problem for me...

 

Anyone have any suggestions? Has anyone run across this?

 

Thanks -

Dance as if No One were Watching ~ Sing as if No One were Listening ~ And Live Life everyday as if it were Your Last!

Posted

Ok - so here is the section in the application top - line 133 that it is having a problem with...

 

// include the language translations
 require(DIR_WS_LANGUAGES . $language . '.php');
 $current_page = basename($PHP_SELF);
 if (file_exists(DIR_WS_LANGUAGES . $language . '/' . $current_page)) {
   include(DIR_WS_LANGUAGES . $language . '/' . $current_page);
 }

Dance as if No One were Watching ~ Sing as if No One were Listening ~ And Live Life everyday as if it were Your Last!

Posted

Hello

 

Well I was able to fix it -

 

I have another website I use this software on that is running perfectly9(www.marlodee.com) - so I thought I would compare the two and see if I could figure this out.

 

So - in comparing I noticed that my other website was set to php4 settings and my new website was set to php5 settings. So - I changed the new website to php4 settings and now the admin section is working perfectly. So, it was the php settings.

 

So - if you have this problem - find your php settings function through your hosting account. You should be given the choices of choosing php4 or php5 - select php4 for the settings and see if this clears up the messages for you.

 

Thanks -

Dance as if No One were Watching ~ Sing as if No One were Listening ~ And Live Life everyday as if it were Your Last!

Archived

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

×
×
  • Create New...