I'd be really grateful if anyone could help with a problem I'm having at http://www.classic-modern.co.uk.
I've just moved to a new host and I followed the procedure in the Opencart documentation:
- Made copies of old database and store files from old server
- Set up empty database on new server
- Did clean install of same version of Opencart (1.5.1.1)
- Emptied database (dropped tables) and imported old database data
- Replaced all new store files with old ones except config.php and admin/config.php
Then when I go to the store front everything looks just as it did on my old server. But when I log in to admin I get a completely blank screen.
The same thing happens in Safari, Firefox, Opera and Chrome. I've tried flushing the browser caches and have used Terminal to flush the DNS cache on my computer (Mac). I've repeated the entire reinstall procedure several times and the same thing happens each time.
Any suggestions how to fix this will be gratefully received!
Thanks a lot, Julia
ps Sorry, forgot to mention I am on an Apache/Linux/cPanel configuration, having moved from a Zeus/Linux/Plesk setup.
I've just moved to a new host and I followed the procedure in the Opencart documentation:
- Made copies of old database and store files from old server
- Set up empty database on new server
- Did clean install of same version of Opencart (1.5.1.1)
- Emptied database (dropped tables) and imported old database data
- Replaced all new store files with old ones except config.php and admin/config.php
Then when I go to the store front everything looks just as it did on my old server. But when I log in to admin I get a completely blank screen.
The same thing happens in Safari, Firefox, Opera and Chrome. I've tried flushing the browser caches and have used Terminal to flush the DNS cache on my computer (Mac). I've repeated the entire reinstall procedure several times and the same thing happens each time.
Any suggestions how to fix this will be gratefully received!
Thanks a lot, Julia
ps Sorry, forgot to mention I am on an Apache/Linux/cPanel configuration, having moved from a Zeus/Linux/Plesk setup.
Last edited by redvangang on Thu Sep 15, 2011 8:24 pm, edited 1 time in total.
sounds like there's a php error
can you check your apache logs to see if an error is reported
also try emptying the system/cache folder apart from index.html
and make sure your paths are correct in admin/config.php
can you check your apache logs to see if an error is reported
also try emptying the system/cache folder apart from index.html
and make sure your paths are correct in admin/config.php
Many thanks Simon! And many thanks too to my new hosts krystal.co.uk who I also asked for help and who pointed me in a similar direction. For the benefit of anyone else having a similar problem, this was the solution.
The error logs at system/logs/error.txt were giving this error:
Being a technology dunce and an Opencart newbie (but huge fan), I hadn't known that that error log existed. But when I looked at the two files it mentioned, just as the Opencart documentation predicts (http://www.opencart.com/index.php?route ... th=77_7_65_, there were some rogue carriage returns at the end of one of them (the login.php file). I took these out, uploaded the file again and the problem was solved!
Many thanks again for your help.
Julia
The error logs at system/logs/error.txt were giving this error:
Code: Select all
PHP Warning: Cannot modify header information - headers already sent by (output started at /home/[username]/public_html/admin/language/english/common/login.php:41) in /home/[username]/public_html/system/engine/controller.php on line 55
2011-09-15 11:04:19 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/[username]/public_html/admin/language/english/common/login.php:41) in /home/[username]/public_html/system/engine/controller.php on line 57
Many thanks again for your help.
Julia
Now you know why a good host costs a little moreredvangang wrote:Many thanks Simon! And many thanks too to my new hosts krystal.co.uk who I also asked for help and who pointed me in a similar direction.
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
hi
i had this problem and solved it with your help thanks, i had this before and i am wondering how do those extra carriage retuns get there?
i had this problem and solved it with your help thanks, i had this before and i am wondering how do those extra carriage retuns get there?
no version, no link, no nothing, no help...
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Hello,
i have the same problem. Everything works except a blank admin page.
I tried everything i found on internet with no succes and i have no error.
php 7.4 and admin config looks like this, any idea will be appreciated :
<?php
error_reporting(E_ERROR | E_WARNING | E_PARSE);
?>
<?php
// HTTP
define('HTTP_SERVER', 'https://plast-market.ro/admin');
define('HTTP_CATALOG', 'https://plast-market.ro/');
// HTTPS
define('HTTPS_SERVER', 'https://plast-market.ro/admin/');
define('HTTPS_CATALOG', 'https://plast-market.ro/');
// DIR
define('DIR_APPLICATION', '/home/roleterulouri/plast-market.ro/admin');
define('DIR_SYSTEM', '/home/roleterulouri/plast-market.ro/system/');
define('DIR_IMAGE', '/home/roleterulouri/plast-market.ro/image/');
define('DIR_STORAGE', '/home/roleterulouri/plast-market.ro/ocplast/storage-plast-market-2019/');
//define('DIR_STORAGE', '/home/roleterulouri/plast-market.ro/');
define('DIR_CATALOG', '/home/roleterulouri/plast-market.ro/catalog/');
define('DIR_LANGUAGE', DIR_APPLICATION . 'language/');
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/theme/');
define('DIR_CONFIG', DIR_SYSTEM . 'config/');
define('DIR_CACHE', DIR_STORAGE . 'cache/');
define('DIR_DOWNLOAD', DIR_STORAGE . 'download/');
define('DIR_LOGS', DIR_STORAGE . 'logs/');
define('DIR_MODIFICATION', DIR_STORAGE . 'modification/');
define('DIR_SESSION', DIR_STORAGE . 'session/');
define('DIR_UPLOAD', DIR_STORAGE . 'upload/');
// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'xxxxxxxxxxxxxx');
define('DB_PASSWORD', 'xxxxxxxxxxxxxxxxxx');
define('DB_DATABASE', 'xxxxxxxxxxxxxxxxxxxxxxxx');
define('DB_PORT', '3306');
define('DB_PREFIX', 'oc_');
// OpenCart API
define('OPENCART_SERVER', 'https://www.opencart.com/');
i have the same problem. Everything works except a blank admin page.
I tried everything i found on internet with no succes and i have no error.
php 7.4 and admin config looks like this, any idea will be appreciated :
<?php
error_reporting(E_ERROR | E_WARNING | E_PARSE);
?>
<?php
// HTTP
define('HTTP_SERVER', 'https://plast-market.ro/admin');
define('HTTP_CATALOG', 'https://plast-market.ro/');
// HTTPS
define('HTTPS_SERVER', 'https://plast-market.ro/admin/');
define('HTTPS_CATALOG', 'https://plast-market.ro/');
// DIR
define('DIR_APPLICATION', '/home/roleterulouri/plast-market.ro/admin');
define('DIR_SYSTEM', '/home/roleterulouri/plast-market.ro/system/');
define('DIR_IMAGE', '/home/roleterulouri/plast-market.ro/image/');
define('DIR_STORAGE', '/home/roleterulouri/plast-market.ro/ocplast/storage-plast-market-2019/');
//define('DIR_STORAGE', '/home/roleterulouri/plast-market.ro/');
define('DIR_CATALOG', '/home/roleterulouri/plast-market.ro/catalog/');
define('DIR_LANGUAGE', DIR_APPLICATION . 'language/');
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/theme/');
define('DIR_CONFIG', DIR_SYSTEM . 'config/');
define('DIR_CACHE', DIR_STORAGE . 'cache/');
define('DIR_DOWNLOAD', DIR_STORAGE . 'download/');
define('DIR_LOGS', DIR_STORAGE . 'logs/');
define('DIR_MODIFICATION', DIR_STORAGE . 'modification/');
define('DIR_SESSION', DIR_STORAGE . 'session/');
define('DIR_UPLOAD', DIR_STORAGE . 'upload/');
// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'xxxxxxxxxxxxxx');
define('DB_PASSWORD', 'xxxxxxxxxxxxxxxxxx');
define('DB_DATABASE', 'xxxxxxxxxxxxxxxxxxxxxxxx');
define('DB_PORT', '3306');
define('DB_PREFIX', 'oc_');
// OpenCart API
define('OPENCART_SERVER', 'https://www.opencart.com/');
Doesn't look like the config file from version 1.5.x. What version are you using? Why is DIR_STORAGE commented out?
Who is online
Users browsing this forum: No registered users and 76 guests