dogtails Posted September 30, 2007 Posted September 30, 2007 Ok, well I did something that wipe my OSCOMMERCE page right now. I tried to get rid of the language and boom, here is my error message. I can't believe all my hard work is not showing up now. Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/dogtails/public_html/osCommerce/catalog/includes/application_top.php on line 285 Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/dogtails/public_html/osCommerce/catalog/includes/application_top.php on line 285 Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.:/usr/local/lib/php') in /home/dogtails/public_html/osCommerce/catalog/includes/application_top.php on line 285 PLEASE HELP :(
crash3903 Posted September 30, 2007 Posted September 30, 2007 Ok, well I did something that wipe my OSCOMMERCE page right now. I tried to get rid of the language and boom, here is my error message. I can't believe all my hard work is not showing up now. Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/dogtails/public_html/osCommerce/catalog/includes/application_top.php on line 285 Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/dogtails/public_html/osCommerce/catalog/includes/application_top.php on line 285 Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.:/usr/local/lib/php') in /home/dogtails/public_html/osCommerce/catalog/includes/application_top.php on line 285 PLEASE HELP :( what is your url? Regards Mark A Reynolds
Nullachtfuffzehn Posted September 30, 2007 Posted September 30, 2007 Do you have a backup of your database? if not, try to run the following query in your phpMyAdmin: INSERT INTO languages VALUES (1,'English','en','icon.gif','english',1);
crash3903 Posted September 30, 2007 Posted September 30, 2007 or try this http://www.yourdomainname.co.uk/index.php?language=en Regards Mark A Reynolds
dogtails Posted September 30, 2007 Author Posted September 30, 2007 the url is www.dogtailsanddreams.com, but it wasn't published yet. I will try to dump in the line given above. Is there a particular place?
Nullachtfuffzehn Posted September 30, 2007 Posted September 30, 2007 No, just put it in where you can execute an SQL command.
dogtails Posted September 30, 2007 Author Posted September 30, 2007 This is what I got on the query, everything else was zero 2 match(es) inside table configuration_group
dogtails Posted September 30, 2007 Author Posted September 30, 2007 Now it says this line includes/languages/.php): failed to open stream: No such file or directory in /home/dogtails/public_html/osCommerce/catalog/admin/includes/application_top.php on line 130 Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/dogtails/public_html/osCommerce/catalog/admin/includes/application_top.php on line 130 Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.:/usr/local/lib/php') in /home/dogtails/public_html/osCommerce/catalog/admin/includes/application_top.php on line 130 and my column_right disappeared from includes/
crash3903 Posted September 30, 2007 Posted September 30, 2007 Have you tried my suggestion? (Now changed to reflect the domain name) or try this http://www.dogtailsanddreams.com/osCommerc...php?language=en Regards Mark A Reynolds
Nullachtfuffzehn Posted September 30, 2007 Posted September 30, 2007 The issue is already solved. There were no entries in the languages table anymore, so nothing else was working. I've restored the languages to the table again and it's working like a charm now.
dogtails Posted October 1, 2007 Author Posted October 1, 2007 it works great, except my categories and products disappeared. :) Thought it was all fixed. It shows 106 products, yet the categories are not there anymore. Do I have to load all of them again?
dogtails Posted October 1, 2007 Author Posted October 1, 2007 That was the first thing to disappear yesterday
ReBeL Tech Posted October 1, 2007 Posted October 1, 2007 This happened to me after I imported a new database. Was annoying - all I did was restore the previous database and made the corrections again.
crash3903 Posted October 1, 2007 Posted October 1, 2007 The issue is already solved. There were no entries in the languages table anymore, so nothing else was working. I've restored the languages to the table again and it's working like a charm now. maybe a short text to say so would have avoided the post glad its all working now Regards Mark A Reynolds
Nullachtfuffzehn Posted October 1, 2007 Posted October 1, 2007 Sorry, but while you posted I was working onthe issue, so I was a little late with my post. Anyways, what I did was, that I edited the OScommerce.sql from the installation package, copied the insert statements and run them in phpMyAdmin. But note that all language dependant data has been gone as there are products descriptions and category names while the language was deleted. And as long as you con't have shell access to the server there is no way to recover the deleted records.
crash3903 Posted October 1, 2007 Posted October 1, 2007 Sorry, but while you posted I was working onthe issue, so I was a little late with my post. hey its no problem :) that error message is thrown sometimes whent he site is either reinstalled or backed up - it is a caching issue which is why when you add?language-en it forces the language to be reloaded - But anyway its sorted now so no worries ;) Regards Mark A Reynolds
dogtails Posted October 2, 2007 Author Posted October 2, 2007 Thanks everybody. Lesson learned, do a back up first, before experimenting. :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.