Forums / Upgrading to 1.5.x / ERROR: Could not update to version 1.5.4. We detect that you currently have v1.5.2, a

ERROR: Could not update to version 1.5.4. We detect that you currently have v1.5.2, a

Started by rainbow_pixie_star on 15 Apr 2016, 9:11 PM · Views: 2,726

Results 1 to 16 of 16
15 Apr 2016, 9:11 PM
#1
rainbow_pixie_star avatar

rainbow_pixie_star

Zen Follower

Join Date:
Feb 2012
Posts:
427
Plugin Contributions:
0

ERROR: Could not update to version 1.5.4. We detect that you currently have v1.5.2, a

Hello,
I am upgrading from 1.5 to 1.5.5 , here is what is hapening...

Updating to 1.5.5

Configure.php needs update before continue

Update file > YES

Then did update

ERROR: Could not update to version 1.5.4. We detect that you currently have v1.5.2, and must perform the updates to get to version 1.5.3 first.

Opened logs and got...

---------------
Apr 15 2016 14:11 -- checkInitialSession
PASSED
(
    [sessionName] => zenInstallerId
)


---------------
Apr 15 2016 14:11 -- checkIniGet
PASSED
(
    [inigetName] => session.use_trans_sid
    [expectedValue] => 
)


---------------
Apr 15 2016 14:11 -- checkIniGet
PASSED
(
    [inigetName] => session.auto_start
    [expectedValue] => 
)


---------------
Apr 15 2016 14:11 -- checkDBConnection
PASSED

---------------
Apr 15 2016 14:11 -- checkExtension
PASSED
(
    [extension] => gd
)


---------------
Apr 15 2016 14:11 -- checkExtension
PASSED
(
    [extension] => zlib
)


---------------
Apr 15 2016 14:11 -- checkExtension
PASSED
(
    [extension] => openssl
)


---------------
Apr 15 2016 14:11 -- checkExtension
PASSED
(
    [extension] => curl
)


---------------
Apr 15 2016 14:11 -- checkFunctionExists
PASSED
(
    [functionName] => curl_init
)


---------------
Apr 15 2016 14:11 -- checkLiveCurl
PASSED
(
    [testUrl] => [URL]https://s3.amazonaws.com/zencart-curltest/endpoint[/URL]
    [testData] => installertest=checking
)


---------------
Apr 15 2016 14:11 -- checkFunctionExists
PASSED
(
    [functionName] => xml_parser_create
)


---------------
Apr 15 2016 14:11 -- checkIniGet
PASSED
(
    [inigetName] => output_buffering
    [expectedValue] => 1
)


---------------
Apr 15 2016 14:11 -- checkHttpsRequest
FAILED

---------------
Apr 15 2016 14:16 -- checkInitialSession
PASSED
(
    [sessionName] => zenInstallerId
)


---------------
Apr 15 2016 14:16 -- checkIniGet
PASSED
(
    [inigetName] => session.use_trans_sid
    [expectedValue] => 
)


---------------
Apr 15 2016 14:16 -- checkIniGet
PASSED
(
    [inigetName] => session.auto_start
    [expectedValue] => 
)


---------------
Apr 15 2016 14:16 -- checkDBConnection
PASSED

---------------
Apr 15 2016 14:16 -- checkExtension
PASSED
(
    [extension] => gd
)


---------------
Apr 15 2016 14:16 -- checkExtension
PASSED
(
    [extension] => zlib
)


---------------
Apr 15 2016 14:16 -- checkExtension
PASSED
(
    [extension] => openssl
)


---------------
Apr 15 2016 14:16 -- checkExtension
PASSED
(
    [extension] => curl
)


---------------
Apr 15 2016 14:16 -- checkFunctionExists
PASSED
(
    [functionName] => curl_init
)


---------------
Apr 15 2016 14:16 -- checkLiveCurl
PASSED
(
    [testUrl] => [URL]https://s3.amazonaws.com/zencart-curltest/endpoint[/URL]
    [testData] => installertest=checking
)


---------------
Apr 15 2016 14:16 -- checkFunctionExists
PASSED
(
    [functionName] => xml_parser_create
)


---------------
Apr 15 2016 14:16 -- checkIniGet
PASSED
(
    [inigetName] => output_buffering
    [expectedValue] => 1
)


