scythe000 Posted July 29, 2019 Share Posted July 29, 2019 When I try to do an upgrade, or file backup, it just goes to a white screen and stalls out. Any idea how to fix? Link to comment Share on other sites More sharing options...
havenswift-hosting Posted July 29, 2019 Share Posted July 29, 2019 Check the PHP error_log which will probably show the cause but it is likely that the process is reaching a php limit such as memory or more likely process time Link to comment Share on other sites More sharing options...
scythe000 Posted July 29, 2019 Author Share Posted July 29, 2019 Looks like: [Exception] /home/XXX/classes/db/database.class.php:263 - Class 'ZipArchive' not found Link to comment Share on other sites More sharing options...
bsmither Posted July 29, 2019 Share Posted July 29, 2019 Interesting. The Zlib set of functions is standard in PHP - meaning they typically do not need to distinctly enabled. If GoDaddy gives you a hosting control panel, and in that panel you can make adjustments to what language will run scripts, see if there is a list of optional PHP extensions that need to be enabled. Make sure ZipArchive is enabled, as well as Multi-Byte. (You may need to get GoDaddy's assistance in learning where and how to make this hosting environment change.) Link to comment Share on other sites More sharing options...
scythe000 Posted July 29, 2019 Author Share Posted July 29, 2019 ok, got the Zip option set in CPanel. Now, if i change the language to English (US), and click next, the page refreshes, nothing happens, and I get this in the log: File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'America/Los_Angeles'" - Unknown or incorrect time zone: 'America/Los_Angeles' File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'America/Los_Angeles'" - Unknown or incorrect time zone: 'America/Los_Angeles' If I leave it at English UK, I get this error: File: [catalogue.class.php] Line: [70] "SELECT SQL_CALC_FOUND_ROWS MIN(`live_from`) AS `next_time` FROM `CubeCart_inventory` WHERE `live_from` > UNIX_TIMESTAMP() LIMIT 1;" - Unknown column 'live_from' in 'field list' Crap I'm getting tons of those errors now for some reason Link to comment Share on other sites More sharing options...
bsmither Posted July 30, 2019 Share Posted July 30, 2019 The first error is a known issue. The solution is to have your hosting provider load a database system table with timezone information. This must be done by a server system administrator - database system tables are not to be managed by users. The second error suggests that you are running CubeCart code of a recent version, but the database schema has not been updated to that same version. Link to comment Share on other sites More sharing options...
scythe000 Posted July 30, 2019 Author Share Posted July 30, 2019 Is there any way to force the DB to upgrade? Link to comment Share on other sites More sharing options...
bsmither Posted July 31, 2019 Share Posted July 31, 2019 In admin, there will be an announcement saying the database is not at the level of CubeCart code -- if that is indeed the case. In admin, Maintenance, Upgrade tab, there will be a list of the (database schema) versions installed and when that upgrade to that version happened. So, make sure that a code base version and database schema version mismatch actually exists. You will need to put in place the /setup/ folder of the matching codebase version that is currently installed. Then run www.mystore.com/setup/index.php Link to comment Share on other sites More sharing options...
scythe000 Posted July 31, 2019 Author Share Posted July 31, 2019 There must be a mismatch. It seems to think I'm on 6.2.0-b1, but the upgrade tab says I'm on the latest version Link to comment Share on other sites More sharing options...
scythe000 Posted July 31, 2019 Author Share Posted July 31, 2019 Ok, i don't understand why, but I tried running setup again, and it worked fine! Link to comment Share on other sites More sharing options...
bsmither Posted July 31, 2019 Share Posted July 31, 2019 "What" says you are on CC620b1? In admin, Dashboard, Store Overview tab, what does "CubeCart Version" say? Ok, just got the forum conversation update. You say now all is good? Link to comment Share on other sites More sharing options...
scythe000 Posted July 31, 2019 Author Share Posted July 31, 2019 Yeah, seems that way. The upgrade tab says I'm on 6.2.5, and I used the backup utility to make a file and db backup. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.