Jump to content

Can't open backoffice


Maestro Atara

Recommended Posts

dear forum support

i have a problem with my prestashop   

can't open the backoffice

but the website is working fine

when i open  :

 

ParameterNotFoundException

You have requested a non-existent parameter "mailer_user".

in ParameterBag.php line 102

at ParameterBag->get('mailer_user')in EnvPlaceholderParameterBag.php line 57

at EnvPlaceholderParameterBag->get('mailer_user')in ParameterBag.php line 219

at ParameterBag->resolveString('%mailer_user%', array('mailer_user' => true))in ParameterBag.php line 189

at ParameterBag->resolveValue('%mailer_user%', array())in ParameterBag.php line 179

at ParameterBag->resolveValue(array('transport' => '%mailer_transport%', 'host' => '%mailer_host%', 'username' => '%mailer_user%', 'password' => '%mailer_password%', 'spool' => array('type' => 'memory')), array())in ParameterBag.php line 179

at ParameterBag->resolveValue(array(array('transport' => '%mailer_transport%', 'host' => '%mailer_host%', 'username' => '%mailer_user%', 'password' => '%mailer_password%', 'spool' => array('type' => 'memory'))))in MergeExtensionConfigurationPass.php line 57

at MergeExtensionConfigurationPass->process(object(ContainerBuilder))in MergeExtensionConfigurationPass.php line 39

at MergeExtensionConfigurationPass->process(object(ContainerBuilder))in Compiler.php line 141

at Compiler->compile(object(ContainerBuilder))in ContainerBuilder.php line 778

at ContainerBuilder->compile()in Kernel.php line 641

at Kernel->initializeContainer()in Kernel.php line 135

at Kernel->boot()in Kernel.php line 195

at Kernel->handle(object(Request), 1, false)in index.php line 88

 

please help 

thanks

regards

Maestro

Link to comment
Share on other sites

You need to check at the below path : and make sure you have all the informations present there

Path: root/app/config/parameters.php

<?php return array (
  'parameters' => 
  array (
    'database_host' => 'database_host',
    'database_port' => '',
    'database_name' => 'database_name',
    'database_user' => 'database_user',
    'database_password' => 'database_password',
    'database_prefix' => 'ps_',
    'database_engine' => 'InnoDB',
    'mailer_transport' => 'smtp',
    'mailer_host' => 'mailer_host',
    'mailer_user' => NULL,
    'mailer_password' => NULL,
    'secret' => 'mailer_password',
    'ps_caching' => 'CacheMemcache',
    'ps_cache_enable' => false,
    'ps_creation_date' => '2022-02-18',
    'locale' => 'en-US',
    'use_debug_toolbar' => true,
    'cookie_key' => 'cookie_key',
    'cookie_iv' => 'cookie_iv',
    'new_cookie_key' => 'new_cookie_key',
  ),
);

Link to comment
Share on other sites

On 5/4/2022 at 1:56 PM, Knowband Plugins said:

You need to check at the below path : and make sure you have all the informations present there

Path: root/app/config/parameters.php

<?php return array (
  'parameters' => 
  array (
    'database_host' => 'database_host',
    'database_port' => '',
    'database_name' => 'database_name',
    'database_user' => 'database_user',
    'database_password' => 'database_password',
    'database_prefix' => 'ps_',
    'database_engine' => 'InnoDB',
    'mailer_transport' => 'smtp',
    'mailer_host' => 'mailer_host',
    'mailer_user' => NULL,
    'mailer_password' => NULL,
    'secret' => 'mailer_password',
    'ps_caching' => 'CacheMemcache',
    'ps_cache_enable' => false,
    'ps_creation_date' => '2022-02-18',
    'locale' => 'en-US',
    'use_debug_toolbar' => true,
    'cookie_key' => 'cookie_key',
    'cookie_iv' => 'cookie_iv',
    'new_cookie_key' => 'new_cookie_key',
  ),
);

please help where i can find this file sir? then what should i do sir? because i dont understand about programming  thanks for your help

regards

maestro

Link to comment
Share on other sites

2 hours ago, Maestro Atara said:

please help where i can find this file sir? then what should i do sir? because i dont understand about programming  thanks for your help

regards

maestro

FTP files location. Find this folder and file /app/config/parameters.php

Link to comment
Share on other sites

3 hours ago, Maestro Atara said:

please help where i can find this file sir? then what should i do sir? because i dont understand about programming  thanks for your help

regards

maestro

<?php
return array(
    'parameters' =>
    array (
        'database_host' => 'localhost',
        'database_port' => '',
        'database_name' => 'triintic5',
        'database_user' => 'triintic5',
        'database_password' => '821ndni112,
        'database_prefix' => 'pss4_',
        'database_engine' => 'InnoDB',
        'mailer_transport' => 'smtp',
        'mailer_host' => '127.0.0.1',
        'secret' => 'sj8if6kg4dshxkgjcbbotumc0a8xb23wwdwdxnpn57ivroeqmszq6d9tkc',
        'ps_caching' => 'CacheMemcached',
        'ps_creation_date' => '2018-07-07',
        'locale' => 'en-US',
        'cookie_key' => 'ctvv9t0hiknpyxp1yzqksmcuy2tf3m3zzlpvbvuoyhna66ovthl0kmuc',
        'cookie_iv' => 'lmimdbhw',
        'new_cookie_key' => 'def0000087fc5207a2235c51aae07284da7f272f1c36b95aaea9a369af567f1eed1c2fa333e7f6f10dfd96d7272ac3d7d296558ce8048b41f52abcb1da8f9a382ebfdbfa',
        'ps_caching_system' => 'CacheFs',
        'ps_cache_enable' => 'true',
        'ps_cache_enable' => false,
        'ps_cache_enable' => false,
        'ps_cache_enable' => false,
      
    ),
);