---------------
Apr 15 2016 14:16 -- checkHttpsRequest
FAILED

---------------
Apr 15 2016 14:21 -- checkInitialSession
PASSED
(
    [sessionName] => zenInstallerId
)


---------------
Apr 15 2016 14:21 -- checkIniGet
PASSED
(
    [inigetName] => session.use_trans_sid
    [expectedValue] => 
)


---------------
Apr 15 2016 14:21 -- checkIniGet
PASSED
(
    [inigetName] => session.auto_start
    [expectedValue] => 
)


---------------
Apr 15 2016 14:21 -- checkDBConnection
PASSED

---------------
Apr 15 2016 14:21 -- checkExtension
PASSED
(
    [extension] => gd
)


---------------
Apr 15 2016 14:21 -- checkExtension
PASSED
(
    [extension] => zlib
)


---------------
Apr 15 2016 14:21 -- checkExtension
PASSED
(
    [extension] => openssl
)


---------------
Apr 15 2016 14:21 -- checkExtension
PASSED
(
    [extension] => curl
)


---------------
Apr 15 2016 14:21 -- checkFunctionExists
PASSED
(
    [functionName] => curl_init
)


---------------
Apr 15 2016 14:21 -- checkLiveCurl
PASSED
(
    [testUrl] => [URL]https://s3.amazonaws.com/zencart-curltest/endpoint[/URL]
    [testData] => installertest=checking
)


---------------
Apr 15 2016 14:21 -- checkFunctionExists
PASSED
(
    [functionName] => xml_parser_create
)


---------------
Apr 15 2016 14:21 -- checkIniGet
PASSED
(
    [inigetName] => output_buffering
    [expectedValue] => 1
)


---------------
Apr 15 2016 14:21 -- checkHttpsRequest
FAILED

---------------
Apr 15 2016 14:21 -- checkInitialSession
PASSED
(
    [sessionName] => zenInstallerId
)


---------------
Apr 15 2016 14:21 -- checkIniGet
PASSED
(
    [inigetName] => session.use_trans_sid
    [expectedValue] => 
)


---------------
Apr 15 2016 14:21 -- checkIniGet
PASSED
(
    [inigetName] => session.auto_start
    [expectedValue] => 
)


---------------
Apr 15 2016 14:21 -- checkDBConnection
PASSED

---------------
Apr 15 2016 14:21 -- checkExtension
PASSED
(
    [extension] => gd
)


---------------
Apr 15 2016 14:21 -- checkExtension
PASSED
(
    [extension] => zlib
)


---------------
Apr 15 2016 14:21 -- checkExtension
PASSED
(
    [extension] => openssl
)


---------------
Apr 15 2016 14:21 -- checkExtension
PASSED
(
    [extension] => curl
)


---------------
Apr 15 2016 14:21 -- checkFunctionExists
PASSED
(
    [functionName] => curl_init
)


---------------
Apr 15 2016 14:21 -- checkLiveCurl
PASSED
(
    [testUrl] => [URL]https://s3.amazonaws.com/zencart-curltest/endpoint[/URL]
    [testData] => installertest=checking
)


---------------
Apr 15 2016 14:21 -- checkFunctionExists
PASSED
(
    [functionName] => xml_parser_create
)


---------------
Apr 15 2016 14:21 -- checkIniGet
PASSED
(
    [inigetName] => output_buffering
    [expectedValue] => 1
)


---------------
Apr 15 2016 14:21 -- checkHttpsRequest
FAILED

---------------
Apr 15 2016 15:05 -- checkInitialSession
PASSED
(
    [sessionName] => zenInstallerId
)


---------------
Apr 15 2016 15:05 -- checkIniGet
PASSED
(
    [inigetName] => session.use_trans_sid
    [expectedValue] => 
)


---------------
Apr 15 2016 15:05 -- checkIniGet
PASSED
(
    [inigetName] => session.auto_start
    [expectedValue] => 
)


---------------
Apr 15 2016 15:05 -- checkDBConnection
PASSED

---------------
Apr 15 2016 15:05 -- checkExtension
PASSED
(
    [extension] => gd
)


---------------
Apr 15 2016 15:05 -- checkExtension
PASSED
(
    [extension] => zlib
)


