Jump to content

Loja exibindo erros PHP e não entra no painel de administração [Resolvido]


Recommended Posts

Quanto aos erros php:


Warning: ini_set() has been disabled for security reasons in /home/wdimport/public_html/config/config.inc.php on line 34

Warning: ini_set() has been disabled for security reasons in /home/wdimport/public_html/config/config.inc.php on line 35

Warning: ini_set() has been disabled for security reasons in /home/wdimport/public_html/config/config.inc.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at /home/wdimport/public_html/config/config.inc.php:34) in /home/wdimport/public_html/classes/controller/FrontController.php on line 756

Vc. nao tem poderes para um ini próprio. No ficheiro /config/config,inc.php existem algumas linhas que sobre escrevem settings do seu servidor. Se o seu provedor nao aceita esta linhas, tente comentá-las.

 

Como comentar: Simplesmente altere as linhas abaixo no ficheiro /config/config.inc.php

/* Improve PHP configuration to prevent issues */
//ini_set('upload_max_filesize', '100M');
//ini_set('default_charset', 'utf-8');
//ini_set('magic_quotes_runtime', 0);

Após desativer, também desative o modo debug, alterando as linhas como abaixo citado:

 

ficheiro /config/defines.inc.php

/* Debug only */
define('_PS_MODE_DEV_', false);
if (_PS_MODE_DEV_)
{
	@ini_set('display_errors', 'off);
	define('_PS_DEBUG_SQL_', true);
	/* Compatibility warning */
	define('_PS_DISPLAY_COMPATIBILITY_WARNING_', true);

Para o erro Admin, favor entrar em contato com o seu provedor.

Edited by selectshop.at (see edit history)
  • Like 1
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...