I was in the admin this morning. I made absolutely no edits to any files, no changes, no saves. Three hours later I come back and I am unable to login to my admin. The login goes through, but it's a blank page. Nothing on the source of the admin login. Same results on different browsers and phone. Any idea where to look to resolve this quickly?
v3.0.3.9 php 8.1
I'm here for a reason, if your response is contact a/the developer, just don't reply.
Try and add this code to index.php in admin folder:Joe1234 wrote: ↑Thu Sep 12, 2024 2:40 amI was in the admin this morning. I made absolutely no edits to any files, no changes, no saves. Three hours later I come back and I am unable to login to my admin. The login goes through, but it's a blank page. Nothing on the source of the admin login. Same results on different browsers and phone. Any idea where to look to resolve this quickly?
Code: Select all
ini_set('display_errors', 1);
error_reporting(E_ALL);
If there are error logs paste them here and I can try and help you.
If it's to do with config.php, it could be the database credentials - although I doubt this as you had it working before and not made any changes. But just be careful ever pasting those errors as config.php errors can sometimes display the database password, etc.
Found the issue. I coded something last night that I didn't realize I coded it on the admin login, I thought I only did it on the front end login. Either way, it was working, I guess the cache didn't reset when I was testing it out so it worked fine up until now. I also forgot I could just go looking for the raw log file instead of looking for the log in the admin. It's a good thing I wrote logging into the code or I wouldn't have found it so easily. Thanks.
v3.0.3.9 php 8.1
I'm here for a reason, if your response is contact a/the developer, just don't reply.
Ah yes, sleep coding is a real problem. Anyway please add [SOLVED] to the start of this topic title.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Who is online
Users browsing this forum: Gpli, Majestic-12 [Bot] and 15 guests