---------------
Apr 15 2016 15:05 -- checkExtension
PASSED
(
    [extension] => openssl
)


---------------
Apr 15 2016 15:05 -- checkExtension
PASSED
(
    [extension] => curl
)


---------------
Apr 15 2016 15:05 -- checkFunctionExists
PASSED
(
    [functionName] => curl_init
)


---------------
Apr 15 2016 15:05 -- checkLiveCurl
PASSED
(
    [testUrl] => [URL]https://s3.amazonaws.com/zencart-curltest/endpoint[/URL]
    [testData] => installertest=checking
)


---------------
Apr 15 2016 15:05 -- checkFunctionExists
PASSED
(
    [functionName] => xml_parser_create
)


---------------
Apr 15 2016 15:05 -- checkIniGet
PASSED
(
    [inigetName] => output_buffering
    [expectedValue] => 1
)


---------------
Apr 15 2016 15:05 -- checkHttpsRequest
FAILED

---------------
Apr 15 2016 15:06 -- checkInitialSession
PASSED
(
    [sessionName] => zenInstallerId
)


---------------
Apr 15 2016 15:06 -- checkIniGet
PASSED
(
    [inigetName] => session.use_trans_sid
    [expectedValue] => 
)


---------------
Apr 15 2016 15:06 -- checkIniGet
PASSED
(
    [inigetName] => session.auto_start
    [expectedValue] => 
)


---------------
Apr 15 2016 15:06 -- checkDBConnection
PASSED

---------------
Apr 15 2016 15:06 -- checkExtension
PASSED
(
    [extension] => gd
)


---------------
Apr 15 2016 15:06 -- checkExtension
PASSED
(
    [extension] => zlib
)


---------------
Apr 15 2016 15:06 -- checkExtension
PASSED
(
    [extension] => openssl
)


---------------
Apr 15 2016 15:06 -- checkExtension
PASSED
(
    [extension] => curl
)


---------------
Apr 15 2016 15:06 -- checkFunctionExists
PASSED
(
    [functionName] => curl_init
)


---------------
Apr 15 2016 15:06 -- checkLiveCurl
PASSED
(
    [testUrl] => [URL]https://s3.amazonaws.com/zencart-curltest/endpoint[/URL]
    [testData] => installertest=checking
)


---------------
Apr 15 2016 15:06 -- checkFunctionExists
PASSED
(
    [functionName] => xml_parser_create
)


---------------
Apr 15 2016 15:06 -- checkIniGet
PASSED
(
    [inigetName] => output_buffering
    [expectedValue] => 1
)


---------------
Apr 15 2016 15:06 -- checkHttpsRequest
FAILED

---------------
Apr 15 2016 15:06 -- checkInitialSession
PASSED
(
    [sessionName] => zenInstallerId
)


---------------
Apr 15 2016 15:06 -- checkIniGet
PASSED
(
    [inigetName] => session.use_trans_sid
    [expectedValue] => 
)


---------------
Apr 15 2016 15:06 -- checkIniGet
PASSED
(
    [inigetName] => session.auto_start
    [expectedValue] => 
)


---------------
Apr 15 2016 15:06 -- checkUpgradeDBConnection
PASSED

---------------
Apr 15 2016 15:06 -- checkDBConnection
PASSED

---------------
Apr 15 2016 15:06 -- checkExtension
PASSED
(
    [extension] => gd
)


---------------
Apr 15 2016 15:06 -- checkExtension
PASSED
(
    [extension] => zlib
)


---------------
Apr 15 2016 15:06 -- checkExtension
PASSED
(
    [extension] => openssl
)


---------------
Apr 15 2016 15:06 -- checkExtension
PASSED
(
    [extension] => curl
)


---------------
Apr 15 2016 15:06 -- checkFunctionExists
PASSED
(
    [functionName] => curl_init
)


---------------
Apr 15 2016 15:06 -- checkLiveCurl
PASSED
(
    [testUrl] => [URL]https://s3.amazonaws.com/zencart-curltest/endpoint[/URL]
    [testData] => installertest=checking
)


---------------
Apr 15 2016 15:06 -- checkFunctionExists
PASSED
(
    [functionName] => xml_parser_create
)


---------------
Apr 15 2016 15:06 -- checkIniGet
PASSED
(
    [inigetName] => output_buffering
    [expectedValue] => 1
)


