tucstore Posted February 11, 2021 Share Posted February 11, 2021 hi guys it seems that my clear cache button is missing i never knew it existed until i saw a screenshot of someones Link to comment Share on other sites More sharing options...
Al Brookbanks Posted February 11, 2021 Share Posted February 11, 2021 This will be for one of two reasons. 1. Caching may be disabled. Check the Advanced section of your stores settings. 2. Your store isn't on the latest version of be using a mix of version code. It's common for the admin_xxx folder to have outdated content. Please make sure upgrade has completed successfully and the admin folder contains latest files. Link to comment Share on other sites More sharing options...
tucstore Posted February 11, 2021 Author Share Posted February 11, 2021 option 1 is enabled already option 2 : please may i have instructions on how to do that please Link to comment Share on other sites More sharing options...
Al Brookbanks Posted February 11, 2021 Share Posted February 11, 2021 Sure .. https://support.cubecart.com/hc/en-gb/articles/360003794198-How-do-I-upgrade-from-CubeCart-v6-to-latest-v6- Read the important note at step 2! That's vital. Link to comment Share on other sites More sharing options...
tucstore Posted February 11, 2021 Author Share Posted February 11, 2021 which global inc do i use theres 16 in that folder Link to comment Share on other sites More sharing options...
bsmither Posted February 11, 2021 Share Posted February 11, 2021 The one that is spelled exactly as global.inc.php. Link to comment Share on other sites More sharing options...
tucstore Posted February 11, 2021 Author Share Posted February 11, 2021 am i allowed to delete the other 15? they have a string of numbers after the name Link to comment Share on other sites More sharing options...
bsmither Posted February 11, 2021 Share Posted February 11, 2021 Those are date-time stamps when CubeCart made a backup of global.inc.php. The only version of that file that is of critical importance is one that spelled exactly as global.inc.php. The other versions of that file can be deleted if you really want to. Link to comment Share on other sites More sharing options...
tucstore Posted February 11, 2021 Author Share Posted February 11, 2021 can you confirm that this file to be deleted also global.inc.php-dist Link to comment Share on other sites More sharing options...
bsmither Posted February 11, 2021 Share Posted February 11, 2021 I can confirm that you can delete that file if you really want to. Link to comment Share on other sites More sharing options...
tucstore Posted February 11, 2021 Author Share Posted February 11, 2021 ok so i have checked the global and all seems ok and i have reinstalled the new cubecart and the button is still missing x Link to comment Share on other sites More sharing options...
Al Brookbanks Posted February 11, 2021 Share Posted February 11, 2021 What was involved with reinstalling? The store will still have old file if this issue remains. We have a managed support service if you would like us to do this for you. Link to comment Share on other sites More sharing options...
tucstore Posted February 11, 2021 Author Share Posted February 11, 2021 it said you already have the latest one installed i overwritten all the files to the newer files Link to comment Share on other sites More sharing options...
Al Brookbanks Posted February 11, 2021 Share Posted February 11, 2021 If the cache button is missing then your store has not been fully upgraded to the latest version as the HTML code in the admin template folder to show it is not there. In other words it's still code from an older version. This means its running a mix of old and new code. Link to comment Share on other sites More sharing options...
tucstore Posted February 11, 2021 Author Share Posted February 11, 2021 ok can you tell me what files contain the old html please Link to comment Share on other sites More sharing options...
Al Brookbanks Posted February 11, 2021 Share Posted February 11, 2021 The admin folder as described in the upgrade instructions. Link to comment Share on other sites More sharing options...
tucstore Posted February 11, 2021 Author Share Posted February 11, 2021 ok please explain which files in the admin folder need to be changed as i have already overwritten all files using the new version Link to comment Share on other sites More sharing options...
Al Brookbanks Posted February 11, 2021 Share Posted February 11, 2021 Well that's just it, you can't have done. Please try again. Link to comment Share on other sites More sharing options...
tucstore Posted February 11, 2021 Author Share Posted February 11, 2021 just did it again via ftp and still same it must be a file that is not in the latest zip please tell me the file it needs to be Link to comment Share on other sites More sharing options...
tucstore Posted February 12, 2021 Author Share Posted February 12, 2021 is it normal to have 2 admin folders on the server folder 1 admin folder 2 admin_XXXXXXXX Link to comment Share on other sites More sharing options...
bsmither Posted February 12, 2021 Share Posted February 12, 2021 This is not normal, but regularly happens when an attempt to upgrade does not go correctly. Please examine the date:time of both folders. Which one is the newest? Then, for the file /includes/global.inc.php, examine its date:time. Examine the contents of global.inc.php. There will be statement that references the adminFolder. What does it equal? If we assume that the newest date of the several administration folders is the latest version, then the value for the adminFolder statement must match that foldername exactly. But, you say you FTP'd a version of CubeCart to your site. Well, that will then be the latest version of the codebase. Only after CubeCart successfully completes the "setup" process, does the folder /admin/ get changed to /admin_AbCdEf/ and the global.inc.php file get updated to reference the newly named administration folder. Link to comment Share on other sites More sharing options...
tucstore Posted February 12, 2021 Author Share Posted February 12, 2021 my global points to admin_xxxxxxx when i install a new version of cubecart my global points to admin_xxxx but the admin folder is were it places the new version of admin contents as the newest version of cubecart has a admin folder in its .zip when i drag it over admin_xxx has not been updated since 2019 as all admin folder contents have been going into admin folder in ftp not the admin_xxx im guessing we are now leading to deleting admin_xxx and then re running /setup and it will generate a brand new admin_xxxx as my current admin_xxx hasnt been touched since 2019 Link to comment Share on other sites More sharing options...
tucstore Posted February 12, 2021 Author Share Posted February 12, 2021 still awaiting answer thank you Link to comment Share on other sites More sharing options...
bsmither Posted February 13, 2021 Share Posted February 13, 2021 I hear you say there is both a folder named /admin/ and /admin_XXXX/. Also, /admin_XXXX/ is suspect because it is older than a year. As an experiment, in the file /includes/global.inc.php, edit that file as follows (note, you may need to switch off that file's 'read-only' status): Find: $glob['adminFolder'] = 'admin_XXXX'; Change to: $glob['adminFolder'] = 'admin'; This will cause CubeCart to use the freshly FTP'd admin folder on your site. Hopefully, the button will now be present. Link to comment Share on other sites More sharing options...
tucstore Posted February 13, 2021 Author Share Posted February 13, 2021 clear cache is now visible x thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.