osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Installation problem

This is a discussion on Installation problem within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; I'm having trouble installing, I goto http://localhost/catalog/install and follows the instructions. The checkboxes at the first page are marked, I ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 10-26-2004, 05:16 AM
New Member
 
Join Date: Oct 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
freddae
Default Installation problem

I'm having trouble installing, I goto http://localhost/catalog/install and follows the instructions. The checkboxes at the first page are marked, I click continue, then I fill in the information Database server: localhost, Username: root, Password: root, Database Name: shop, then I click continue. The next page appear but it's empty. No errormessage or confirmation of success. Please help.

/freddae
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 11-04-2004, 09:38 PM
Lurker
 
Join Date: Nov 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
behappy
Default

I am experiencing the same difficulties. i am running oscommerce 2.2 and mysql 4.1.7 on a windows 2000 server. Been flipping stuff around for a couple hours to no avail on page /catalog/install/install.php?step=2 when i see the "next page" /catalog/install/install.php?step=2 it's exactly the same header "new installation" over "Database import" with the remaining south of the page blank. any help would be greatly appreciated. no error messages... nada.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 11-12-2004, 10:30 AM
Lurker
 
Join Date: Nov 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
liux99
Default


Got the same problem. I am using Apache2, php5 on windows XP and 2000. When goes to step 2, then there is half blank page, no error message. I am new to this oscommerce and php, but I was able to pin down to install_2.php, the function osc_db_connect somehow does not function, but no error message. I have been spending last few days researching and learning php, but could not get help. Any one with experience in this stuff please shed some light on this. Thanks in advance!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 11-15-2004, 05:07 AM
pjm pjm is offline
Lurker
 
Join Date: Nov 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
pjm
Default

Hi,

I had this issue earlier, but I've fixed it now. I did quite a few different things whilst playing with the problem (for example, I switched on error display & logging in Apache2 and restarted), but I'm pretty certain that the root cause was that mySQL wasn't setup properly.

When I installed MySQL, I fired up the server without creating grant tables or a user or anything. I managed to create the osCommerce database using the manual SQL process described in the "INSTALL" file which comes in the osCommerce tarball.
However, when I tried to run osCommerce install script from my browser, and filled in my best guesses at the DB values, I got the problem with the "New Installation / Database Import" half-blank screen.

As root, from the mysql directory, run bin/mysqlshow.
You'll get a bunch of diagnostic data about your install.
If you don't see this:
Quote:
+-----------+
| Databases |
+-----------+
| mysql |
| test |
+-----------+
then you've got issues - because the table mysql is where all the permissions for the dataserver live.
Luckily you can create this table by running bin/mysql_install_db --user=mysql
The user argument should be the user you intend to run the dataserver as (for security reasons this is never root).

You need to have a user correctly setup and with the right permissions on the dataserver. I used webmin to create a user called oscuser and gave it a password. I gave it all privileges, but in practice will restrict these once I am happy it all works!

If you don't have webmin or some other db tool, you can find mysql command line instructions for adding accounts here:
http://dev.mysql.com/doc/mysql/en/Adding_users.html

In short I think you want to login using mysql --user=root mysql and then run:
GRANT ALL PRIVILEGES ON *.* TO 'yourusername'@'localhost' IDENTIFIED BY 'yourpassword' WITH GRANT OPTION;

Now use the same username and password in step 2 of the catalog/install process, and hopefully it might actually work!

It should be pointed out that this user you've created will be a superuser and so this might all be horrible insecure. Once this is all setup, you should restrict permissions using REVOKE.
http://dev.mysql.com/doc/mysql/en/GRANT.html

Let me know whether any of this helps!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 11-21-2004, 04:02 PM
Member
 
Join Date: Nov 2004
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
vinces
Default

Installing on a Linux server is much easier.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
After installation problem? Frankie69 osCMax v2 Installation issues 3 07-30-2005 05:01 AM
Installation problem? freddae osCommerce 2.2 Installation Help 7 12-11-2004 04:15 PM
Max v1.7 installation problem goaskmom osCMax v1.7 Installation 2 11-28-2004 01:43 PM
installation problem Anonymous osCMax v1.7 Installation 9 01-25-2004 07:09 PM
Problem with installation 2.1 Anonymous osCommerce 2.2 Installation Help 10 12-31-2002 06:41 PM


All times are GMT -8. The time now is 06:10 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax