Jump to content

Local with xampp: blank page when requesting home while admin panel wors


Recommended Posts

  • 2 weeks later...

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

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

  • 1 year later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...