Guest Posted February 12, 2003 Share Posted February 12, 2003 Hello all, n00b here to the world of osCommerce. I am having a bit of trouble with the installation. I have followed the OSCdox instructions to the T, however it seems that I am getting a blank screen when i try to run the install.php file. Here is my current setup that I run many other PHP / MYSQL enabled sites on. Windows XP PHP 4.2.3 - globals turned on Apache 2.0.40 MySQL 3.23.52-nt phpmyadmin 2.3.1-rc1 If anyone has any ideas what could be misconfigured or needs to be configured for this script please let me know. I've modified both the config files (configure.php / application_top.php) exactally to how it requests but still doesn't seem to want to work. I downloaded the most recent cvs file as I saw someone say that it was more stable then the old 2.1 stable release, that and because 2.1 didn't contain a install.php. Please help! :) Link to comment Share on other sites More sharing options...
zzgrid Posted February 12, 2003 Share Posted February 12, 2003 ...has you create an empty database in mysql?. I am stoped in this point. Perhaps is your same problem. The guide dont speak about how to do it. Link to comment Share on other sites More sharing options...
Guest Posted February 12, 2003 Share Posted February 12, 2003 ive got the database setup with the mysql.dump file that is included in the catalog install files. Im ready to go on that aspect, however im thinking there is a setup variable (may it be in the php.ini or mysql or apache) for this script that I have different on my current setup. All my other PHP / MYSQL sites seem to work just fine. Link to comment Share on other sites More sharing options...
Guest Posted February 12, 2003 Share Posted February 12, 2003 Ok one more thing i found out... The documentation included in the windows download package doesn't want to run either. I find that rather strange since it is just pure php code, no mysql connection blah blah blah. So im guessing this has to do with the setup of my PHP file? Anyone else think that might be the issue? Are there special configurations I need to make to the php.ini file that isn't discussed in the OSCdox documentation? Help! :( Link to comment Share on other sites More sharing options...
Pete Posted February 12, 2003 Share Posted February 12, 2003 Just wondering if you have been able to find the infamous "install" dir that is discussed in the detailed installation instructions? Thanks, Pete Link to comment Share on other sites More sharing options...
Guest Posted February 12, 2003 Share Posted February 12, 2003 If you downloaded 2.1 you will not find an install, it seems they've given up on the stable release, atleast allowing anyone to install it. Yes I've found the install (download 2.2) Make sure when your downloading you goto: http://www.oscommerce.com/downloads/snapshot instead of just: http://www.oscommerce.com/downloads/ Now if i can only figure out why none of this script is even working on my machine i would be golden. Not even the fricken documentation works, every file ive downloaded just gives me a blank white screen like nothing was processed!!!! :( :( :( :( :( :( Link to comment Share on other sites More sharing options...
Guest Posted February 12, 2003 Share Posted February 12, 2003 Ok, after 2hrs trying to figure out what was going on I finnaly figured to check my php.ini to make sure all the error reporting settings where on. Well all where but one setting. After turning on this setting I recieved this error when trying to access the site. FINNALLY NO BLANK PAGE! Fatal error: Failed opening required 'includes/configure.php' (include_path='c:Program FilesApache GroupApache2htdocsWebpages') in C:Program FilesApache GroupApache2htdocsWebpagescatalogincludesapplication_top.php on line 32 Warning: open(/tmpsess_142a03942f4e24239c84d1494e0aab3c, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0 If anyone is more familar then me with this particular error I would appreciate any help. Link to comment Share on other sites More sharing options...
Guest Posted February 12, 2003 Share Posted February 12, 2003 Ok fixed the session problem in php.ini. This is the first page with sessions enabled i've used. That was easy. Then I fixed the first error with a path change in the application_top.php file on line 32. Here is my change: // include server parameters // require('includes/configure.php'); require('configure.php'); I just commented out the original and created a new line. Now however I get another Error. Fatal error: Failed opening required 'includes/functions/sessions.php' (include_path='c:Program FilesApache GroupApache2htdocsWebpages') in C:Program FilesApache GroupApache2htdocsWebpagescatalogincludesapplication_top.php on line 144 This one is a bit different and im not exactally sure how to fix this one. As always help would be appreciated! Link to comment Share on other sites More sharing options...
Guest Posted February 12, 2003 Share Posted February 12, 2003 Follow the installation instruction here http://guide.oscdox.com/ HTH Link to comment Share on other sites More sharing options...
Guest Posted February 12, 2003 Share Posted February 12, 2003 Follow the installation instruction here http://guide.oscdox.com/ HTH Read the damn post... no offense but you guys are pretty damn rude on this board. Ive read the damn guide and guess what it dont answer any trouble shooting problems =P Link to comment Share on other sites More sharing options...
Guest Posted February 12, 2003 Share Posted February 12, 2003 my problem has to deal with any of the code that uses the require statement. I'm not sure if this has to do with Windows php bugs or what but its becoming very frustrating. No matter what i put in the config files it still gives me Fatal error: Failed opening required errors........ :evil: :evil: :evil: :evil: :evil: :evil: Link to comment Share on other sites More sharing options...
Guest Posted February 12, 2003 Share Posted February 12, 2003 How weird..... I go back to PHP 4.2.3 because people said they had trouble running on 4.3. So i struggle with this program trying to get it to work. Well i finnaly said screw it and went back to 4.3 and BEHOLD. The script ran the first time i fired it up. I guess either 1) I had errors in my php.ini 2) This new snapshot revision != what i read people talking about 4.3 doesn't work with. Ok now for the fun playing with the features and seeing what i can do with this script... Link to comment Share on other sites More sharing options...
Guest Posted February 12, 2003 Share Posted February 12, 2003 Read the damn post... no offense but you guys are pretty damn rude on this board. Ive read the damn guide and guess what it dont answer any trouble shooting problems =P The guide does tell you how to set the correct paths so you don't get these errors..... you do not need to edit the path you specified.... perhaps your document root is incorrect?... read the installation manual Link to comment Share on other sites More sharing options...
Guest Posted February 12, 2003 Share Posted February 12, 2003 dammit... i read the freakin instruction manual... that wasn't the problem. The problem was with my php setup on my computer. IF you had read my posts maybe you would have understood that. YES MY CONFIGURE.PHP (both catalog and admin) where correct from the beginning. However this still wasn't solving my problem. Not till I reinstalled PHP did the script ever seem to want to work. I had a fricken error somewhere in the php installation... sheesh dont always assume that people didn't read the instruction manual =P Link to comment Share on other sites More sharing options...
Jan0815 Posted February 12, 2003 Share Posted February 12, 2003 The problem was with my php setup on my computer. IF you had read my posts maybe you would have understood that. Always read the error messages carefully: Fatal error: Failed opening required 'includes/functions/sessions.php' (include_path='c:Program FilesApache GroupApache2htdocsWebpages') in Your include_path is wrong. It looks like this: include_path='c:Program FilesApache GroupApache2htdocsWebpages' But it should look like this: include_path='.;c:Program FilesApache GroupApache2htdocsWebpages' I know, the difference is hard to spot. I added the .; to the include path. This means that php will look in the current path ('.') and in the other path too. In all PHP-Installations I have seen (boy that are many) this was done correctly. However your PHP-installation was slightly wrong. Compare the php.ini of your 4.3.0 with the old one and you will see that 4.3.0 has the dot included. That was all. HTH You can't have everything. That's why trains have difficulty crossing oceans, and hippos did not adapt to fly. -- from the OpenBSD mailinglist. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.