---------------
Apr 15 2016 15:06 -- checkHttpsRequest
FAILED
15 Apr 2016, 9:37 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: ERROR: Could not update to version 1.5.4. We detect that you currently have v1.5.2, a

  1. Which v155 zip did you use?
  2. Were there any other /logs/ files, particularly named something like zcInstall-DEBUG-xxxxxx.log ?
  3. Which MySQL version are you using?

I suspect there's a data incompatibility being encountered, caused by MySQL version requirements. Just need to find out "what", to fix the data, and then let the upgrade do its thing normally.

.
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.

15 Apr 2016, 9:48 PM
#3
rainbow_pixie_star avatar

rainbow_pixie_star

Zen Follower

Join Date:
Feb 2012
Posts:
427
Plugin Contributions:
0

Re: ERROR: Could not update to version 1.5.4. We detect that you currently have v1.5.2, a

Hi,

  • Which version 155,, not sure what you mean by this, I downloaded it via link on zencart forum bit cannot remember, did use sourceforge
  • Does not seem to be making any other logs.
  • not sure how to check what my sql other than what is tays on the error which is that I managet to upgrade to 1.5.2 then get the error...
    1.5.4. We detect that you currently have v1.5.2, and must perform the updates to get to version 1.5.3 first

Thanks
A

15 Apr 2016, 9:49 PM
#4
rainbow_pixie_star avatar

rainbow_pixie_star

Zen Follower

Join Date:
Feb 2012
Posts:
427
Plugin Contributions:
0

Re: ERROR: Could not update to version 1.5.4. We detect that you currently have v1.5.2, a

Have some more logs come up now...

Apr 15 2016 14:11 -- checkInitialSession
PASSED
(
[sessionName] => zenInstallerId
)


Apr 15 2016 14:11 -- checkIniGet
PASSED
(
[inigetName] => session.use_trans_sid
[expectedValue] =>
)


Apr 15 2016 14:11 -- checkIniGet
PASSED
(
[inigetName] => session.auto_start
[expectedValue] =>
)


Apr 15 2016 14:11 -- checkDBConnection
PASSED


Apr 15 2016 14:11 -- checkExtension
PASSED
(
[extension] => gd
)


Apr 15 2016 14:11 -- checkExtension
PASSED
(
[extension] => zlib
)


Apr 15 2016 14:11 -- checkExtension
PASSED
(
[extension] => openssl
)


Apr 15 2016 14:11 -- checkExtension
PASSED
(
[extension] => curl
)


Apr 15 2016 14:11 -- checkFunctionExists
PASSED
(
[functionName] => curl_init
)


Apr 15 2016 14:11 -- checkLiveCurl
PASSED
(
[testUrl] => https://s3.amazonaws.com/zencart-curltest/endpoint
[testData] => installertest=checking
)


Apr 15 2016 14:11 -- checkFunctionExists
PASSED
(
[functionName] => xml_parser_create
)


Apr 15 2016 14:11 -- checkIniGet
PASSED
(
[inigetName] => output_buffering
[expectedValue] => 1
)


Apr 15 2016 14:11 -- checkHttpsRequest
FAILED


Apr 15 2016 14:16 -- checkInitialSession
PASSED
(
[sessionName] => zenInstallerId
)


Apr 15 2016 14:16 -- checkIniGet
PASSED
(
[inigetName] => session.use_trans_sid
[expectedValue] =>
)


Apr 15 2016 14:16 -- checkIniGet
PASSED
(
[inigetName] => session.auto_start
[expectedValue] =>
)


Apr 15 2016 14:16 -- checkDBConnection
PASSED


Apr 15 2016 14:16 -- checkExtension
PASSED
(
[extension] => gd
)


Apr 15 2016 14:16 -- checkExtension
PASSED
(
[extension] => zlib
)


Apr 15 2016 14:16 -- checkExtension
PASSED
(
[extension] => openssl
)


Apr 15 2016 14:16 -- checkExtension
PASSED
(
[extension] => curl
)


Apr 15 2016 14:16 -- checkFunctionExists
PASSED
(
[functionName] => curl_init
)


Apr 15 2016 14:16 -- checkLiveCurl
PASSED
(
[testUrl] => https://s3.amazonaws.com/zencart-curltest/endpoint
[testData] => installertest=checking
)


