Claudia M Posted January 8, 2017 Share Posted January 8, 2017 Thought I upgraded to 6.1.3 but now I'm not so sure: In dashboard - store overview - it says CubeCart version 6.1.2 In maintenance - upgrade - is says I'm using the latest version and 6.1.3 is shown I've also noticed that I don't have some of the upgrades. My filemanger is the older version - doesn't have the new add product / images create folder, etc..... On a positive note, the problem I had in a previous post where I wasn't informed on the dashboard of new version or extensions available has fixed itself. Also this - on the release notification: Important Release Notes From 6.1.2 CubeCart requires ZipArchive which replaces the old PclZip library which hasn't been developed since 2009. Please verify that your PHP configuration has ZipArchive support prior to upgrading. We have attached a PHP script (ziparchive-check.php) which can be used to verify prior to upgrade. How do you use that ziparchive-check.php? Thanks in advance, Claudia Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 8, 2017 Share Posted January 8, 2017 Place the 'ziparchive-check.php' file in CubeCart's main folder (or anywhere, actually, such as your Wordpress main folder), then have the browser ask for it:www.mystore.com/ziparchive-check.php It may be the case where your browser is still using the prior version's copy of CubeCart javascript files - having internally cached them. Please force your browser to reload all the page's resources (images, CSS, and javascript files). Quote Link to comment Share on other sites More sharing options...
Claudia M Posted January 8, 2017 Author Share Posted January 8, 2017 My ziparchive is fine. I forced the upgrade and when that didn't do anything I manually installed 6.1.3 again. Cleared my history in Firefox several times. Still ... In dashboard - store overview - it says CubeCart version 6.1.2 In maintenance - upgrade - is says I'm using the latest version and 6.1.3 is shown I've also noticed that I don't have some of the upgrades. My filemanger is the older version - doesn't have the new add product / images create folder, etc..... I tried in IE and got the same thing Also when I clear the browsers cache I get the red bar "you're running 6.1.2 but 6.1.3 is available. I click upgrade now and it takes me to maintenance where is says I am up to date. Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 8, 2017 Share Posted January 8, 2017 I would ask that you be aware about something: there is the CubeCart codebase (the stated version can be found in the file ini.inc.php), and the CubeCart database configuration (the schema - the last version can be found in the database table CubeCart_history). Both statements can lie as there is no actual comparison check to make sure the entirety of the codebase is, in fact, the version stated, and there is no actual comparison check to make sure the entirety of the database conforms to any specific schema. These are the only two places CubeCart has available to know what version it is running (code and database). CubeCart is clear when it is referring to the codebase, and when it is referring to the database schema. The above does not dismiss the weirdness you are observing with respect to one page saying one thing and another page saying something different. It will be looked into. According to a bug report by Havenswift-Hosting, the upgrade created a new admin folder. Please view the contents of your site and determine if there are more than one of the administrative folder. Next, look at the contents of /includes/global.inc.php for the value of $glob['adminFolder']. The value here and the name of the most recent administrative folder installed must match. Quote Link to comment Share on other sites More sharing options...
Claudia M Posted January 8, 2017 Author Share Posted January 8, 2017 I reinstalled 6.1.3 and both the dashboard and maintenance are showing 6.1.3 now. I do have 2 admin folders checking in control panel. One just admin the other with my new admin prefix. the first 2 lines of the includes/globals.inc.php: $glob['adminFile'] = 'admin_xxxxxx'; $glob['adminFolder'] = 'admin_xxxxxx - different than above'; When I click on add product / images I still get the old screen - none of the options in the 6.1.3 upgrade to create a folder, etc. Am I missing something? Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 8, 2017 Share Posted January 8, 2017 The ['adminFile'] should have a value with a .php suffix. Then, how I read your message is that there is an administrative folder named /admin/, another administrative folder named /admin_aaaaaa/, and that ['adminFolder'] has a value "admin_zzzzzz". For the ['adminFile'] value, does that filename exist? Does the file admin.php also exist? Quote Link to comment Share on other sites More sharing options...
Claudia M Posted January 8, 2017 Author Share Posted January 8, 2017 Folder: public_html/admin Folders within public_html/admin: skins, sources Files within public_html/admin: .htaccess, index.php Folder: public_html/admin_SRxxxx Folders within public_html/admin_SRxxxx: skins, sources, styles Files within public_html/admin_SRxxxx: .htaccess, index.php public_html/includes/global.inc.php (last modified Yesterday) <?php $glob['adminFile'] = 'admin_Pcxxx.php'; $glob['adminFolder'] = 'admin_SRxxxx'; $glob['dbdatabase'] = 'xxx'; $glob['dbhost'] = 'localhost'; $glob['dbpassword'] = 'xxx'; $glob['dbprefix'] = ''; $glob['dbusername'] = 'xxx'; $glob['installed'] = '1'; $glob['cache'] = 'file'; ?> There are four other public_html/includes/global.inc.php files in Control Panel too but they have numbers at the end of the file. public_html/includes/global.inc.php-2017010792612.php (dated yesterday has the adminFile and adminFolder from upgrading to 6.1.1 (or the upgrade that first used this) Last modified 11-20-16 All have 0444 for permissions URL when I log in to admin: https://www.claudiasbargains.com/admin_Pcxxx.php? Yes there is a public_html/admin.php (modified today permissions 0644) There is also a public_html/admin_Pcxxx.php (modified 11-1-16 permissions 0755) Of course you know the xxx are just blocking the actual Quote Link to comment Share on other sites More sharing options...
Claudia M Posted January 8, 2017 Author Share Posted January 8, 2017 I just went to the github and was looking thru the issues that were handled with 6.1.2. It seems that when an admin file was modified, it modified the actual admin file not the secured admin file (admin_SRxxx) Quote Link to comment Share on other sites More sharing options...
Claudia M Posted January 9, 2017 Author Share Posted January 9, 2017 Any idea what I should do? Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted January 9, 2017 Share Posted January 9, 2017 You could save your renamed admin file, and then rename the admin.php file to match your admin_SRxxx naming. Quote Link to comment Share on other sites More sharing options...
Claudia M Posted January 9, 2017 Author Share Posted January 9, 2017 Thanks Rosemary, but I don't really understand any of this! Why can't upgrading just be simple!!!! I have a file called admin.php. Then I have a file named admin_PCxxxx.php. The Pcxxxx is what my admn login is. What would renaming it to admin_SRxxx.php do? Do I delete the admin.php file? Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted January 9, 2017 Share Posted January 9, 2017 This upgrade confusion is a new wrinkle - hasn't always been this way - and will be solved soon. I don't know if anything is different between the admin.php and your admin_SRxxx.php. If the same, you can delete admin.php - do NOT leave both - that I'm sure of. Quote Link to comment Share on other sites More sharing options...
Claudia M Posted January 9, 2017 Author Share Posted January 9, 2017 I don't have a admin_SRxxx.php. I have PCxxxx.php and admin.php. I have a folder named admin_SRxxx and a folder named admin Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted January 9, 2017 Share Posted January 9, 2017 If PCxxx.php logs you into admin - then keep it. Are the contents identical to what's in admin.php? If so, delete admin.php. Quote Link to comment Share on other sites More sharing options...
Claudia M Posted January 10, 2017 Author Share Posted January 10, 2017 I had an admin and an admin_SRxxxx folder. All the edits were in the admin folder. I deleted the admin_SRxxx and renamed the admin to admin_SRxx. Everything seems to be working now. I had upgraded manually as my 6.1 had not informed me an upgrade was available. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted January 10, 2017 Share Posted January 10, 2017 Great! I hope for everyone's sake they've fixed all the upgrade process bugs this time! Quote Link to comment Share on other sites More sharing options...
Wairds Posted January 14, 2017 Share Posted January 14, 2017 Can I jump in on this. I recently upgraded to 6.1.3 and my site seems to be operating ok but I have come across these two admin folders. One is simply called 'admin' which appears to be the most current from the dates and the other called 'admin_GOxxxx' the contents of which are older. My global.inc.php contains the following: $glob['adminFile'] = 'admin_iHxxxx.php'; $glob['adminFolder'] = 'admin_GOxxxx'; The admin_iHxxxx.php forms part of the URL I use to access the Admin Control Panel. I have tried to follow the thread on this post but became confused. Do I need to make any changes? Thanks in anticipation. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted January 14, 2017 Share Posted January 14, 2017 I tried a CC upgrade on our test site just to see what would happen, and it made a huge mess of renamed and left alone admin file/folder. After comparing with file difference software, I was convinced that only the naming was different, not the contents. So I deleted the admin/folder that CC had just created and went back to using my own renamed admin.php file and admin folder. You do NOT have to keep the security naming format of admin_XXXX, if you want something else. Just be 100% sure that global.inc.php information matches your naming. Quote Link to comment Share on other sites More sharing options...
Wairds Posted January 14, 2017 Share Posted January 14, 2017 Many thanks for getting back to me. If I understand you correctly the change I need to make is that as 'admin' appears to be the most current folder make $glob['adminFolder'] = 'admin'; Instead of $glob['adminFolder'] = 'admin_GOxxxx'; Am I correct. Thanks once again. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted January 14, 2017 Share Posted January 14, 2017 Don't use just admin. That was the whole point of making this change in naming system. With every CC install of every possible version using the same way to get into the backend - it was giving hackers an easier time. This is a security based change. You could name the folder peppermint and the file wintergreen.php if you wanted to - names are entirely up to you - it just has to exactly MATCH what you have as the names in global.inc.php! Quote Link to comment Share on other sites More sharing options...
Wairds Posted January 14, 2017 Share Posted January 14, 2017 Forgive my obtuseness, i understand the reasoning behind the naming. I am trying to tidy up my web space and remove spurious and redundant items. As folder 'admin' is not referenced in global.inc.php is it safe to delete it? Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted January 14, 2017 Share Posted January 14, 2017 yes - in fact it's necessary No need to apologize at all! This is very confusing, and I'm not the best at giving directions about this stuff. 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.