Page 1 of 6 123 ... LastLast
Results 1 to 10 of 52
  1. #1
    Join Date
    Dec 2008
    Posts
    64
    Plugin Contributions
    0

    bug Database Upgrade Not Accepting Password 1.5.3-to-1.5.4

    I uploaded the changed files since 1.53. When I click on the upgrade database button it tells me my password is incorrect.

    I have the correct prefix (_zen), database name and user name.

    I am entering my shop admin password and username not my database details in the upgrade database details.

    PHP Version: 5.3.3 (Zend: 2.3.0)

    My store admin password is correct as I renamed /zc_install/ to /1zc_install/ and I can login all good.


    What I tried with no luck:
    1/ Create a new user and try those login details.
    2/ Re-uploaded /zc_install/
    3/ tried /zc_install/includes/functions/general.php at http://www.zen-cart.com/showthread.p...44#post1253144
    4/ Tried going back to the old code for /includes/classes/class.zcPassword.php http://www.zen-cart.com/showthread.p...05#post1266905

    Kind regards
    Tim

  2. #2
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Upgrade v1.53 to v1.54 Database Upgrade Not Accepting Password

    Quote Originally Posted by nuganics View Post
    4/ Tried going back to the old code for /includes/classes/class.zcPassword.php http://www.zen-cart.com/showthread.p...05#post1266905
    The fix in that post is what's in v1.5.4, and has worked on every combination of upgrade I was able to test.
    If you have a unique case that's failing to allow the password to work, I'd appreciate knowing further details and a chance to get a copy of your files+database for testing, if you're willing.
    .

    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.

  3. #3
    Join Date
    Dec 2008
    Posts
    64
    Plugin Contributions
    0

    Default Re: Upgrade v1.53 to v1.54 Database Upgrade Not Accepting Password

    More tests:
    1/ Install a clean version of 1.5.4 works fine on PHP 5.3.3 (this is the highest PHP version number on CentOS 6.6).
    2/ Installed a clean version of 1.5.3 with hotfixes from http://sourceforge.net/projects/zenc....5.x%20Series/ . I completed the install so ready to use (zc_install removed, admin folder renamed, permissions correct and password updated on first login). I then only uploaded the /zc_install/ folder from 1.5.4 and tried a database upgrade but I still get "Admin Password required to proceed with upgrade".
    3/ I deleted all the files except for the 2 configure.php files and kept the 1.5.3 database. I uploaded all the clean 1.5.4 files and run zc_install and get the same issue when I try to update the 1.5.3 database.


    My guess it is a issue with new \zc_install\includes\functions\general.php and PHP Version: 5.3.3 as the 3rd test above should work as all 1.5.4 files. I don't know PHP to figure out the issue but maybe the below is a place to start (didn't fix the issue for me)?
    Was
    require('../includes/classes/class.zcPassword.php');

    Now
    require (realpath(dirname(__FILE__)) . '/../../../includes/classes/class.zcPassword.php');

    I am not sure what else I can try?

    Kind regards
    Tim

  4. #4
    Join Date
    May 2010
    Posts
    13
    Plugin Contributions
    0

    Default Re: Upgrade v1.53 to v1.54 Database Upgrade Not Accepting Password

    I'm in the same boat. 1.5.3 was working fine up until it stopped accepting orders. 1.5.4 would not complete the database update. No amount of password resetting via Cpanel would make a difference. Finally converted PHP from 5.2 to 5.3 and that did the trick.

    No idea how long 5.3 will remain viable, but hopefully long enough that it won't be an issue in the near future. Not knowing what all those terms mean and why they won't play nice together is a real hassle when it ends up taking the store out of action.

  5. #5
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,220
    Plugin Contributions
    11

    Default Re: Upgrade v1.53 to v1.54 Database Upgrade Not Accepting Password

    PHP 5.3 had its EOL (end of life) in June or July of last year.
    14 Aug 2014 The PHP development team announces the immediate availability of PHP 5.3.29. This release marks the end of life of the PHP 5.3 series. Future releases of this series are not planned. All PHP 5.3 users are encouraged to upgrade to the current stable version of PHP 5.5 or previous stable version of PHP 5.4, which are supported till at least 2016 and 2015 respectively.
    PHP 5.3.29 contains about 25 potentially security related fixes backported from PHP 5.4 and 5.5.

  6. #6
    Join Date
    Dec 2008
    Posts
    64
    Plugin Contributions
    0

    Default Re: Upgrade v1.53 to v1.54 Database Upgrade Not Accepting Password

    I was using PHP 5.3.3 but have installed PHP 5.4.16 and have that running but get the same result on a fresh install of Zen cart 1.5.3 try to upgrade database to 1.5.4.

    I deleted the mysql user and created again and updated the config files with the new details but get the same issue.

    I reset the password via Mysql query and logged in (renamed zc_install) and put in a new password. Tried zc_install with new store admin login but get the same result.

    Under /logs/ it creates 2 files but checks are OK and just has the below:
    Jan 25 2015 16:17 -- database_upgrade
    FATAL: Admin Password required to proceed with upgrade

    Running out of ideas. Would be great if anyone has some suggestions.

  7. #7
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,220
    Plugin Contributions
    11

    Default Re: Upgrade v1.53 to v1.54 Database Upgrade Not Accepting Password

    Okay, I'm beginning to think what I'm seeing in your post is not a typo or misprint. Are you actually using files from 1.5.3, adding zc_install from 1.5.4, and then trying to update the existing 1.5.3 database to 1.5.4?
    And, if not.... Are you using the admin password from the old database when upgrading?
    Neither of your three steps above is a recommended way to upgrade ZC. Have you looked at http://www.zen-cart.com/entry.php?3-...d-of-upgrading

  8. #8
    Join Date
    Jul 2012
    Posts
    16,751
    Plugin Contributions
    17

    Default Re: Upgrade v1.53 to v1.54 Database Upgrade Not Accepting Password

    Quote Originally Posted by nuganics View Post
    I was using PHP 5.3.3 but have installed PHP 5.4.16 and have that running but get the same result on a fresh install of Zen cart 1.5.3 try to upgrade database to 1.5.4.

    I deleted the mysql user and created again and updated the config files with the new details but get the same issue.

    I reset the password via Mysql query and logged in (renamed zc_install) and put in a new password. Tried zc_install with new store admin login but get the same result.

    Under /logs/ it creates 2 files but checks are OK and just has the below:
    Jan 25 2015 16:17 -- database_upgrade
    FATAL: Admin Password required to proceed with upgrade

    Running out of ideas. Would be great if anyone has some suggestions.
    In post 2 of this thread: http://www.zen-cart.com/showthread.p...83#post1269283 Dr. Byte has offered to review the situation, if information would be shared. Might I suggest that instead of theorizing something that is completely unfamiliar, that the information requested to help figure out the cause be shared with those that have the knowledge of the system to help?

    Also, do any of the issues identified in this next thread apply to your situation?
    http://www.zen-cart.com/showthread.p...s)-with-v1-5-4
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  9. #9
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Upgrade v1.53 to v1.54 Database Upgrade Not Accepting Password

    Can you post the php.ini from that server? Either paste the text, or attach the file as an attachment.
    .

    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.

  10. #10
    Join Date
    Dec 2008
    Posts
    64
    Plugin Contributions
    0

    Default Re: Upgrade v1.53 to v1.54 Database Upgrade Not Accepting Password

    Please find the attached php.ini for PHP 5.4.16 running on this server. I copied out of Virtualmin PHP manual configure so I know it is the php.ini running and zc_install mentions PHP 5.4.16 (below)

    Attachment: php.zip

    Other server settings:
    Webserver = Apache/2.2.15
    GD Version = GD bundled (2.1.0 compatible)
    PHP include_path = .:/opt/rh/php54/root/usr/share/pear:/opt/rh/php54/root/usr/share/php

    Thank you for having a look

 

 
Page 1 of 6 123 ... LastLast

Similar Threads

  1. v155 Please Help! not accepting new password
    By wmorris in forum General Questions
    Replies: 2
    Last Post: 10 Apr 2016, 11:00 AM
  2. Will not take the password for the database upgrade
    By petestownrich in forum Upgrading to 1.5.x
    Replies: 4
    Last Post: 11 Feb 2015, 11:45 PM
  3. zc_install not accepting password
    By azwli in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 13 Apr 2011, 10:00 PM
  4. database upgrade password problem
    By trdlasvegas in forum Upgrading from 1.3.x to 1.3.9
    Replies: 14
    Last Post: 27 Jun 2010, 01:10 AM

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