Guest Posted November 21, 2004 Posted November 21, 2004 I have just installed the new version of 2.2 milestone 3 cvs. I get this in the admin: Warning: main(includes/languages/english/): failed to open stream: No such file or directory in /home/obriens/public_html/catalog/admin/includes/application_top.php on line 112 Warning: main(includes/languages/english/): failed to open stream: No such file or directory in /home/obriens/public_html/catalog/admin/includes/application_top.php on line 112 Warning: main(): Failed opening 'includes/languages/english/' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/obriens/public_html/catalog/admin/includes/application_top.php on line 112 Warning: Cannot modify header information - headers already sent by (output started at /home/obriens/public_html/catalog/admin/includes/application_top.php:112) in /home/obriens/public_html/catalog/admin/includes/application_top.php on line 115 please help!!! YES ever file is in place where it should be. This is the latest version and shouldn't have any problems i thought. I was using milestone 2 (site version) modified. I just overwrote all my files with the new ones.
Mark Evans Posted November 21, 2004 Posted November 21, 2004 The current CVS is work in progress so may be broken from time to time. If you want a stable relaease you will need to use MS-2. Mark Evans osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops) --------------------------------------- Software is like sex: It's better when it's free. (Linus Torvalds)
Guest Posted November 21, 2004 Posted November 21, 2004 The current CVS is work in progress so may be broken from time to time. If you want a stable relaease you will need to use MS-2. <{POST_SNAPBACK}> Any hint on how to fix it. I've tried placing a language variable defining it as english in application_top.php. I tried taking out the if, thans, and buts of defning the language then being straight up (eg include(includes/languages/english.php) but leaving the "if" function for the individual language files) but i get more errors. I'm really REALLY tired of fooling with errors on MS2. I think i had to fix like 11 errors when i first installed it and new ones keep arrising. The main reason i upgraded to ms3 cvs is because i saw that the credit card verification was fixed on that one.
Mark Evans Posted November 21, 2004 Posted November 21, 2004 The language class has been updated to get rid of the tep_get_all_languages() function... This work is not yet complete. There are also a number of other things that are currently broken in CVS so I wouldnt suggest using it for a live store. Mark Evans osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops) --------------------------------------- Software is like sex: It's better when it's free. (Linus Torvalds)
Jerah Posted November 22, 2004 Posted November 22, 2004 please help!!! YES ever file is in place where it should be. This is the latest version and shouldn't have any problems i thought. I was using milestone 2 (site version) modified. I just overwrote all my files with the new ones. Refer here, where I have reported the same problem I just started having with MS2. It just happened. One moment the admin was working fine, next moment it wasn't. It started after I reset the cache files. As I wrote in the other thread, I hardcoded "english.php" in application_top.php (as it is the only language in the admin section of my site) and got the Admin working again. I found if I restored application_top.php back to normal, the problem started again. I'm still waiting on a solution. I haven't updated to MS3.
Guest Posted November 22, 2004 Posted November 22, 2004 Refer here, where I have reported the same problem I just started having with MS2. It just happened. One moment the admin was working fine, next moment it wasn't. It started after I reset the cache files. As I wrote in the other thread, I hardcoded "english.php" in application_top.php (as it is the only language in the admin section of my site) and got the Admin working again. I found if I restored application_top.php back to normal, the problem started again. I'm still waiting on a solution. I haven't updated to MS3. <{POST_SNAPBACK}> Well the ms3 i put on never worked in admin when it came the the language. I never had a problem with it in MS2. I don't get it. :blink:
Noxi Posted November 23, 2004 Posted November 23, 2004 I too have the same problem... Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/httpd/vhosts/sycentrum.se/httpsdocs/shop/includes/application_top.php on line 290 Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /home/httpd/vhosts/sycentrum.se/httpsdocs/shop/includes/application_top.php on line 290 Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/sycentrum.se/httpsdocs/shop/includes/application_top.php on line 290 But now I have it on all my pages, not just the admin part. :( I can access the first page on both the catalog site and the admin site, but when I try to click on a link I get the error. And as many other have said before "I didnt do anything", everything worked fine and the next day nothing works. I am running osCommerce 2.2-MS2 on a FC1 Linux with Apache 2.0.50-1.0, php 4.3.8-1.1, mysql 3.23.58-4 with a Plesk system.
Nuphor Posted November 26, 2004 Posted November 26, 2004 Getting this same error too. The latest CVS snapshot is broken :( :: jason madigan :: :: http://www.nuphor.com :: :: icq - 66321362 ::
Snowman Posted December 1, 2004 Posted December 1, 2004 Ive ust downloaded the Nov 30th CVS and it appears to be still broken so i cant start having a good look at it... i get Warning: main(includes/languages/english/): failed to open stream: No such file or directory in /home/username/public_html/test/admin/includes/application_top.php on line 109 Warning: main(includes/languages/english/): failed to open stream: No such file or directory in /home/username/public_html/test/admin/includes/application_top.php on line 109 Warning: main(): Failed opening 'includes/languages/english/' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/username/public_html/test/admin/includes/application_top.php on line 109
Guest Posted December 1, 2004 Posted December 1, 2004 perhaps reading post #4 of this thread sheds some light . . .
Rob123 Posted December 1, 2004 Posted December 1, 2004 perhaps reading post #4 of this thread sheds some light . . . <{POST_SNAPBACK}> I don't know why.... but I can't stop giggling
Nuphor Posted December 2, 2004 Posted December 2, 2004 I hope language class gets sorted out soon, since what I've seen of the new admin panel, MS3 is shaping up great. Just needs good template support :) :: jason madigan :: :: http://www.nuphor.com :: :: icq - 66321362 ::
Snowman Posted December 20, 2004 Posted December 20, 2004 Can anyone confirm whether this has been addressed or not?
roske Posted January 4, 2005 Posted January 4, 2005 Hi I'm running ms2, or should I say testing it for deployment at my company, and have the same problem with serbian language... hardcoded or not. // require(DIR_WS_LANGUAGES . $language . '.php'); require('includes/languages/serbian.php'); The problem persists with admin, even though files do exist.
Arien Posted April 1, 2005 Posted April 1, 2005 This still hasn't been fixed... the March 30th Snapshot has the same error?!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.