bewater Posted January 17, 2013 Share Posted January 17, 2013 Hi, I explained all in the title . I dont know why I get blank page when I try to open homepage of my shop. The admin panel works perfectly. I didnt get errors even if I set php error showing parameters to "on". Any ideas? Tks Link to comment Share on other sites More sharing options...
PhiLho Posted January 18, 2013 Share Posted January 18, 2013 "even if I set php error showing parameters to "on"" In PrestaShop, you have to change config/defines.inc.php to see the error messages. First line: change false to true. Change back in production. Link to comment Share on other sites More sharing options...
bewater Posted January 30, 2013 Author Share Posted January 30, 2013 I changed the first line as explained, but nothing changed... any ideas? Link to comment Share on other sites More sharing options...
PhiLho Posted February 1, 2013 Share Posted February 1, 2013 First line is: define('_PS_MODE_DEV_', false); (just in case) If you have an error, this should allow to see it in the browser (instead of silently failing). Otherwise, it is hard to tell what is wrong. I suppose you still have the default template? Link to comment Share on other sites More sharing options...
bewater Posted February 1, 2013 Author Share Posted February 1, 2013 (edited) Yes I modified that line as u reported. Now I tried a default installation of prestashop and it works fine! But when I tried to import my database the blank page apparead! Edited February 1, 2013 by eccesud (see edit history) Link to comment Share on other sites More sharing options...
bewater Posted February 1, 2013 Author Share Posted February 1, 2013 I tried the default theme and nothing changed. It seems like xampp doesnt like my db... Link to comment Share on other sites More sharing options...
vekia Posted February 1, 2013 Share Posted February 1, 2013 checked xampp/php/logs/ ? Link to comment Share on other sites More sharing options...
Dh42 Posted February 1, 2013 Share Posted February 1, 2013 Is your database from the same version? And by blank page is it generating a 500 error, or just totally blank? Link to comment Share on other sites More sharing options...
bewater Posted February 1, 2013 Author Share Posted February 1, 2013 local version: 5.5.27 server version: 5.1.66-cll I experinced a totally black page Link to comment Share on other sites More sharing options...
Dh42 Posted February 1, 2013 Share Posted February 1, 2013 I meant prestashop version, are the databases from the same versions of prestashop. Link to comment Share on other sites More sharing options...
bewater Posted February 1, 2013 Author Share Posted February 1, 2013 (edited) I copied all the files form server to local, then exported the db from server and imported to local. Is it a bad mehod? Did I miss something crucial? Edited February 1, 2013 by eccesud (see edit history) Link to comment Share on other sites More sharing options...
PhiLho Posted February 2, 2013 Share Posted February 2, 2013 The files in the config folder must be adapted to your new server. Particularly settings.inc.php Link to comment Share on other sites More sharing options...
bewater Posted February 4, 2013 Author Share Posted February 4, 2013 This is my setting.inc.php: define('__PS_BASE_URI__', '/eccesud/'); define('_MEDIA_SERVER_1_', ''); define('_MEDIA_SERVER_2_', ''); define('_MEDIA_SERVER_3_', ''); define('_PS_CACHING_SYSTEM_', 'MCached'); define('_PS_CACHE_ENABLED_', '0'); define('_THEME_NAME_', 'oneway_store'); define('_DB_NAME_', 'prestashop'); define('_MYSQL_ENGINE_', 'InnoDB'); define('_DB_SERVER_', 'localhost'); define('_DB_USER_', 'root'); define('_DB_PREFIX_', 'ps_'); define('_DB_PASSWD_', '******'); define('_DB_TYPE_', 'MySQL'); define('_COOKIE_KEY_', 'tbNZO9PAR6UUJNeJzi8mVPFGJgMWtZ8b9e8jWtT1d5bL9SgW3ph5Mwh4'); define('_COOKIE_IV_', 'ZrsYBQcz'); define('_RIJNDAEL_KEY_', 'HS43tYVULuzu1ovXhG6L9IPmzq2ujS3s'); define('_RIJNDAEL_IV_', 'LFJk8Kn2JpCZ4pxL4Z5xaQ=='); define('_PS_VERSION_', '1.4.6.1'); My doubt is on __PS_BASE_URI__ (is it right written? I have my site under /htdocs/eccesud/). Db setting may be correct because, as I said, my backend works fine and I can see stats too. Tks Link to comment Share on other sites More sharing options...
Shortstuff81000 Posted October 30, 2014 Share Posted October 30, 2014 I am having the same exact issue; I can access my admin, but when I go to https://localhost/prestashop/ I get a blank white page. I have done the following to fix it, but nothing has worked: PrestaShop config_inc.php file - Added "ini_set('memory_limit', '512M');" line. PrestaShop defines_inc.php file - Changed '_PS_MODE_DEV_' from false to true. PHP php.ini file - Changed "memory_limit=128M" to "memory_limit=512M". My MySQL version is 5.6 and my PHP version is 5.5.1 Please help! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now