Apr 15 2016 14:16 -- checkFunctionExists
PASSED
(
[functionName] => xml_parser_create
)


Apr 15 2016 14:16 -- checkIniGet
PASSED
(
[inigetName] => output_buffering
[expectedValue] => 1
)


Apr 15 2016 14:16 -- checkHttpsRequest
FAILED


Apr 15 2016 14:21 -- checkInitialSession
PASSED
(
[sessionName] => zenInstallerId
)


Apr 15 2016 14:21 -- checkIniGet
PASSED
(
[inigetName] => session.use_trans_sid
[expectedValue] =>
)


Apr 15 2016 14:21 -- checkIniGet
PASSED
(
[inigetName] => session.auto_start
[expectedValue] =>
)


Apr 15 2016 14:21 -- checkDBConnection
PASSED


Apr 15 2016 14:21 -- checkExtension
PASSED
(
[extension] => gd
)


Apr 15 2016 14:21 -- checkExtension
PASSED
(
[extension] => zlib
)


Apr 15 2016 14:21 -- checkExtension
PASSED
(
[extension] => openssl
)


Apr 15 2016 14:21 -- checkExtension
PASSED
(
[extension] => curl
)


Apr 15 2016 14:21 -- checkFunctionExists
PASSED
(
[functionName] => curl_init
)


Apr 15 2016 14:21 -- checkLiveCurl
PASSED
(
[testUrl] => https://s3.amazonaws.com/zencart-curltest/endpoint
[testData] => installertest=checking
)


Apr 15 2016 14:21 -- checkFunctionExists
PASSED
(
[functionName] => xml_parser_create
)


Apr 15 2016 14:21 -- checkIniGet
PASSED
(
[inigetName] => output_buffering
[expectedValue] => 1
)


Apr 15 2016 14:21 -- checkHttpsRequest
FAILED


Apr 15 2016 14:21 -- checkInitialSession
PASSED
(
[sessionName] => zenInstallerId
)


Apr 15 2016 14:21 -- checkIniGet
PASSED
(
[inigetName] => session.use_trans_sid
[expectedValue] =>
)


Apr 15 2016 14:21 -- checkIniGet
PASSED
(
[inigetName] => session.auto_start
[expectedValue] =>
)


Apr 15 2016 14:21 -- checkDBConnection
PASSED


Apr 15 2016 14:21 -- checkExtension
PASSED
(
[extension] => gd
)


Apr 15 2016 14:21 -- checkExtension
PASSED
(
[extension] => zlib
)


Apr 15 2016 14:21 -- checkExtension
PASSED
(
[extension] => openssl
)


Apr 15 2016 14:21 -- checkExtension
PASSED
(
[extension] => curl
)


Apr 15 2016 14:21 -- checkFunctionExists
PASSED
(
[functionName] => curl_init
)


Apr 15 2016 14:21 -- checkLiveCurl
PASSED
(
[testUrl] => https://s3.amazonaws.com/zencart-curltest/endpoint
[testData] => installertest=checking
)


Apr 15 2016 14:21 -- checkFunctionExists
PASSED
(
[functionName] => xml_parser_create
)


Apr 15 2016 14:21 -- checkIniGet
PASSED
(
[inigetName] => output_buffering
[expectedValue] => 1
)


Apr 15 2016 14:21 -- checkHttpsRequest
FAILED


Apr 15 2016 15:05 -- checkInitialSession
PASSED
(
[sessionName] => zenInstallerId
)


Apr 15 2016 15:05 -- checkIniGet
PASSED
(
[inigetName] => session.use_trans_sid
[expectedValue] =>
)


Apr 15 2016 15:05 -- checkIniGet
PASSED
(
[inigetName] => session.auto_start
[expectedValue] =>
)


Apr 15 2016 15:05 -- checkDBConnection
PASSED


Apr 15 2016 15:05 -- checkExtension
PASSED
(
[extension] => gd
)


Apr 15 2016 15:05 -- checkExtension
PASSED
(
[extension] => zlib
)


Apr 15 2016 15:05 -- checkExtension
PASSED
(
[extension] => openssl
)


Apr 15 2016 15:05 -- checkExtension
PASSED
(
[extension] => curl
)


