dvds Posted March 25, 2006 Posted March 25, 2006 please help with my problem I have this problem with this script along time ago so please help me to solve this problem Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/domin/public_html/includes/application_top.php on line 285 Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/domin/public_html/includes/application_top.php on line 285 Fatal error: main(): Failed opening required 'includes/languages/.php' (include_
ozcsys Posted March 25, 2006 Posted March 25, 2006 You will notice that the particular language is missing, this is set in the database and the problem is caused by the database not being properly populated. If this is a new setup I would access phpmyadmin from your hosting control panel and run the oscommerce.sql file from there and that should solve your problem The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
dvds Posted March 25, 2006 Author Posted March 25, 2006 I understand from your from you that I must do the install again from SQL(phpmyadmin) thats mean I must remove the old install Am i right? if I'm right that will be a problem because I add a lot of thing in the web isn't there any other solotion thanks for helping
Guest Posted March 25, 2006 Posted March 25, 2006 your file .php needs a name I think it seems to point to .php Warning: main(includes/languages/.php): check in your filenames.php good luck please help with my problem I have this problem with this script along time ago so please help me to solve this problem Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/domin/public_html/includes/application_top.php on line 285 failed to open stream: No such file or directory in /home/domin/public_html/includes/application_top.php on line 285 Fatal error: main(): Failed opening required 'includes/languages/.php' (include_
ozcsys Posted March 25, 2006 Posted March 25, 2006 I understand from your from you that I must do the install again from SQL(phpmyadmin) thats mean I must remove the old install Am i right? if I'm right that will be a problem because I add a lot of thing in the web isn't there any other solotion thanks for helping If you have just made changes to your files then you will not lose anything. If you have added products etc or made changes to your database then yes you will. In that case try doing a restore from your last database backup and that should work as well though you may need to run the sql file from phpmyadmin rather than from the restore in the admin as it seems the few times I have run across this problem restoring from the admin did not work. The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
dvds Posted March 25, 2006 Author Posted March 25, 2006 ok thanks i understand it i have a last quastion when i was in phpmyadmin i delete language file from the sql how can i get it back i try but i couldn't do it
ozcsys Posted March 25, 2006 Posted March 25, 2006 your file .php needs a name I think it seems to point to .php Warning: main(includes/languages/.php): check in your filenames.php good luck The filenames.php file does not have anything to do with this problem. The chosen language is picked up by osC from the database so it knows whether to choose includes/languages/english.php or espanol.php or whatever language you are using for the site. The reason it is blank as in includes/languages/.php is the language is not being picked up becuase for some reason the information is missing from that database. The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
ozcsys Posted March 25, 2006 Posted March 25, 2006 ok thanks i understand it i have a last quastion when i was in phpmyadmin i delete language file from the sql how can i get it back i try but i couldn't do it Was this before or after the problem occured?? Did you backup your database before you made your changes? If so just run the backup sql file. If you do not have a backup then you have a problem. If you have not added any products then you can run the default osC sql file. The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
Recommended Posts
Archived
This topic is now archived and is closed to further replies.