DonJuevo Posted September 19, 2005 Posted September 19, 2005 hi all So I got through page 13 of the installation and confuration posts here. I've seen similar posts and have tried every applicable fix with no results. admin/index.php is still blank. Catalog/index.php looks great. ...A little background. I'm in the process of learning php and oscommerce to be of help to my web-designing buddy. I've set up a web server on my lan. The server has this installed: Windows XP sp2, Apache 2.0.54, PHP 5.05, MySQL 4.1.12a, PHPMyAdmin 2.6.4, osCommerce 2.2 line 31 from upload.php has been changed to: unset($this); the relevant lines from /admin/includes/configure.php: define('HTTP_SERVER', 'http://apacheweb'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://apacheweb'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', 'c:/program files/apache group/apache2/htdocs/'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '/catalog/admin/'); define('DIR_FS_ADMIN', 'c:/program files/apache group/apache2/htdocs/catalog/admin/'); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', 'c:/program files/apache group/apache2/htdocs/catalog/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); // define our database connection define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'My_Username'); define('DB_SERVER_PASSWORD', 'My_Password'); define('DB_DATABASE', 'osCommerce'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', '/tmp/'); This is where I'm stuck. Any help or suggestions would be greatly appreciated. Thanks Don
kgt Posted September 19, 2005 Posted September 19, 2005 admin/index.php is still blank. Catalog/index.php looks great. If the page is completely blank, that indicates to me you have error reporting turned off. Look in php.ini for the error reporting setup. You want to display all. Contributions Discount Coupon Codes Donations
♥Vger Posted September 19, 2005 Posted September 19, 2005 define('HTTP_SERVER', 'http://localhost'); define('HTTP_CATALOG_SERVER', 'http://localhost'); define('STORE_SESSIONS', 'mysql'); Vger
DonJuevo Posted September 19, 2005 Author Posted September 19, 2005 thank you both for the quick reply. Displaying the errors was revealing. Having seen them and having corrected some things, I can now see the blue admin panel. Can't seem to clear these two errors: Warning: main(includes/languages/english/) [function.main]: failed to open stream: No such file or directory in C:\Program Files\Apache Group\Apache2\htdocs\catalog\admin\includes\application_top.php on line 133 Warning: main() [function.include]: Failed opening 'includes/languages/english/' for inclusion (include_path='.;C:\php5\pear') in C:\Program Files\Apache Group\Apache2\htdocs\catalog\admin\includes\application_top.php on line 133 And this occurs when I click on Reports on the admin panel: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-20, 20' at line 1 select p.products_id, p.products_ordered, pd.products_name from products p, products_description pd where pd.products_id = p.products_id and pd.language_id = '1' and p.products_ordered > 0 group by pd.products_id order by p.products_ordered DESC, pd.products_name limit -20, 20 [TEP STOP] any clues????
♥Vger Posted September 19, 2005 Posted September 19, 2005 For the second error read the '1064' link below my name. For the first error make sure that the folders are not set to 'Read Only' Vger
DonJuevo Posted September 20, 2005 Author Posted September 20, 2005 Thanks again for the rapid reply. Vger, thank you specifically for the 1064 fix. Unfortunately, the other two errors aren't going away. I checked attributes with Windows command line after changing permissions and allowing full read/write access. After all of that, the read only box is still checked in properties and cannot be unchecked. One thing I'd like to note and maybe you could point me to where this is at... Warning: main() [function.include]: Failed opening 'includes/languages/english/' for inclusion (include_path='.;C:\php5\pear') in C:\Program Files\Apache Group\Apache2\htdocs\catalog\admin\includes\application_top.php on line 133. Where is this path being picked up from? My pear subdirectory is here: C:\php\pear. Once more, your wisdom is greatly appreciated. Don
DonJuevo Posted September 20, 2005 Author Posted September 20, 2005 just used search for text in files scanning the entire hard drive for c:/php5/pear. Apparently it's being concatenated somewhere. It doesn't exist in it's entirety anywhere. Side note... Since it looks like I'll be visiting here often, I went ahead and got an avatar. Hope everyone likes it! Don
DonJuevo Posted September 20, 2005 Author Posted September 20, 2005 hey everybody... After more searching I found the answer. one of the first stumbling blocks on the road to get all this working was to turn register_globals on. Turns out the last stumbling block was to turn register_long_arrays on (both in php.ini). Thanks again for all the help! See you all soon Don :D
Recommended Posts
Archived
This topic is now archived and is closed to further replies.