Apr 15 2016 15:05 -- checkFunctionExists
PASSED
(
[functionName] => curl_init
)


Apr 15 2016 15:05 -- checkLiveCurl
PASSED
(
[testUrl] => https://s3.amazonaws.com/zencart-curltest/endpoint
[testData] => installertest=checking
)


Apr 15 2016 15:05 -- checkFunctionExists
PASSED
(
[functionName] => xml_parser_create
)


Apr 15 2016 15:05 -- checkIniGet
PASSED
(
[inigetName] => output_buffering
[expectedValue] => 1
)


Apr 15 2016 15:05 -- checkHttpsRequest
FAILED


Apr 15 2016 15:06 -- checkInitialSession
PASSED
(
[sessionName] => zenInstallerId
)


Apr 15 2016 15:06 -- checkIniGet
PASSED
(
[inigetName] => session.use_trans_sid
[expectedValue] =>
)


Apr 15 2016 15:06 -- checkIniGet
PASSED
(
[inigetName] => session.auto_start
[expectedValue] =>
)


Apr 15 2016 15:06 -- checkDBConnection
PASSED


Apr 15 2016 15:06 -- checkExtension
PASSED
(
[extension] => gd
)


Apr 15 2016 15:06 -- checkExtension
PASSED
(
[extension] => zlib
)


Apr 15 2016 15:06 -- checkExtension
PASSED
(
[extension] => openssl
)


Apr 15 2016 15:06 -- checkExtension
PASSED
(
[extension] => curl
)


Apr 15 2016 15:06 -- checkFunctionExists
PASSED
(
[functionName] => curl_init
)


Apr 15 2016 15:06 -- checkLiveCurl
PASSED
(
[testUrl] => https://s3.amazonaws.com/zencart-curltest/endpoint
[testData] => installertest=checking
)


Apr 15 2016 15:06 -- checkFunctionExists
PASSED
(
[functionName] => xml_parser_create
)


Apr 15 2016 15:06 -- checkIniGet
PASSED
(
[inigetName] => output_buffering
[expectedValue] => 1
)


Apr 15 2016 15:06 -- checkHttpsRequest
FAILED


Apr 15 2016 15:06 -- checkInitialSession
PASSED
(
[sessionName] => zenInstallerId
)


Apr 15 2016 15:06 -- checkIniGet
PASSED
(
[inigetName] => session.use_trans_sid
[expectedValue] =>
)


Apr 15 2016 15:06 -- checkIniGet
PASSED
(
[inigetName] => session.auto_start
[expectedValue] =>
)


Apr 15 2016 15:06 -- checkUpgradeDBConnection
PASSED


Apr 15 2016 15:06 -- checkDBConnection
PASSED


Apr 15 2016 15:06 -- checkExtension
PASSED
(
[extension] => gd
)


Apr 15 2016 15:06 -- checkExtension
PASSED
(
[extension] => zlib
)


Apr 15 2016 15:06 -- checkExtension
PASSED
(
[extension] => openssl
)


Apr 15 2016 15:06 -- checkExtension
PASSED
(
[extension] => curl
)


Apr 15 2016 15:06 -- checkFunctionExists
PASSED
(
[functionName] => curl_init
)


Apr 15 2016 15:06 -- checkLiveCurl
PASSED
(
[testUrl] => https://s3.amazonaws.com/zencart-curltest/endpoint
[testData] => installertest=checking
)


Apr 15 2016 15:06 -- checkFunctionExists
PASSED
(
[functionName] => xml_parser_create
)


Apr 15 2016 15:06 -- checkIniGet
PASSED
(
[inigetName] => output_buffering
[expectedValue] => 1
)


Apr 15 2016 15:06 -- checkHttpsRequest
FAILED

15 Apr 2016, 9:51 PM
#5
rainbow_pixie_star avatar

rainbow_pixie_star

Zen Follower

Join Date:
Feb 2012
Posts:
427
Plugin Contributions:
0

Re: ERROR: Could not update to version 1.5.4. We detect that you currently have v1.5.2, a

And another...

Apr 15 2016 15:45 -- upgradeException
INSERT INTO zen_countries (countries_id, countries_name, countries_iso_code_2, countries_iso_code_3, address_format_id) VALUES (246,'South Sudan','SS','SSD','1'); 1062: Duplicate entry '246' for key 'PRIMARY'


