travisb Posted December 1, 2005 Share Posted December 1, 2005 I am getting these errors while trying to access catalog/index.php: Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /usr/local/www/vhosts/mysite.com/htdocs/client/catalog/includes/application_top.php on line 286 Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.:/usr/local/share/pear') in /usr/local/www/vhosts/mysite.com/htdocs/client/catalog/includes/application_top.php on line 286 I get these errors on admin/index.php: Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /usr/local/www/vhosts/mysite.com/htdocs/client/catalog/admin/includes/application_top.php on line 131 Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.:/usr/local/share/pear') in /usr/local/www/vhosts/mysite.com/htdocs/client/catalog/admin/includes/application_top.php on line 131 It seems that in application_top it cannot find the language directory. I checked the configuration table and my default language is set to "en" and the directory name is "english". The directory itself is there. Any ideas on what might be causing this? Link to comment Share on other sites More sharing options...
sticky Posted December 1, 2005 Share Posted December 1, 2005 It looks like it's found the directory ok, but for whatever reason it's looking for a file with no name eg. ".php"... I presume you've hardcoded something in application_top.php? Link to comment Share on other sites More sharing options...
Guest Posted December 1, 2005 Share Posted December 1, 2005 It is trying to open a language that is not there, e.g. has been deleted. The problem can occur if you have deleted the default language but have not set a new default language. Try set whatever language you are usign to the default language. Link to comment Share on other sites More sharing options...
travisb Posted December 3, 2005 Author Share Posted December 3, 2005 It is trying to open a language that is not there, e.g. has been deleted. The problem can occur if you have deleted the default language but have not set a new default language. Try set whatever language you are usign to the default language. After re-downloading oscommerce-2.2ms2-051113 and trying the install a couple more times I found an older oscommerce-2.2ms2 and installed it. That version, that I got in September I think, works just fine. Maybe there is something not quite right with the newest version. Link to comment Share on other sites More sharing options...
AlanR Posted December 3, 2005 Share Posted December 3, 2005 After re-downloading oscommerce-2.2ms2-051113 and trying the install a couple more times I found an older oscommerce-2.2ms2 and installed it. That version, that I got in September I think, works just fine. Maybe there is something not quite right with the newest version. I've installed two instances of 051113 with zero problems. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.