Results 1 to 10 of 36

Hybrid View

  1. #1
    Join Date
    Jan 2012
    Posts
    4
    Plugin Contributions
    0

    Default Re: Error during Database setup

    page_parameters text NOT NULL

    doesn't work either. It errors on line 125 for 'gzpost'. I also changed that line to gzpost mediumblob NOT NULL

    And the installation went through successfully.

    BTW, your documentation on how to change the admin folder needs to be updated also. The line no longer shows the simple directory/folder name, instead it's a parse statement:

    define('DIR_WS_ADMIN', preg_replace('#^' . str_replace('-', '\-', $p1) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');

    Please advise how to achieve this part of the installation.

  2. #2
    Join Date
    Dec 2011
    Posts
    27
    Plugin Contributions
    0

    Default Re: Error during Database setup

    Hello Drbyte

    Just to confirm with dancingchimes above, changing the page_parameters text NOT NULL did not fix it.
    I then made the same change as dancingchimes namely gzpost mediumblob NOT NULL

    The installation then proceeded successfully.

    and to follow further in dancingchimes footsteps. I am not sure how to edit the configure.php file after renaming my admin folder

    Thanks
    Eastboy
    Last edited by eastboy; 6 Jan 2012 at 04:44 PM.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Error during Database setup

    Quote Originally Posted by dancingchimes View Post
    BTW, your documentation on how to change the admin folder needs to be updated also. The line no longer shows the simple directory/folder name, instead it's a parse statement:

    define('DIR_WS_ADMIN', preg_replace('#^' . str_replace('-', '\-', $p1) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/');

    Please advise how to achieve this part of the installation.
    Quote Originally Posted by eastboy View Post
    and to follow further in dancingchimes footsteps. I am not sure how to edit the configure.php file after renaming my admin folder

    Thanks
    Eastboy
    Both of you didn't read the instructions, and just skipped right over the bold text saying that you don't need to do the configure.php edits in v1.5.0
    But, to indulge, the document has been updated with a new dedicated section specific to 1.5.0 so that people will hopefully actually read the full details.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Dec 2011
    Posts
    27
    Plugin Contributions
    0

    Default Re: Error during Database setup

    apologies, in all the excitment forgot to RTFM ;)
    will continue the installing.

    Guess we can close this thread

    Thanks Again

  5. #5
    Join Date
    Dec 2008
    Location
    Hanover Township PA, USA
    Posts
    122
    Plugin Contributions
    0

    Default Re: Error during Database setup

    Hello EastBoy!

    Your changes in the sql file worked for me as well. I am using a fresh install of ZenCart 1.50 on a localhost installation using Apache 2.2/PhP 5.4.11/MySQL 5.6.10.0 and phpMyAdmin 3.5.6

    Thanks Again!!!!
    Dan Osko
    Daniel Osko

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Error during Database setup

    I would add that those changes are no longer needed in the latest version of Zen Cart.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Jan 2012
    Posts
    4
    Plugin Contributions
    0

    Default Re: Error during Database setup

    Ok. One more thing. After the installation, I can go into the store ok but not the admin part. It complained that gzpost doesn't have a default value. I went into the database, in the 'admin-activity-log' table. Found gzpost and changed its value to 'null'. Not the default null but checking the null (from phpMyAdmin). Not familiar enough with mysql to tell what the difference is. But it worked for me. I can get into the admin section now.

  8. #8
    Join Date
    Jan 2012
    Posts
    4
    Plugin Contributions
    0

    Default Re: Error during Database setup

    This site was down for a bit, now it's back. I think this is the last one I'll post on the installation problem. I went ahead and changed the name of the admin folder and used it to get into the admin section. I didn't have to change anything in the configure.php.

  9. #9
    Join Date
    Dec 2011
    Posts
    27
    Plugin Contributions
    0

    Default Re: Error during Database setup

    thanks for the extra info dancingchimes I will try the same on my side

  10. #10
    Join Date
    Dec 2011
    Posts
    27
    Plugin Contributions
    0

    Default Re: Error during Database setup

    I managed to install and can access the new store, however when I try go to the renamed admin folder I get

    an Error occured please refresh and try again.

 

 

Similar Threads

  1. v153 stalls at database setup during installation
    By timwkrause in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 13 Jul 2014, 02:53 AM
  2. Blank screen during database setup on WAMP and XP
    By dakos in forum Installing on a Windows Server
    Replies: 9
    Last Post: 11 Aug 2009, 11:31 AM
  3. Error on Database Setup during Install
    By DearMatty in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 18 Jul 2006, 07:16 AM
  4. Error during Database Setup in Install
    By DearMatty in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 18 Jul 2006, 07:07 AM

Posting Permissions

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