Apr 15 2016 15:45 -- upgradeException
ALTER TABLE zen_customers MODIFY customers_password VARCHAR( 255 ) NOT NULL DEFAULT ''; 1292: Incorrect datetime value: '0000-00-00 00:00:00' for column 'customers_dob' at row 13

Another...

Apr 15 2016 15:45 -- Version detected in database_upgrade/header_php.php
1.5.2

Another...

Apr 15 2016 15:45 -- backupConfigureFiles
PASSED


Apr 15 2016 15:45 -- CheckWriteableFile
PASSED
(
[fileDir] => /home3/craftja1/public_html/includes/configure.php
[changePerms] => 0664
[createFile] => 1
)


Apr 15 2016 15:45 -- CheckWriteableAdminFile
PASSED
(
[fileDir] => includes/configure.php
[changePerms] => 0664
[createFile] => 1
)


Apr 15 2016 15:45 -- checkPhpVersion
PASSED
(
[version] => 5.2.9
[versionTest] => ge
[localErrorText] => PHP Version should be greater than 5.2.9
)


Apr 15 2016 15:45 -- checkPhpVersion
PASSED
(
[version] => 7.1.0
[versionTest] => lt
[localErrorText] => PHP Version should be less than 7.0.x
)


Apr 15 2016 15:45 -- checkPhpVersion
FAILED
(
[version] => 5.5.0
[versionTest] => ge
)


Apr 15 2016 15:45 -- checkIsZCVersionCurrent
PASSED


Apr 15 2016 15:45 -- checkExtension
PASSED
(
[extension] => mysqli
)


Apr 15 2016 15:45 -- checkWriteableDir
PASSED
(
[fileDir] => /home3/craftja1/public_html/logs
)


Apr 15 2016 15:45 -- checkWriteableDir
PASSED
(
[fileDir] => /home3/craftja1/public_html/cache
)


Apr 15 2016 15:45 -- checkWriteableDir
PASSED
(
[fileDir] => /home3/craftja1/public_html/images
)


Apr 15 2016 15:45 -- checkWriteableDir
PASSED
(
[fileDir] => /home3/craftja1/public_html/includes/languages/english/html_includes
)


Apr 15 2016 15:45 -- checkWriteableDir
PASSED
(
[fileDir] => /home3/craftja1/public_html/media
)


Apr 15 2016 15:45 -- checkWriteableDir
PASSED
(
[fileDir] => /home3/craftja1/public_html/pub
)


Apr 15 2016 15:45 -- checkHtaccessSupport
PASSED

LAST ONE...
[15-Apr-2016 15:45:52 America/Denver] MySQL error 1062 encountered during zc_install:
Duplicate entry '246' for key 'PRIMARY'
INSERT INTO zen_countries (countries_id, countries_name, countries_iso_code_2, countries_iso_code_3, address_format_id) VALUES (246,'South Sudan','SS','SSD','1');

[15-Apr-2016 15:45:52 America/Denver] MySQL error 1292 encountered during zc_install:
Incorrect datetime value: '0000-00-00 00:00:00' for column 'customers_dob' at row 13
ALTER TABLE zen_customers MODIFY customers_password VARCHAR( 255 ) NOT NULL DEFAULT '';

15 Apr 2016, 9:56 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: ERROR: Could not update to version 1.5.4. We detect that you currently have v1.5.2, a

rainbow_pixie_star:

LAST ONE...
[15-Apr-2016 15:45:52 America/Denver] MySQL error 1062 encountered during zc_install:
Duplicate entry '246' for key 'PRIMARY'
INSERT INTO zen_countries (countries_id, countries_name, countries_iso_code_2, countries_iso_code_3, address_format_id) VALUES (246,'South Sudan','SS','SSD','1');

[15-Apr-2016 15:45:52 America/Denver] MySQL error 1292 encountered during zc_install:
Incorrect datetime value: '0000-00-00 00:00:00' for column 'customers_dob' at row 13
ALTER TABLE zen_customers MODIFY customers_password VARCHAR( 255 ) NOT NULL DEFAULT '';

Okay, those are the issue.

Can you go find out which date was in the filename of the zip you downloaded from SourceForge? There were a few different ones, and the most recent one contains some fixes to deal with the datetime thing.

