Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Aug 2010
    Posts
    11
    Plugin Contributions
    0

    Default SQL Install file does not exist

    Hi
    I'm running the database upgrade off zc_install. I get this error when trying to run it:

    SQL Install file does not exist
    The installer could not find the required .SQL install file. This should exist within the 'zc_install/sql' directory and be called something like 'mysql_zencart.sql'.

    When I look in the zc_install/sql folder, the file is there! Just wondering why it's doing that. I tried changing the permissions to 777 but that didn't work either.

    What I'm trying to do is get the "Your database appears to need patching to a higher level. See Admin->Tools->Server Information to review patch levels." error off my homepage.

  2. #2
    Join Date
    Aug 2010
    Posts
    11
    Plugin Contributions
    0

    Default Re: SQL Install file does not exist

    Anyone? I'm surprised no one else is experiencing this!?

  3. #3
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: SQL Install file does not exist

    I'm surprised no one else is experiencing this
    Actually, it is a common occurence - but only on Windows servers. If Windows servers were people they wouldn't be able to find their own way home in the dark.

    There are two possible solutions:

    1. Hardcode the full pathway to the sql file in all affected files.
    2. Move to a Linux server.

    Vger

  4. #4
    Join Date
    Aug 2010
    Posts
    11
    Plugin Contributions
    0

    Default Re: SQL Install file does not exist

    Vger
    What do I actually hardcode? Where is the SQL file referenced so that I can find and change the path?

  5. #5
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: SQL Install file does not exist

    zc_install\techsupp.php(256): $path = (substr_count(__FILE__,'zc_install') || file_exists('mysql_zencart.sql')) ? '../' : '';
    zc_install\techsupp.php(273): <?php if (substr_count(__FILE__,'zc_install') <1 && !file_exists('mysql_zencart.sql') ) {
    zc_install\includes\languages\english.php(361): define('POPUP_ERROR_TEXT', 'The installer could not find the required .SQL install file. This should exist within the \'zc_install/sql\' directory and be called something like \'mysql_zencart.sql\'.');

    Vger

  6. #6
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: SQL Install file does not exist

    Quote Originally Posted by losse View Post
    When I look in the zc_install/sql folder, the file is there!
    The help text isn't telling you exactly which file is missing. It's simply giving an example, and that example is for a fresh new install, not an upgrade.

    Which database-upgrade "checkboxes" did you have checked?
    What *.sql filenames exist in your /zc_install/sql/ folder?
    .

    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
    Aug 2010
    Posts
    11
    Plugin Contributions
    0

    Default Re: SQL Install file does not exist

    Hi there
    I actually clicked on all the checkboxes in the DB update section. Here they are:

    Upgrade DB from 1.0.4 to 1.1.1
    Upgrade DB from 1.1.0 to 1.1.1
    Upgrade DB from 1.1.1 to 1.1.2
    Upgrade DB from 1.1.2 or 1.1.3 to 1.1.4
    Upgrade DB from 1.1.4 to 1.1.4-patch1
    Upgrade DB from 1.1.4-x to 1.2.0
    Upgrade DB from 1.2.0 to 1.2.1
    Upgrade DB from 1.2.1 to 1.2.2
    Upgrade DB from 1.2.2 to 1.2.3
    Upgrade DB from 1.2.3 to 1.2.4
    Upgrade DB from 1.2.4 to 1.2.5
    Upgrade DB from 1.2.5 to 1.2.6
    Upgrade DB from 1.2.6 to 1.2.7
    Upgrade DB from 1.2.7 to 1.3.0
    Upgrade DB from 1.3.0 to 1.3.0.1
    Upgrade DB from 1.3.0.1 to 1.3.0.2
    Upgrade DB from 1.3.0.2 to 1.3.5
    Upgrade DB from 1.3.5 to 1.3.6
    Upgrade DB from 1.3.6 to 1.3.7
    Upgrade DB from 1.3.7 to 1.3.8
    Upgrade DB from 1.3.8 to 1.3.9


    As for which SQL files exist in the folder, it's the following. I've truncated the file names just to expedite the post.

    mysql_upgrade_zencart_104_to_111.sql
    110 to 111
    110-112
    112-113
    112-114
    114 patch 1
    114-120
    120 - 121
    121 - 122
    122 - 123
    123 - 124
    124 - 125
    125 - 126
    126-127
    127-130
    1301-1302
    1302-135
    130-1301
    135-136
    136-137
    137-138
    138-139
    mysql_zencart.sql

  8. #8
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: SQL Install file does not exist

    Quote Originally Posted by losse View Post
    I actually clicked on all the checkboxes in the DB update section.
    Um, why?
    .

    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.

  9. #9
    Join Date
    Aug 2010
    Posts
    11
    Plugin Contributions
    0

    Default Re: SQL Install file does not exist

    I wanted to make sure that I had all the updates installed... That wasn't a good thing?

  10. #10
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: SQL Install file does not exist

    The software evaluates your database to see what's needed, and automatically checks the boxes for the steps that it knows need to be done.
    If in doubt, clicking the "Recheck" button will re-scan and see what's needed.

    In almost all cases you should never normally need to check a box that isn't automatically checked. They're made available for ease of troubleshooting if it were necessary, but those unchecked boxes are really not intended to be used unless you have very acute knowledge of the what and why behind each.
    .

    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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. install zen 1.3 database does not exist???
    By melanie bund in forum Installing on a Linux/Unix Server
    Replies: 21
    Last Post: 24 Mar 2011, 11:26 PM
  2. mysql SQL Install file does not exist
    By Unicorn in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 16 Aug 2010, 09:37 PM
  3. File does not exist: 401.shtml
    By gaffettape in forum General Questions
    Replies: 2
    Last Post: 14 Aug 2010, 12:01 PM
  4. SQL Install file does not exist
    By jdl in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 1 Jun 2006, 05:50 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