Results 1 to 5 of 5

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 ...

      
  1. #1
    New Member
    Join Date
    Oct 2004
    Posts
    6
    Rep Power
    0


    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

  2. #2
    Lurker
    Join Date
    Nov 2004
    Posts
    1
    Rep Power
    0


    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.

  3. #3
    Lurker
    Join Date
    Nov 2004
    Posts
    1
    Rep Power
    0


    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!

  4. #4
    pjm
    pjm is offline
    Lurker
    Join Date
    Nov 2004
    Posts
    1
    Rep Power
    0


    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:
    +-----------+
    | 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!!

  5. #5
    Member
    Join Date
    Nov 2004
    Posts
    89
    Rep Power
    0


    Default

    Installing on a Linux server is much easier.

Similar Threads

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •