Brian T Posted January 22, 2019 Share Posted January 22, 2019 Hello, I've just clicked the link to upgrade to the newest version of Cubecart. After a second or so the browser went to a white "Can't find this page screen", and now when I go to the admin page www.mentalstarters.co.uk/admin.php I'm just getting the "404 - Page not found" message. The website itself appears to be there Help please Link to comment Share on other sites More sharing options...
Brian T Posted January 22, 2019 Author Share Posted January 22, 2019 Still not working Link to comment Share on other sites More sharing options...
havenswift-hosting Posted January 22, 2019 Share Posted January 22, 2019 It is highly likely that the upgrade has failed and you are running a mix of versions - depending on what version you were upgrading from, this was a known issue and you will need to do a manual upgrade to fix the problem. Newer version of CubeCart rename the admin.php file to admin_xxxxxx.php where xxxxxx is a random set of letters so that is why the old admin.php is not working but the problem was that happened while upgrading occurred after the rename but before the upgrade had completed. Ian Link to comment Share on other sites More sharing options...
Brian T Posted January 22, 2019 Author Share Posted January 22, 2019 Thanks. I don't as yet know how to do a manual upgrade - Is it easy to do? Link to comment Share on other sites More sharing options...
Brian T Posted January 22, 2019 Author Share Posted January 22, 2019 Could anyone possibly tell me how to carry out a manual upgrade, as I still can't access the admin area of my store? Many thanks, Link to comment Share on other sites More sharing options...
bsmither Posted January 22, 2019 Share Posted January 22, 2019 We ask that you first log in to your hosting account's control panel (Cpanel?) and use the File Manager to determine the names of the administration script and the administration folder. Look for all instances of files and folders that begin with admin. If you have a PHP script that begins with admin, but then also has as part of its name an underscore followed by a series of random letters (i.e., admin_aBcDeF.php), then this is the web address you will need to use to get into the admin of your store: www.mystore.com/admin_aBcDeF.php. Link to comment Share on other sites More sharing options...
Brian T Posted January 22, 2019 Author Share Posted January 22, 2019 I think there used to be a folder called admin (as I have a backup from a year or so ago of such a folder), but there's none in there (when looking using a FTP program). I can see some php scripts under the list of folders which begin with admin. The are called: admin_enc_ion.php admin_php5.2_enc_zend.php admin_php5.3_enc_zend.php It's not showing any of these as having been altered since 2013. I can't get into the admin section using any of these - the first one just give a blank page, and the last two come up with pages which mention ZEND guard missing. Link to comment Share on other sites More sharing options...
bsmither Posted January 22, 2019 Share Posted January 22, 2019 Those files listed above are remnants of a prior version of CubeCart 5. Although present, they will be ignored as long as there is an administrative script for CubeCart 6. Because you find neither an /admin/ folder or an admin PHP script, we now advise you to FTP a complete package of (uncompressed) CC622 files and folders to your site. Do not delete anything yet, but allow the FTP to overwrite ("merge" is the proper term for one certain FTP program for the Mac) existing files. Link to comment Share on other sites More sharing options...
Brian T Posted January 22, 2019 Author Share Posted January 22, 2019 Ok - I'll do that now and see what happens after that Link to comment Share on other sites More sharing options...
Brian T Posted January 22, 2019 Author Share Posted January 22, 2019 It all seems to be working again. Many thanks. I see it's using pHp version 5.6.39, but my web provider have e-mailed today to say that I should upgrade to version 7.2. I can do this using my 1 and 1 login page. If I upgrade, will cubecart still work? Link to comment Share on other sites More sharing options...
bsmither Posted January 22, 2019 Share Posted January 22, 2019 Yes, CC622 will work with PHP 7.2. Be aware, however, plugins provided by some third-parties will need to have new versions replace older versions. These plugins require the ionCube loader, and ionCube is such that there are specific versions of the loader for respective versions of PHP, and also that PHP code that requires the loader be "compiled" against that specific version of the loader being used. That is, if upgrade PHP, then also upgrade the ionCube loader to match, then the plugin author will need to recompile their PHP scripts against that new loader version, and the plugin user replaces the previous version of the plugin with the new version. Also, there are PHP extensions that CubeCart 622 needs that have, on the rare occasion, not been enabled with PHP 7: ZIPArchive and MBString. So, in admin, PHP Info, scroll through the tables verifying the presence of these extensions. Link to comment Share on other sites More sharing options...
Brian T Posted January 22, 2019 Author Share Posted January 22, 2019 That's fantastic. Once again, many thanks for your help. It's really appreciated. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.