David S123 Posted July 26, 2004 Posted July 26, 2004 Help please ? I?ve downloaded oscommerce-2.2ms2 and installed it in /Library/Webserver/Documents. In fact, installed it twice, once following the osCommerce New Installation procedures, and once using guidance from http://www.macservers.org/feature-4.html (the latter meaning no need to change the php.ini file for register_globals). Both installations reported ?The configuration was successful!? and gave me the Catalog and Administration buttons. Clicking on Catalog produces: Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /Library/WebServer/Documents/catalog/includes/application_top.php on line 285 Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.:/usr/local/php/lib/php') in /Library/WebServer/Documents/catalog/includes/application_top.php on line 285 Whereas clicking on Administration generates: Warning: main(includes/languages/.php): failed to open stream: No such file or directory in /Library/WebServer/Documents/catalog/admin/includes/application_top.php on line 130 Fatal error: main(): Failed opening required 'includes/languages/.php' (include_path='.:/usr/local/php/lib/php') in /Library/WebServer/Documents/catalog/admin/includes/application_top.php on line 130 I?ve had a quick look at the code (am a PHP newbie though) and the problem seems to be the language identifier is not being picked up so it can load the english.php file. May be a permissions issue of course. Following something I read on the forum, I changed permissions on the two configure.php files to 706 but no difference. This occurs with both Safari (see below) and IE5.2.3. Configuration is Mac G4 on 10.3.4 with all latest Apple updates installed ? and I?m running as Admin. Had a look at the forums but failed to find anything that seemed to relate to this problem. All suggestions gratefully received? Many thanks in anticipation! The following is from the Apache environment part of phpinfo which might help somebody: DOCUMENT_ROOT /Library/WebServer/Documents HTTP_ACCEPT */* HTTP_ACCEPT_ENCODING gzip, deflate;q=1.0, identity;q=0.5, *;q=0 HTTP_ACCEPT_LANGUAGE en-us, ja;q=0.48, da-dk;q=0.93, da;q=0.89, nl-nl;q=0.85, nl;q=0.81, fi-fi;q=0.78, fi;q=0.74, fr;q=0.70, de-de;q=0.67, de;q=0.63, it-it;q=0.59, it;q=0.56, ja-jp;q=0.52, en;q=0.96, ko-kr;q=0.44, ko;q=0.41, no-no;q=0.37, no;q=0.33 HTTP_CONNECTION keep-alive HTTP_HOST localhost HTTP_IF_MODIFIED_SINCE Mon, 26 Jul 2004 09:47:49 GMT HTTP_USER_AGENT Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/125.2 (KHTML, like Gecko) Safari/125.8 PATH /usr/bin:/bin:/usr/sbin:/sbin:/Users/david
241 Posted July 26, 2004 Posted July 26, 2004 I think I covered something like this for a Mac before. Your globals are set to 1 No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
David S123 Posted July 26, 2004 Author Posted July 26, 2004 (Sorry, I don't quite understand the last posting ? application_top.php does a check that globals are set, and is not producing an error message.) But it appears that the configuration table is not set up in my eShop database, so that GZIP_COMPRESSION, DEFAULT_LANGUAGE, etc are not set up: mysql> describe configuration; +---------------------------+--------------+------+-----+---------------------+----------------+ | Field | Type | Null | Key | Default | Extra | +---------------------------+--------------+------+-----+---------------------+----------------+ | configuration_id | int(11) | | PRI | NULL | auto_increment | | configuration_title | varchar(64) | | | | | <SNIP> | use_function | varchar(255) | YES | | NULL | | | set_function | varchar(255) | YES | | NULL | | +---------------------------+--------------+------+-----+---------------------+----------------+ 11 rows in set (0.01 sec) mysql> select * from configuration; Empty set (0.00 sec) Just do the installation again from scratch maybe?
241 Posted July 26, 2004 Posted July 26, 2004 yes I remember now that was part of the issue for the other person, for them the languages table was not complete. drop the database and run the sql again this can be done using phpmyadmin No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.