osCmax v2.5 User Manual
Results 1 to 8 of 8

DB error after install

This is a discussion on DB error after install within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; Hi all, I am new to osCMax. I am trying this shop for the first time. I have used oscommerce ...

      
  1. #1
    New Member
    Join Date
    Nov 2008
    Posts
    12
    Rep Power
    0


    Default DB error after install

    Hi all, I am new to osCMax. I am trying this shop for the first time. I have used oscommerce 2.2. But from reading the available mods with osCMAX decided to try it. Now I am not a coder, but will follow instructions to a T. Here is the issue after doing a fresh install:

    I get this error

    Warning: mysql_connect(): Can't connect to local MySQL server through socket '/usr/local/mysql-5.0/data/mysql.sock' (2) in /home/content/t/e/c/tecosamcom/html/tecostore/catalog/includes/functions/database.php on line 19
    Unable to connect to database server!

    I went to check the config file in admin/include/config file and found that there is no data for my sql db there.

    I can manual place the info, but wondering if this is normal or did I do something wrong in the install?

    I thank you in advance for any assistance you can provide.

  2. #2
    New Member kblocksom's Avatar
    Join Date
    Nov 2008
    Posts
    15
    Rep Power
    0


    Default Re: DB error after install

    How did you do the install? Did you put osCmax over osCommerce or did you do it from scratch? Did you use the install page?

  3. #3
    New Member
    Join Date
    Nov 2008
    Posts
    12
    Rep Power
    0


    Default Re: DB error after install

    I did a fresh install of oscmax. Yes used install page.

  4. #4
    New Member kblocksom's Avatar
    Join Date
    Nov 2008
    Posts
    15
    Rep Power
    0


    Default Re: DB error after install

    Is it possible that you put in the wrg database server? I did that and received an error from mysql. I contacted my hosting company and found out it is supposed to be localhost.

    Kevin

  5. #5
    New Member
    Join Date
    Nov 2008
    Posts
    12
    Rep Power
    0


    Default Re: DB error after install

    I have fixed the issue the old fashion way, I deleted everything and re-installed and by golly it works. Thanks for you help and concern.

  6. #6
    New Member
    Join Date
    Nov 2008
    Posts
    12
    Rep Power
    0


    Default Re: DB error after install

    Oh, sorry forgot to add, I need to add to my php.ini the following:

    register_long_arrays = on

    Then did the new install and all fine so far. Well starting to look at all the options now. I do greatly apreciate the help and effort given.

  7. #7
    New Member
    Join Date
    Nov 2008
    Posts
    12
    Rep Power
    0


    Default Re: DB error after install

    Its me again, with a new problem. I am getting this error on my page:

    Warning: I am able to write to the configuration file: /home/content/t/e/c/tecosamcom/html/tecostore/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.
    but I have change the permissions and have checked 4 times to make sure that permissions are set to 644, I have even tried 444. But cant get this error to go away. I have been searching the site and have as of yet not found any solutions. Any one with any info greatly aprreciated. Thanks again.

  8. #8
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    Default Re: DB error after install

    Go into application_top.php and at the bottom of the file, find and change:

    define('WARN_CONFIG_WRITEABLE', 'true');

    to

    define('WARN_CONFIG_WRITEABLE', 'false');
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

Similar Threads

  1. Error 304 on new install
    By letmelearn in forum osCommerce 2.2 Installation Help
    Replies: 15
    Last Post: 12-21-2008, 10:15 AM
  2. Strange error during install
    By ScaleCreep in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 01-04-2008, 07:04 PM
  3. Fatal error after install
    By krystaleyes in forum osCmax v2 Installation issues
    Replies: 12
    Last Post: 01-11-2007, 12:30 PM
  4. Install Error with RC3
    By learoypc in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 09-24-2006, 01:57 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
  •