MJPMalc Posted May 23, 2019 Share Posted May 23, 2019 Hello everyone, On my Admin login page I have a problem that the links do not seem to work when doing a backup, Upgrade or anything else? https://www.mjpcomputerservices.co.uk/shop/?_g=maintenance&node=index#upgrade ---- this is what shows when you hover on the buttons in Admin https://www.mjpcomputerservices.co.uk/shop/admin.php?_g=maintenance&node=index#upgrade ---- I have noticed the wording in RED is missing, when I type the missing part into the address it will work!!! if I just click on say the backup button it takes me to my stores home page? Link to comment Share on other sites More sharing options...
havenswift-hosting Posted May 23, 2019 Share Posted May 23, 2019 What version of CubeCart are you using - if I remember correctly, this was a problem quite a few versions ago. If on anything other than the latest version, then upgrade which will also obfuscate the admin.php (and admin directory) for you to help protect against automated bots Ian Link to comment Share on other sites More sharing options...
bsmither Posted May 23, 2019 Share Posted May 23, 2019 You are taken to the store's homepage because, as you noticed, the document's name is missing (admin.php). Therefore, the web browser, having been configured with a directive to use a specified list of default document names, will use index.php as the first found document. Please examine the file /includes/global.inc.php. There must be $glob array elements for the adminFolder and adminFile, and they must match the actual names of the administration folder and file. Link to comment Share on other sites More sharing options...
MJPMalc Posted May 24, 2019 Author Share Posted May 24, 2019 It's the latest version, I think it's a bit of a mess so I am going to reinstall and then restore from backup.. Link to comment Share on other sites More sharing options...
havenswift-hosting Posted May 24, 2019 Share Posted May 24, 2019 You should not need to re-install - simply (and correctly as detailed in several posts on here) do a manual upgrade and that overwrites all distribution files. The problem you probably have is that you may have done one or or upgrades incorrectly Ian Link to comment Share on other sites More sharing options...
MJPMalc Posted May 24, 2019 Author Share Posted May 24, 2019 I found that if I deleted admin_123ABC file/folder it all works apart from newsletters? the link it goes to is --- https://www.mjpcomputerservices.co.uk/shop/admin.php?_g=customers&node=email but it shows just a plain white page? Also when I uploaded the setup folder and run it, my store is up-to date message shows Link to comment Share on other sites More sharing options...
MJPMalc Posted July 5, 2019 Author Share Posted July 5, 2019 Just done an order but on changing Pending to Processing I get a plain white page ? Link to comment Share on other sites More sharing options...
bsmither Posted July 5, 2019 Share Posted July 5, 2019 Please create the error_log. The reason may be logged there. Link to comment Share on other sites More sharing options...
MJPMalc Posted July 5, 2019 Author Share Posted July 5, 2019 It's rather long, I can't even do a restore!! Just got this error log -- -- System Error Log [Clear error logs] Date Message Today, 17:58 File: [controller.admin.pre_session.inc.php] Line: [26] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:58 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:58 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:58 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:58 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:58 File: [controller.admin.pre_session.inc.php] Line: [26] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:58 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:58 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:58 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:58 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:58 File: [controller.admin.pre_session.inc.php] Line: [26] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:58 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:57 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:57 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:57 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:57 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:57 File: [controller.admin.pre_session.inc.php] Line: [26] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:57 File: [controller.admin.pre_session.inc.php] Line: [26] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:57 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:57 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:57 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:57 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:57 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:57 File: [controller.admin.pre_session.inc.php] Line: [26] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:57 [Exception] /home/sites/mjpcomputerservices.co.uk/public_html/shop/includes/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:7 - Syntax error in template "string: Thank You {$DATA.first_name}! "> Today, 17:57 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:57 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:57 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:57 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:57 File: [controller.admin.pre_session.inc.php] Line: [26] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:57 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:57 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:57 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:57 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:57 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:57 File: [controller.admin.pre_session.inc.php] Line: [26] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:57 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:57 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:57 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:57 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:57 File: [controller.admin.pre_session.inc.php] Line: [26] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:56 File: [controller.admin.pre_session.inc.php] Line: [26] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:56 [Exception] /home/sites/mjpcomputerservices.co.uk/public_html/shop/includes/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:7 - Syntax error in template "string: Thank You {$DATA.first_name}! "> Today, 17:56 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:56 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:56 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:56 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:56 File: [controller.admin.pre_session.inc.php] Line: [26] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:56 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:56 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:56 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:56 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:56 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:56 File: [controller.admin.pre_session.inc.php] Line: [26] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:56 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:56 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:56 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:56 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:56 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:56 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:56 File: [controller.admin.pre_session.inc.php] Line: [26] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:56 File: [controller.admin.pre_session.inc.php] Line: [26] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:56 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:56 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:56 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:56 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:56 File: [controller.index.inc.php] Line: [27] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' Today, 17:55 File: [controller.admin.pre_session.inc.php] Line: [26] "SET @@time_zone = 'Europe/London'" - Unknown or incorrect time zone: 'Europe/London' If I hover on the order number the link is - https://www.mjpcomputerservices.co.uk/shop/?_g=orders&action=edit&order_id=190705-121935-2902 BUT it goes to a blank white page ? the link above has the admin.php missing for some reason ? This is the blank page link - https://www.mjpcomputerservices.co.uk/shop/admin.php?_g=orders&action=edit&order_id=190705-121935-2902&source=dashboard Link to comment Share on other sites More sharing options...
bsmither Posted July 6, 2019 Share Posted July 6, 2019 One of your email content templates has become damaged. Fixing it may be somewhat difficult, or very easy if you do not want to keep any changes. I recommend that you use phpMyAdmin (or some other database utility) to manually make the fix. It will be the Cart: Order Confirmation record in CubeCart_email_content. Link to comment Share on other sites More sharing options...
MJPMalc Posted July 6, 2019 Author Share Posted July 6, 2019 OK, how do I make changes, I have logged into phpMyAdmin and found the database part Link to comment Share on other sites More sharing options...
MJPMalc Posted July 6, 2019 Author Share Posted July 6, 2019 8 hours ago, bsmither said: One of your email content templates has become damaged. Fixing it may be somewhat difficult, or very easy if you do not want to keep any changes. I recommend that you use phpMyAdmin (or some other database utility) to manually make the fix. It will be the Cart: Order Confirmation record in CubeCart_email_content. Link to comment Share on other sites More sharing options...
bsmither Posted July 6, 2019 Share Posted July 6, 2019 We ask that you read this conversation and follow the instructions there. https://forums.cubecart.com/topic/54860-625-edit-email-content-goes-crazy/?tab=comments#comment-237955 Link to comment Share on other sites More sharing options...
MJPMalc Posted July 8, 2019 Author Share Posted July 8, 2019 OK, all sorted now, thanks bsmither Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.