Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installation Instructions, DIFFERENT Servers, IP ADDR Only!!


Guest

Recommended Posts

I just spent about 3 hours finally getting the install script to run on MY webhost, PHARAMOND.COM. I read very carefully all the "obstructions" in the user guide and I found that I had to use some quite different directory path structures to get the script to run for me:

 

ON THE FIRST PAGE of the install.php script:

Webserver Root Directory

[i had to leave this box BLANK and localhost DOES NOT work here]

 

OSCDOX INSTRUCTIONS SAY:

"The directory where your web pages are being served from, usually /home/myname/public_html."

WRONG for me NOTHING would work except a BLANK. What would happen is a DOUBLED URL, (see below on STEP 4)

 

The next 4 directories I made EXACTLY as recommended, on the last two I just put /catalog/ and /catalog/admin/ respectively.

 

Database Server

[i had to put LOCALHOST here (lowercase)]

 

OSCDOX INSTRUCTIONS SAY:

"The database server can be in the form of a hostname, such as db1.myserver.com, or as an IP address, such as 192.168.0.1."

This third "possibility" needs to be included in the instruction manual, it was the ONLY WAY I could get it to work, I kept getting this error:

Access denied for user: 'solvers1@isaiah54.com' (Using password: YES)

Forgive me for being IGNORANT, but I had no idea based on the instructions that "localhost" would work just as well as the IP address or the domain name:

NOTE: I had JUST MOVED SERVERS, so my situation is a little unique in that I had no DOMAIN at the present moment I was trying to run the script. I proved that the IP address wouldn't work on my webhost, I am sure this will help somebody in similar circumstances.

 

Page Two: Successful connection to Database.

Page Three: Successful import of Database.

 

ON THE FOURTH PAGE:

 

Webserver Root Directory

[left BLANK AGAIN as in STEP 1]

When I didn't leave this box in STEP 1 and STEP 4 blank

I got DOUBLE URL path ERRORS:

 

**********************

Warning: fopen("/home/solvers1/isaiah54-www/home/solvers1/isaiah54-www/catalog/includes/configure.php", "w") - No such file or directory in /home/solvers1/isaiah54-www/catalog/install/templates/pages/install_5.php on line 114

 

Warning: fputs(): supplied argument is not a valid File-Handle resource in /home/solvers1/isaiah54-www/catalog/install/templates/pages/install_5.php on line 115

 

Warning: fclose(): supplied argument is not a valid File-Handle resource in /home/solvers1/isaiah54-www/catalog/install/templates/pages/install_5.php on line 116

 

Warning: fopen("/home/solvers1/isaiah54-www/home/solvers1/isaiah54-www/catalog/admin/includes/configure.php", "w") - No such file or directory in /home/solvers1/isaiah54-www/catalog/install/templates/pages/install_5.php on line 164

 

Warning: fputs(): supplied argument is not a valid File-Handle resource in /home/solvers1/isaiah54-www/catalog/install/templates/pages/install_5.php on line 165

 

Warning: fclose(): supplied argument is not a valid File-Handle resource in /home/solvers1/isaiah54-www/catalog/install/templates/pages/install_5.php on line 166

 

The configuration was successful!

 

(only the store button would work, not the ADMIN)

*************************

 

The next THREE directories I made EXACTLY as suggested HOWEVER on the 4th:

WWW Administration Tool Directory

[/catalog/admin/]

 

Obstructions say, "The directory where the osCommerce Administration Tool resides, usually /admin/."

 

If you follow the "obstructions" you will NOT BE ABLE to view the ADMIN script after the installation completes.

 

I finally got INSTALL after probably a dozen "trial & error" approaches and about 1 1/2 hours on the phone with my ISP trying to determine the problem. We were able to access MySQL perfectly from the first moment I started, created a new database, etc., passwords matched and I was able to access the database with MyPHPadmin as well, so we knew there wasn't a problem with the host.

 

NOW I will try to develop my store and see what comes up! I hope this helps somebody...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...