Link to comment
Share on other sites

2 minutes ago, Maestro Atara said:

<?php
return array(
    'parameters' =>
    array (
        'database_host' => 'localhost',
        'database_port' => '',
        'database_name' => 'triintic5',
        'database_user' => 'triintic5',
        'database_password' => '821ndni112,
        'database_prefix' => 'pss4_',
        'database_engine' => 'InnoDB',
        'mailer_transport' => 'smtp',
        'mailer_host' => '127.0.0.1',
        'secret' => 'sj8if6kg4dshxkgjcbbotumc0a8xb23wwdwdxnpn57ivroeqmszq6d9tkc',
        'ps_caching' => 'CacheMemcached',
        'ps_creation_date' => '2018-07-07',
        'locale' => 'en-US',
        'cookie_key' => 'ctvv9t0hiknpyxp1yzqksmcuy2tf3m3zzlpvbvuoyhna66ovthl0kmuc',
        'cookie_iv' => 'lmimdbhw',
        'new_cookie_key' => 'def0000087fc5207a2235c51aae07284da7f272f1c36b95aaea9a369af567f1eed1c2fa333e7f6f10dfd96d7272ac3d7d296558ce8048b41f52abcb1da8f9a382ebfdbfa',
        'ps_caching_system' => 'CacheFs',
        'ps_cache_enable' => 'true',
        'ps_cache_enable' => false,
        'ps_cache_enable' => false,
        'ps_cache_enable' => false,
      
    ),
);

and then what should i do sir? please help

 

Link to comment
Share on other sites

1 minute ago, ComGrafPL said:

Add those lines below "'mailer_host' => 'mailer_host',"

    'mailer_user' => NULL,
    'mailer_password' => NULL,

Clear the cache after and try.

(1/1) FatalErrorException

Compile Error: Symfony\Component\Debug\DebugClassLoader::loadClass(): Failed opening required '/home/triintic/public_html/vendor/composer/../psr/cache/src/CacheItemPoolInterface.php' (include_path='/home/triintic/public_html/tools/htmlpurifier/standalone:/home/triintic/public_html/vendor/pear/pear_exception:/home/triintic/public_html/vendor/pear/console_getopt:/home/triintic/public_html/vendor/pear/pear-core-minimal/src:/home/triintic/public_html/vendor/pear/archive_tar:.:/opt/alt/php71/usr/share/pear')

in DebugClassLoader.php line 146

 

what should i do sir, please help

thanks

 

Link to comment
Share on other sites

Just now, Maestro Atara said:

(1/1) FatalErrorException

Compile Error: Symfony\Component\Debug\DebugClassLoader::loadClass(): Failed opening required '/home/triintic/public_html/vendor/composer/../psr/cache/src/CacheItemPoolInterface.php' (include_path='/home/triintic/public_html/tools/htmlpurifier/standalone:/home/triintic/public_html/vendor/pear/pear_exception:/home/triintic/public_html/vendor/pear/console_getopt:/home/triintic/public_html/vendor/pear/pear-core-minimal/src:/home/triintic/public_html/vendor/pear/archive_tar:.:/opt/alt/php71/usr/share/pear')

in DebugClassLoader.php line 146

 

what should i do sir, please help

thanks

 

Turn off debug mode.

Link to comment
Share on other sites

10 minutes ago, ComGrafPL said:

Turn off debug mode.

if (!defined('_PS_MODE_DEV_')) {
define('_PS_MODE_DEV_', true);
}
/* Compatibility warning */
define('_PS_DISPLAY_COMPATIBILITY_WARNING_', false);
if (_PS_MODE_DEV_ === true) {
    @ini_set('display_errors', 'on');
    @error_reporting(E_ALL | E_STRICT);
    define('_PS_DEBUG_SQL_', true);
} else {
    @ini_set('display_errors', 'off');
    define('_PS_DEBUG_SQL_', false);
}

define('_PS_DEBUG_PROFILING_', false);
define('_PS_MODE_DEMO_', false);

 

already turn off sir  then what sir  please help

Link to comment
Share on other sites

58 minutes ago, Maestro Atara said:

if (!defined('_PS_MODE_DEV_')) {
define('_PS_MODE_DEV_', true);
}
/* Compatibility warning */
define('_PS_DISPLAY_COMPATIBILITY_WARNING_', false);
if (_PS_MODE_DEV_ === true) {
    @ini_set('display_errors', 'on');
    @error_reporting(E_ALL | E_STRICT);
    define('_PS_DEBUG_SQL_', true);
} else {
    @ini_set('display_errors', 'off');
    define('_PS_DEBUG_SQL_', false);
}

define('_PS_DEBUG_PROFILING_', false);
define('_PS_MODE_DEMO_', false);

 

already turn off sir  then what sir  please help

This page isn’t working

triinti.com is currently unable to handle this request.

HTTP ERROR 500

what should i do sir  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...