Page 4 of 4 FirstFirst ... 234
Results 31 to 36 of 36
  1. #31
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Cannot Connect Database When Upgrading from v1.5.0 to v1.5.5

    Quote Originally Posted by Allaction View Post
    this is from trying to access my test site:

    [21-Apr-2017 17:27:53 America/Chicago] PHP Warning: mysqli_connect(): (28000/1045): Access denied for user 'fresh1_fec'@'localhost' (using password: YES) in /home4/fresh1/public_html/zen_new/includes/classes/db/mysql/query_factory.php on line 62

    this is from trying to access the test admin:

    [21-Apr-2017 17:30:41 America/Chicago] PHP Parse error: syntax error, unexpected '[' in /home4/fresh1/public_html/zen_new/admin/includes/classes/db/mysql/query_factory.php on line 64
    The first error msg. is telling the username and/or password is incorrect.

    The second error makes reference to a file using an incorrect path. The file is not in the "admin/includes" dir. but the regular "includes" dir.

  2. #32
    Join Date
    Jun 2012
    Location
    Oklahoma
    Posts
    39
    Plugin Contributions
    0

    Default Re: Cannot Connect Database When Upgrading from v1.5.0 to v1.5.5

    Thanks! Talk about Greek...I double checked everything and when that didn't work I changed the password in all places. I now have the test with the errors about patching the database to a higher level and deleting the zc_install file. I just need to complete the install process for that, but now I have a fatal error on the admin screen:

    Fatal error: Call to a member function Execute() on a non-object in /home4/fresh1/public_html/zen_new/admin/index_dashboard.php on line 9

    but that line in my files matches the line in the original file and I don't know what is supposed to go there.

  3. #33
    Join Date
    Jul 2012
    Posts
    16,740
    Plugin Contributions
    17

    Default Re: Cannot Connect Database When Upgrading from v1.5.0 to v1.5.5

    Quote Originally Posted by Allaction View Post
    Thanks! Talk about Greek...I double checked everything and when that didn't work I changed the password in all places. I now have the test with the errors about patching the database to a higher level and deleting the zc_install file. I just need to complete the install process for that, but now I have a fatal error on the admin screen:

    Fatal error: Call to a member function Execute() on a non-object in /home4/fresh1/public_html/zen_new/admin/index_dashboard.php on line 9

    but that line in my files matches the line in the original file and I don't know what is supposed to go there.
    You say that you need to complete the store setup, but in review of the admin/index.php file that calls index_dashboard.php, presumably the "setup" has already been performed...

    Also, the "data" missing is related to the variable $db which is set from the call to admin/index.php which loads the includes/application_top.php file. That file loads the ZC system which includes any files that have been incorrectly placed or modified or whatever has been done to your fileset. It also loads the database and any settings that have been made there.

    If you are receiving the notification to update your database, you shouldn't be trying to use/access the database until that has happened. Again... Reference the upgrade by rebuild instructions: http://www.zen-cart.com/entry.php?3-...d-of-upgrading

    No where in there does it suggest nor recommend logging into the system before the database has been updated (other than to provide credentials to perform the actual database upgrade).
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #34
    Join Date
    Jun 2012
    Location
    Oklahoma
    Posts
    39
    Plugin Contributions
    0

    Default Re: Cannot Connect Database When Upgrading from v1.5.0 to v1.5.5

    I get the error 404 when I go to the zc_install/index.php

  5. #35
    Join Date
    Jun 2012
    Location
    Oklahoma
    Posts
    39
    Plugin Contributions
    0

    Default Re: Cannot Connect Database When Upgrading from v1.5.0 to v1.5.5

    I just deleted everything and reinstalled, now everything is perfect :)

  6. #36
    Join Date
    Jul 2012
    Posts
    16,740
    Plugin Contributions
    17

    Default Re: Cannot Connect Database When Upgrading from v1.5.0 to v1.5.5

    Quote Originally Posted by Allaction View Post
    I just deleted everything and reinstalled, now everything is perfect :)
    What was the source of the files used for reinstallation?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 4 of 4 FirstFirst ... 234

Similar Threads

  1. v153 Database errors when upgrading from 1.5.3 to the latest 1.5.5a
    By icecold in forum Upgrading to 1.5.x
    Replies: 3
    Last Post: 14 Oct 2016, 04:13 PM
  2. v138a Cannot connect to database
    By blueroomhermit in forum General Questions
    Replies: 10
    Last Post: 17 Nov 2013, 03:43 AM
  3. blank page when upgrading the database from 1.3.8a to 1.3.8h
    By dragosionel in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 20 Oct 2011, 05:36 PM
  4. 1064 SQL Syntax error when upgrading database from 1.3.8 to 1.3.9
    By pioupioun in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 23 Aug 2010, 06:26 AM
  5. Cannot Connect To Database...
    By kbalona in forum General Questions
    Replies: 2
    Last Post: 3 May 2007, 07: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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR