priory Posted March 31, 2018 Share Posted March 31, 2018 Hi I am having problems again with upgrading 6.1.13 to 6.1.14 I have extracted and copied the files over as usual using my cpanel they are there but nothing is happening. My shop still shows the old version, when I click ugrade it just refreshes and no difference. I am doing something wrong but what? Quote Link to comment Share on other sites More sharing options...
priory Posted March 31, 2018 Author Share Posted March 31, 2018 (edited) if I go to my shop url www.priorypolishes.co.uk It is now attempting to install a complete new version of 6.1.14 I have deleted the setup folder for safety and now get a 404 error The shop admin seems ok but obviously something is wrong, can I go back to an earlier version and set it right from there? I have reverted back to 6.1.13 ok but the url is still not going where it should. Edited March 31, 2018 by priory more info Quote Link to comment Share on other sites More sharing options...
priory Posted April 1, 2018 Author Share Posted April 1, 2018 (edited) Ok I have tried again to manually instal v6.1.14 and it is just wanting to perform a clean install not an upgrade see below. English (UK) 20% Complete Install CubeCart 6.1.14 Choose this option if you wish to perform a fresh installation of CubeCart. WARNING: By proceeding with this option any existing store data may be overwritten! eCommerce by CubeCart I really could do with pointing in the right direction guys, please. I have deleted the setup folder because joe public could access the fresh install page ! Edited April 1, 2018 by priory Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 1, 2018 Share Posted April 1, 2018 (edited) Please look in the /includes/ folder for global.inc.php. If it's not there, copy it over from your CC6113 installation. (There will be a global.inc.php-dist, but that is not what I am referring to.) If global.inc.php is there, use an editor to view its contents. Make sure that: $glob['installed'] = "1"; $glob['dbdatabase'] = "the_name_of_the_database"; Those two statements are the ones being checked against, however, there are other statements in that need to be in that file that will determine if CubeCart offers an upgrade option. Edited April 1, 2018 by bsmither Quote Link to comment Share on other sites More sharing options...
priory Posted April 1, 2018 Author Share Posted April 1, 2018 Thanks, global.inc.php is empty Where do I locate mycc6113 installation files? Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 1, 2018 Share Posted April 1, 2018 Earlier, you said, "I have reverted back to 6.1.13 ok". By 'revert', how did you do that? Quote Link to comment Share on other sites More sharing options...
priory Posted April 1, 2018 Author Share Posted April 1, 2018 I used the backup page, to be honest my original bacup on the 30th will not work so I used one from yesterday The shop is functioning but the url is not Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 1, 2018 Share Posted April 1, 2018 "The shop is functioning but the url is not" Meaning, nothing crashes, it is just that CubeCart insists it needs to go through the setup process? Try to find a backup file (or a file-by-file backup copy) of your store - from any CC6 version. Extract the global.inc.php file from that and use it. If you have irretrievably lost all copies of any working global.inc.php file, then you will need to use the global.inc.php-dist file, rename it to global.inc.php and complete the necessary values. Quote Link to comment Share on other sites More sharing options...
priory Posted April 1, 2018 Author Share Posted April 1, 2018 (edited) Hi I found a version of the file and it is now working in a fashion, I lost all the skins except foundation so I uploaded my skin (kurouto) and changed the default, but it keeps reverting to foundation! My home url www.priorypolishes.co.uk is still not working in chrome (I get my host logon page) but seems to work in IE If I could trouble you to take a look and advise if I should now try the upgrade again? Chrome now ok, cleared cookies etc. and now loads, just the skin problem and possible upgrade... Edited April 1, 2018 by priory Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 1, 2018 Share Posted April 1, 2018 Is there a folder named /public_html/? If this folder exists, this should be the folder that your website address points to. Or does the web address actually point to /shop/front/? Quote Link to comment Share on other sites More sharing options...
priory Posted April 1, 2018 Author Share Posted April 1, 2018 It has the public html folder, that is the one I extract to for upgrading It seems to just be the skins folders, should I have one in the public folder and one in the shop front folder? which one is accessed when I change it in admin? Incidentally the skins folder I unzipped only has foundation in it and the shop front folder has them all in it I put the other one in the public skin folder to see if it would work but to no avail. Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 1, 2018 Share Posted April 1, 2018 If there is CubeCart's index.php and admin_???.php in the /public_html/ folder, then CubeCart will NOT be using anything in the /shop/ folder. Quote Link to comment Share on other sites More sharing options...
priory Posted April 1, 2018 Author Share Posted April 1, 2018 you are correct, those files are in the public folder, I don't understand why the public skins folder only had one skin "foundation" will it work if I drag the other skin folder from the shop to the public folder? Then there is the question of trying the upgrade again :-) Quote Link to comment Share on other sites More sharing options...
priory Posted April 1, 2018 Author Share Posted April 1, 2018 I just added kurouto using the auto method using the token etc., it worked perfectly then changed back to foundation...very frustrating Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 1, 2018 Share Posted April 1, 2018 CubeCart's session keeps track of the skin that was chosen by the visitor. If you have enabled the visitor to choose the skin, then make that selection and see if it sticks. If the visitor's chosen selection is not retained, then there may be a problem with cookies. I just tried changing the skin using a querystring, and it did not change. So, I conclude in admin, Store Settings, you have disabled the ability for the visitor to change skins. Quote Link to comment Share on other sites More sharing options...
priory Posted April 1, 2018 Author Share Posted April 1, 2018 (edited) Hi again I did have the visitor option disabled, I hav enabled it and it is working, so is the default change in admin, but not for long it just keeps reverting, I have cleared the shop cache and cookies etc.on my pc I have removed the skin folder in the public html folder (moved it) and I am pretty sure it is accessing the skins folder in the shop front. Is there any way to clear the default anywhere because it is remembering it from somewhere? Thanks again for your patience and help. The Admin folder in the public html folder contains a "skins" folder with a file called "default" in it, can this have anything to do with the problem? Edited April 1, 2018 by priory more info Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 1, 2018 Share Posted April 1, 2018 (edited) Removing the Foundation skin folder would definitely cause problems if CubeCart was set to use it. The file fetched from here: http://www.priorypolishes.co.uk/skins/foundation/config.xml exists, so you did not move the skin folder out of public_html -- OR -- your domain points to some folder other than public_html (perhaps /public_html/shop/front/). The admin skin folder is not involved here. Edited April 1, 2018 by bsmither Quote Link to comment Share on other sites More sharing options...
priory Posted April 1, 2018 Author Share Posted April 1, 2018 (edited) I suspect you are correct, my shop/ front/includes folder contains all the same files as we have mentioned earlier( global.inc.php etc.) and the skins folder with all the original skins. How can I determine where my domain points to? Edited April 1, 2018 by priory Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 2, 2018 Share Posted April 2, 2018 You will need to examine the settings in the hosting account's control panel. If you run your own server, then the web server has some sort of a configuration file where host names have directives that specify which folder on the computer the web server should look for files to serve. Quote Link to comment Share on other sites More sharing options...
priory Posted April 2, 2018 Author Share Posted April 2, 2018 I have had a look, I don't run my own server and allI can see in reference is Working directory /home/prioryp/public_html in the program paths At least the shop is operable now, I will just have to tinker with the skins folders until I can get the default to stay on Kurouto, I will at some point have to upgrade again I have a ton of work to do today so I thank you again. Regards, Paul Quote Link to comment Share on other sites More sharing options...
priory Posted April 9, 2018 Author Share Posted April 9, 2018 The default skin seems to be stable now but the www.priorypolishes.co.uk does not show product pictures, yet the www.priorypolishes.co.uk/shop/front/ does, any ideas how to rectify please? Quote Link to comment Share on other sites More sharing options...
macgillivray Posted April 9, 2018 Share Posted April 9, 2018 Looking at the source code for one of your products - <a href="http://www.priorypolishes.co.uk/metal-clock-cleaning-materials/metal-colouring-tourmaline.html" title="Metal Colouring (Tourmaline)"> <img src="" alt="Metal Colouring (Tourmaline)" /> There isn't any information for the product image. Not good enough to sort this out for you! OK, your images for your products should be stored in http://www.priorypolishes.co.uk/images/source Possibly in sub-folders, depending on how you run your site. You can check using your hosting control file manager to see that they're still there at this address. Best I can do Margaret Quote Link to comment Share on other sites More sharing options...
priory Posted April 10, 2018 Author Share Posted April 10, 2018 11 hours ago, macgillivray said: Looking at the source code for one of your products - <a href="http://www.priorypolishes.co.uk/metal-clock-cleaning-materials/metal-colouring-tourmaline.html" title="Metal Colouring (Tourmaline)"> <img src="" alt="Metal Colouring (Tourmaline)" /> There isn't any information for the product image. Not good enough to sort this out for you! OK, your images for your products should be stored in http://www.priorypolishes.co.uk/images/source Possibly in sub-folders, depending on how you run your site. You can check using your hosting control file manager to see that they're still there at this address. Best I can do Margaret thanks Margaret, It looks like they are not in the correct place <img src="http://priorypolishes.co.uk/shop/front/images/cache/tourmalines.270.jpg" alt="Metal Colouring (Tourmaline)" id="preview" style=""> this is showing the picture ok, would upgrading to the latest version correct everything? 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.