Jump to content

Admin Page links wrong


Recommended Posts

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

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

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

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

  • 1 month later...

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...