philippagreen Posted January 14, 2016 Share Posted January 14, 2016 Hi Guys, I have quite a few V6 Cubecart 6.0.8 stores and was wondering which files have changed from v6.0.8 to v6.0.9 please. Also, because a lot of the styles were changed to affect the look of each web site, will clicking on the upgrade button in the backend mean all the CSS will need to be uploaded again? Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted January 14, 2016 Share Posted January 14, 2016 There are many many tools available to get a list of changed files (WinDiff, Beyond Compare etc) but a list of changed files is not published by the CubeCart developers although Brian and myself sometimes create and upload one - however it is an easy task to do yourself.If you changed core files including in the Foundation skin, then these will be overwritten. It is always best to create a new skin if you are making changes and then apply any skin changes to your custom skinIan Quote Link to comment Share on other sites More sharing options...
philippagreen Posted January 14, 2016 Author Share Posted January 14, 2016 Yes that's a good idea, I never thought of creating a custom skin, can I do a copy and paste job from the Foundation Skin I altered to make it a new one before upgrading? Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 14, 2016 Share Posted January 14, 2016 You will want to do four things:1. Copy 'Foundation' to 'nameOfWebsite' (easy way to keep them straight).2. In the custom copy of the skin, edit config.xml as appropriate.3. Clear your cache.4. Set your store to use that custom copy.Then do the upgrade. Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted January 14, 2016 Share Posted January 14, 2016 (edited) Brian has given the steps to create a custom front end skin. If you have made changes to the admin skin or any other core files then additional work is required. If you have only changed the front end skin, then follow these and you are good to go although it is still a good idea to check for skin changes between versions and apply those to your new custom skinIan Edited January 14, 2016 by havenswift-hosting Quote Link to comment Share on other sites More sharing options...
philippagreen Posted January 14, 2016 Author Share Posted January 14, 2016 Thank you, I'll do that :-D Quote Link to comment Share on other sites More sharing options...
harrisorganic Posted January 14, 2016 Share Posted January 14, 2016 My admin page is not showing an upgrade is required from 6.08 to 6.09. This is not normal, usually when I log in I get a banner in red. Anyone else (not) seeing this? Quote Link to comment Share on other sites More sharing options...
philippagreen Posted January 15, 2016 Author Share Posted January 15, 2016 all five of mine are showing the upgrade banner Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted January 15, 2016 Share Posted January 15, 2016 Also no problems with any of our 100 plus hosted websites ! Quote Link to comment Share on other sites More sharing options...
harrisorganic Posted January 16, 2016 Share Posted January 16, 2016 Even after rebooting my PC, and logging in to the admin page there is no upgrade notice. What would happen if I clicked on Force upgrade? Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 16, 2016 Share Posted January 16, 2016 Nothing logged in the error logs?Do you get the list of News & Announcements on the Dashboard?Just to confirm, you are actually logging in to admin? After logging in, you are shown the Dashboard and this message will appear only that one time. Visit any other page and return to the Dashboard -- the message is no longer shown. Until you actually logout then log in. Quote Link to comment Share on other sites More sharing options...
harrisorganic Posted January 16, 2016 Share Posted January 16, 2016 Here is the error log from yesterday and screen shots of the upgrade page and Dashboard. As you can see there is no upgrade advice. [15-Jan-2016 15:24:25 Australia/Perth] PHP Warning: array_merge() [<a href='http://docs.php.net/manual/en/function.array-merge.php'>function.array-merge.php</a>]: Argument #2 is not an array in /home1/maketext/public_html/harrisorganicwine/shop/admin/sources/orders.index.inc.php on line 238[15-Jan-2016 09:00:47 UTC] PHP Warning: Stored session data did not match DB record. Session aborted as possible session hijack. Old IP Address: '58.84.162.133' New IP Address: '58.84.162.133' Old User Agent: 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36' New User Agent: 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36' in /home1/maketext/public_html/harrisorganicwine/shop/classes/session.class.php on line 651 Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 16, 2016 Share Posted January 16, 2016 For some reason, when your store makes a request to cubecart.com to get a version check, the response is something that when compared to the constant CC_VERSION (set in ini.inc.php), the result of the comparison is false-like - which means there is no need to upgrade.In admin/sources/maintenance.index.inc.php, find near line 555:## Check current version if ($request = new Request('www.cubecart.com', '/version-check/'.'2.3.22')) { $request->skiplog(false); // was true $request->setMethod('get'); Change the skiplog argument to false (as shown above). Visit the Maintenance page, then view the Request log.Let us know what the Request/Response was for that request. Quote Link to comment Share on other sites More sharing options...
harrisorganic Posted January 16, 2016 Share Posted January 16, 2016 After changing $request->skiplog(false); // was truetheRequest Log showsDate Yesterday, 16:25Request Sent - https://www.cubecart.com/version-check/2.3.22version=6.0.8Response received<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>400 Bad Request</title> </head><body> <h1>Bad Request</h1> <p>Your browser sent a request that this server could not understand.<br /> Reason: You're speaking plain HTTP to an SSL-enabled server port.<br /> Instead use the HTTPS scheme to access this URL, please.<br /> </p> <p>Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.</p> </body></html> Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 17, 2016 Share Posted January 17, 2016 That's weird -- the request is being made using the https protocol.Maybe there is an issue with your cache, although while in admin, the cache is supposed to be disabled.Look in the /cache/ folder for any file that starts with request. and delete it -- that is, if you are using a file-based cache. Quote Link to comment Share on other sites More sharing options...
harrisorganic Posted January 17, 2016 Share Posted January 17, 2016 Is this it, found in skin folder? Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 17, 2016 Share Posted January 17, 2016 No. Not that. It will not be in the /cache/skin/ folder. Quote Link to comment Share on other sites More sharing options...
harrisorganic Posted January 17, 2016 Share Posted January 17, 2016 Nothing here re request. Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 17, 2016 Share Posted January 17, 2016 I have no other ideas (other than to make some off-the-wall experiments to be discussed in email).Maybe your hosting account's server wants to use a SSL protocol that CubeCart's web server does not do anymore -- but that's a really wild guess. Quote Link to comment Share on other sites More sharing options...
harrisorganic Posted January 17, 2016 Share Posted January 17, 2016 Possibility that my htaccess file was providing some miss info/redirects. two days ago I simplified it, ie removing all the bells and whistles. I really need someone who knows htaccess syntax, it is not my field. About to put a contract on upwork for some one to look at it. Yep, wild guessing.! Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 17, 2016 Share Posted January 17, 2016 I would say .htaccess has no influence in this situation. The .htaccess file is interpreted by the web server that is handling page requests to your web site.This situation involves PHP making a page request from your script to someone else's web server. This action does not involve your web server. Quote Link to comment Share on other sites More sharing options...
harrisorganic Posted January 23, 2016 Share Posted January 23, 2016 Hi Brian,now that 6.0.10 is out I still have no notice of an upgrade the above screen shots and request log are the same.I will PM you. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted January 23, 2016 Share Posted January 23, 2016 Please double check Upgrade History. I had expected to find the record of upgrading to 6.0.10 at the top, but instead of being listed by install dates, it's sorted numerically. That put the 6.0.10 version history entry right after 6.0.0. Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 25, 2016 Share Posted January 25, 2016 Found the essential problem.1. harrisorganic's server does not have cURL available. So, fsockopen() was being used.2. There is missing needed data in the Request class for the call to fsockopen().And then there is:3. The download setup in admin, Maintenance did not specify to use GET (instead defaulted to POST).https://github.com/cubecart/v6/issues/983 Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted January 25, 2016 Share Posted January 25, 2016 Surprised that any server these days doesn't have cURL installed and can't see a reason for it not to be. Good catch though BrianIan Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.