Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Please help - Fatal error() message languages


prettiestgarden

Recommended Posts

Hi

 

I was in my admin panel and foolishly deleted all languages and after that I cannot log into my site at all and this message comes up? Does anyone have any suggestions?

 

Thank you very much

 

Sue

PrettiestGarden.com

 

 

Fatal error: main() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/pretty/public_html/includes/application_top.php on line 268

Link to comment
Share on other sites

Hi

 

I was in my admin panel and foolishly deleted all languages and after that I cannot log into my site at all and this message comes up? Does anyone have any suggestions?

 

Thank you very much

 

Sue

PrettiestGarden.com

 

 

Fatal error: main() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/pretty/public_html/includes/application_top.php on line 268

 

If your site was unmodified just upload to catalog/includes a fresh languages folder from a fresh osc download .. if your site was modified you should have a backup.

Link to comment
Share on other sites

If your site was unmodified just upload to catalog/includes a fresh languages folder from a fresh osc download .. if your site was modified you should have a backup.

 

Hi FWR Media

 

Thank you for your reply. I tried the /catalog (ue) and no luck. There is no backup yet. I really am at a loss. Do you think that I will need to creat a whole new site?

 

Thank you for your assisstance, I appreciate your suggestions.

 

Sue

Link to comment
Share on other sites

Hi FWR Media

 

Thank you for your reply. I tried the /catalog (ue) and no luck. There is no backup yet. I really am at a loss. Do you think that I will need to creat a whole new site?

 

Thank you for your assisstance, I appreciate your suggestions.

 

Sue

 

I read to quick.

 

The problem is

 

includes/languages/.php

 

Between the / and the .php should be the word english ..

 

includes/languages/english.php

 

This means that your languages are not setting correctly. Check if register_long_arrays is on in your php settings.

Link to comment
Share on other sites

Failed opening required 'includes/languages/.php'

 

has come as $language = '' no value.

 

So You need to chek the admin for whats the languages placed in admin.

What is default language.

 

 

Also apply register globals patch.

 

or in application_top.php

$language = $lng->language['directory'];

$languages_id = $lng->language['id'];

to

$language = english;

$languages_id = en;

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

Failed opening required 'includes/languages/.php'

 

has come as $language = '' no value.

 

So You need to chek the admin for whats the languages placed in admin.

What is default language.

 

 

Also apply register globals patch.

 

or in application_top.php

$language = $lng->language['directory'];

$languages_id = $lng->language['id'];

to

$language = english;

$languages_id = en;

 

Satish

 

Don't apply any patches just yet and certainly don't hardcode $language or $languages_id.

 

Post back the php settings please.

Link to comment
Share on other sites

Don't apply any patches just yet and certainly don't hardcode $language or $languages_id.

 

Post back the php settings please.

 

Hi Satish

 

Thank you for your suggestion. I had deleted "English" from my admin panel and this what started this. I am unable to access my site through the admin panel or any other way I have tried. If I can get in to it then I can change it back.

 

Hi FWR Media

 

Thank you for your repy. I am unable to enter the site "no matter what I try to enter with" . I am a little cofused with the "Check if register_long_arrays is on in your php settings" How would I do that?

 

Thank you

 

Sue

Link to comment
Share on other sites

Hi FWR Media

 

Thank you for your repy. I am unable to enter the site "no matter what I try to enter with" . I am a little cofused with the "Check if register_long_arrays is on in your php settings" How would I do that?

 

Thank you

 

Sue

 

make a file called phpinfo.php

 

put into it the following ..

 

<?php

phpinfo();

?>

 

#save it and upload it to your web root (public_html?)

 

browse to http://www.mysite.com/phpinfo.php

 

When it loads search for register_long_arrays it will be set on or off (needs to be on)

Link to comment
Share on other sites

make a file called phpinfo.php

 

put into it the following ..

 

<?php

phpinfo();

?>

 

#save it and upload it to your web root (public_html?)

 

browse to http://www.mysite.com/phpinfo.php

 

When it loads search for register_long_arrays it will be set on or off (needs to be on)

 

 

Hi FWR

 

I will try that. Thank you for your advice.

 

Sue

I will f

Link to comment
Share on other sites

Hi FWR

 

I managed to get into the phpinfo.com file and there is a lot of info there but did not see _long_arrays or any way I can switch language (English) on or off. Is there a back door way of entering my site thru OScommerce? All would be well if I could just get in.

 

Do you or anyone else have any other suggestions? I appreciate your help.

 

Thank you

 

Sue

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...