Post by Jillkm » Sun Aug 15, 2021 10:04 pm

I have been getting a blank page when signing in to admin on my site.

Opencart 2.0.3 (I think, can't get in to admin to double check).

This is what I was doing at the time when it decided to blank out.

I had uploaded the square extension and when I went to refresh the modifications the page went blank.
I signed back in to admin to see a blank page and that continues to happen.
I have checked my error logs and not a mention of any issue in any of them

The fronted of the site runs fine, just the backend has gone poof.

Spent a few hours with tech support with my host and they are trying to figure it out. They are sure it is a configure.php problem.

This is the code from my root config.php file:

<?php
// HTTP
define('HTTP_SERVER', 'https://jkmorganpets.com/shop/');

// HTTPS
define('HTTPS_SERVER', 'https://jkmorganpets.com/shop/');

// DIR
define('DIR_APPLICATION', '/home2/carnafe1/public_html/shop/catalog/');
define('DIR_SYSTEM', '/home2/carnafe1/public_html/shop/system/');
define('DIR_LANGUAGE', '/home2/carnafe1/public_html/shop/catalog/language/');
define('DIR_TEMPLATE', '/home2/carnafe1/public_html/shop/catalog/view/theme/');
define('DIR_CONFIG', '/home2/carnafe1/public_html/shop/system/config/');
define('DIR_IMAGE', '/home2/carnafe1/public_html/shop/image/');
define('DIR_CACHE', '/home2/carnafe1/public_html/shop/system/storage/cache/');
define('DIR_DOWNLOAD', '/home2/carnafe1/public_html/shop/system/storage/download/');
define('DIR_LOGS', '/home2/carnafe1/public_html/shop/system/storage/logs/');
define('DIR_MODIFICATION', '/home2/carnafe1/public_html/shop/system/storage/modification/');
define('DIR_UPLOAD', '/home2/carnafe1/public_html/shop/system/storage/upload/');

// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'carnafe1_oc2016');
define('DB_PASSWORD', 'xxxxxxxxxxx');
define('DB_DATABASE', 'carnafe1_opencart');
define('DB_PORT', '3306');
define('DB_PREFIX', 'oc_');

This is the code from my admin config.php file:

<?php
// HTTP
define('HTTP_SERVER', 'https://jkmorganpets.com/shop/admin/');
define('HTTP_CATALOG', 'https://jkmorganpets.com/shop/');

// HTTPS
define('HTTPS_SERVER', 'https://jkmorganpets.com/shop/admin/');
define('HTTPS_CATALOG', 'https://jkmorganpets.com/shop/');

// DIR
define('DIR_APPLICATION', '/home2/carnafe1/public_html/shop/admin/');
define('DIR_SYSTEM', '/home2/carnafe1/public_html/shop/system/');
define('DIR_LANGUAGE', '/home2/carnafe1/public_html/shop/admin/language/');
define('DIR_TEMPLATE', '/home2/carnafe1/public_html/shop/admin/view/template/');
define('DIR_CONFIG', '/home2/carnafe1/public_html/shop/system/config/');
define('DIR_IMAGE', '/home2/carnafe1/public_html/shop/image/');
define('DIR_CACHE', '/home2/carnafe1/public_html/shop/system/storage/cache/');
define('DIR_DOWNLOAD', '/home2/carnafe1/public_html/shop/system/storage/download/');
define('DIR_LOGS', '/home2/carnafe1/public_html/shop/system/storage/logs/');
define('DIR_MODIFICATION', '/home2/carnafe1/public_html/shop/system/storage/modification/');
define('DIR_UPLOAD', '/home2/carnafe1/public_html/shop/system/storage/upload/');
define('DIR_CATALOG', '/home2/carnafe1/public_html/shop/catalog/');

// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'carnafe1_oc2016');
define('DB_PASSWORD', xxxxxxx');
define('DB_DATABASE', 'carnafe1_opencart');
define('DB_PORT', '3306');
define('DB_PREFIX', 'oc_');

Have had this store for 5 years in OpenCart.
Back in May, my site migrated from a shared server to a dedicated server.
Any help greatly appreciated.

Jill

Newbie

Posts

Joined
Tue May 11, 2021 12:17 pm

Post by JNeuhoff » Mon Aug 16, 2021 12:01 am

Your https://jkmorganpets.com/shop/admin/ comes up just fine.

If you still experience errors, with a blank page, check what you get in your web browser's developer console (F12 key, network tab). If you see there a 500 response code, then ask your webhost for the server's error log (not the same as OpenCart error.log) for the exact time the error occured. It will have more details.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by Jillkm » Mon Aug 16, 2021 12:27 am

JNeuhoff wrote:
Mon Aug 16, 2021 12:01 am
Your https://jkmorganpets.com/shop/admin/ comes up just fine.

If you still experience errors, with a blank page, check what you get in your web browser's developer console (F12 key, network tab). If you see there a 500 response code, then ask your webhost for the server's error log (not the same as OpenCart error.log) for the exact time the error occured. It will have more details.
The page comes up fine and signs me in, I just get a blank page when I sign in. Sorry if I didn't explain that well.

My host will do a restore from a previous backup if they can't find the issue. Not a big problem, but I will lose all the products I have added since the restore date. Hopefully that will cure it, and I will mention the server log issue (although I'm sure they have checked that themselves).

Jill

Newbie

Posts

Joined
Tue May 11, 2021 12:17 pm

Post by Jillkm » Mon Aug 16, 2021 12:40 am

JNeuhoff wrote:
Mon Aug 16, 2021 12:01 am
Your https://jkmorganpets.com/shop/admin/ comes up just fine.

If you still experience errors, with a blank page, check what you get in your web browser's developer console (F12 key, network tab). If you see there a 500 response code, then ask your webhost for the server's error log (not the same as OpenCart error.log) for the exact time the error occured. It will have more details.
I checked the network but got no 500 error, but did get this, telling me there was a conflict in Quirks Mode;

One or more documents in this page is in Quirks Mode, which will render the affected document(s) with quirks incompatible with the current HTML and CSS specifications.
Quirks Mode exists mostly due to historical reasons. If this is not intentional, you can add or modify the DOCTYPE to be `<!DOCTYPE html>` to render the page in No Quirks Mode.
1 element
Document in the DOM tree Mode URL
document Quirks Mode https://jkmorganpets.com/shop/admin/ind ... avLnWTcL2x


Looking at that the page it does refer to is my dashboard.

I know this may sound stupid, but where would I change the DOCTYPE to be `<!DOCTYPE html>?

Jill

Newbie

Posts

Joined
Tue May 11, 2021 12:17 pm

Post by JNeuhoff » Mon Aug 16, 2021 12:47 am

OpenCart 2.x already uses the '<!DOCTYPE html>' in its admin/view/template/common/header.tpl

You'll need a professional developer to take a look at the issue, you can find one from the commercial forum section.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by Jillkm » Mon Aug 16, 2021 2:30 am

JNeuhoff wrote:
Mon Aug 16, 2021 12:47 am
OpenCart 2.x already uses the '<!DOCTYPE html>' in its admin/view/template/common/header.tpl

You'll need a professional developer to take a look at the issue, you can find one from the commercial forum section.
Thanks for the help, I have informed my host of what you found. If they can figure something out, I can avoid using the backup.

Jill

Newbie

Posts

Joined
Tue May 11, 2021 12:17 pm
Who is online

Users browsing this forum: No registered users and 5 guests