Jump to content
Sign in to follow this  
MJPMalc

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?

Share this post


Link to post
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

Share this post


Link to post
Share on other sites
Posted (edited)

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.

Edited by bsmither

Share this post


Link to post
Share on other sites

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..

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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

 

Share this post


Link to post
Share on other sites
Posted (edited)

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

Edited by MJPMalc

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites
Posted (edited)
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.

 

Edited by MJPMalc

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...