prettiestgarden Posted August 24, 2008 Share Posted August 24, 2008 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 More sharing options...
♥FWR Media Posted August 24, 2008 Share Posted August 24, 2008 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. Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
prettiestgarden Posted August 24, 2008 Author Share Posted August 24, 2008 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 More sharing options...
♥FWR Media Posted August 24, 2008 Share Posted August 24, 2008 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. Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
satish Posted August 24, 2008 Share Posted August 24, 2008 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 More sharing options...
♥FWR Media Posted August 24, 2008 Share Posted August 24, 2008 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. Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
prettiestgarden Posted August 24, 2008 Author Share Posted August 24, 2008 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 More sharing options...
♥FWR Media Posted August 24, 2008 Share Posted August 24, 2008 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) Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
prettiestgarden Posted August 24, 2008 Author Share Posted August 24, 2008 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 More sharing options...
prettiestgarden Posted August 25, 2008 Author Share Posted August 25, 2008 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 More sharing options...
prettiestgarden Posted August 26, 2008 Author Share Posted August 26, 2008 Special thank you FWR Media UK and Satish for your help. My problemm has been resolved, but it was scary for awhile. Thank you Sue Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.