I think you may need to clean up your countries table though. Not sure how/why you've got extra countries in there.

You ARE doing this upgrade on a separate test copy of your store, right? Not on the live site directly, right?

.
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.

15 Apr 2016, 10:04 PM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: ERROR: Could not update to version 1.5.4. We detect that you currently have v1.5.2, a

You could try running this query on your database using phpMyAdmin: ```
update zen_customers set customers_dob='0001-01-01 00:00:00' where customers_dob='0000-00-00 00:00:00';



And then it would be helpful to know what country in your database has id number 246, and why it's there.

.
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.

15 Apr 2016, 10:09 PM
#8
rainbow_pixie_star avatar

rainbow_pixie_star

Zen Follower

Join Date:
Feb 2012
Posts:
427
Plugin Contributions:
0

Re: ERROR: Could not update to version 1.5.4. We detect that you currently have v1.5.2, a

29th 3rd 2016 it looks like, for the version that I am using. I have just gone on sourceforge to re download and it looks like the same date.
Going to re download it anyway just incase...

15 Apr 2016, 10:20 PM
#9
rainbow_pixie_star avatar

rainbow_pixie_star

Zen Follower

Join Date:
Feb 2012
Posts:
427
Plugin Contributions:
0

Re: ERROR: Could not update to version 1.5.4. We detect that you currently have v1.5.2, a

How do I find out what country in your database has id number 246?

THnaks
A

15 Apr 2016, 10:35 PM
#10
rainbow_pixie_star avatar

rainbow_pixie_star

Zen Follower

Join Date:
Feb 2012
Posts:
427
Plugin Contributions:
0

Re: ERROR: Could not update to version 1.5.4. We detect that you currently have v1.5.2, a

Just tried to type the queery and it says no database selected. I have tried to click the database I want and it does nothing.

15 Apr 2016, 10:40 PM
#11
rainbow_pixie_star avatar

rainbow_pixie_star

Zen Follower

Join Date:
Feb 2012
Posts:
427
Plugin Contributions:
0

Re: ERROR: Could not update to version 1.5.4. We detect that you currently have v1.5.2, a

Managed to get it to work. It says 1 row affected but does not say what?

16 Apr 2016, 3:47 AM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: ERROR: Could not update to version 1.5.4. We detect that you currently have v1.5.2, a

rainbow_pixie_star:

Managed to get it to work. It says 1 row affected but does not say what?
That's fine.

In phpMyAdmin, click on the zen_countries table. Find country_id 246. What is it? What are the ones from 247 onwards, if any?

.
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.

16 Apr 2016, 8:52 AM
#13
rainbow_pixie_star avatar

rainbow_pixie_star

Zen Follower

Join Date:
Feb 2012
Posts:
427
Plugin Contributions:
0

Re: ERROR: Could not update to version 1.5.4. We detect that you currently have v1.5.2, a

Hello,
246 is the last on the list and is South Sudan.

Thank you
Amy

18 Apr 2016, 9:28 AM
#14
rainbow_pixie_star avatar

rainbow_pixie_star

Zen Follower

Join Date:
Feb 2012
Posts:
427
Plugin Contributions:
0

Re: ERROR: Could not update to version 1.5.4. We detect that you currently have v1.5.2, a

Hi,
What do I do after checking the country, listed above?

Thank you
Amy

18 Apr 2016, 5:35 PM
#15
rainbow_pixie_star avatar

rainbow_pixie_star

Zen Follower

Join Date:
Feb 2012
Posts:
427
Plugin Contributions:
0

Re: ERROR: Could not update to version 1.5.4. We detect that you currently have v1.5.2, a

Hello,
I have had another look through the zen_countries and found this...

  • 237 missing,
  • 74 missing,
  • 240 at top of list in stead of being inline with others.

Could that be the issue?

Thank you
A

19 Apr 2016, 1:54 AM
#16
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: ERROR: Could not update to version 1.5.4. We detect that you currently have v1.5.2, a

I'm assuming you're working with at TEST site, to test the upgrade someplace other than your live site.

So, you'll want to re-import the copy of your old database. Then re-run that SQL script I gave you to fix the customers_dob data. Then run zc_install to upgrade the data.

.
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.