marcptah Posted February 26 Share Posted February 26 Na serverze cyberfolks wykonałem klona instalacji presty do innej domeny. Od tej chwili nie mogę się zalogować do panelu, przy próbie odzyskania hasła otrzymuję komunikat: {"type":"https:\/\/tools.ietf.org\/html\/rfc2616#section-10","title":"An error occurred","status":500,"detail":"Internal Server Error"} Proszę o wskazówki. Dodam że robiłem to wielokrotnie i nigdy taki problem nie wystąpił. Link to comment Share on other sites More sharing options...
0 endriu107 Posted February 26 Share Posted February 26 Włącz tryb debugowania i spróbuj ponownie, jak sie pojawi konkretny komunikat błędu to pokaż jaki. Link to comment Share on other sites More sharing options...
0 Knowband Plugins Posted February 27 Share Posted February 27 Spróbuj także usunąć folder pamięci podręcznej. Link to comment Share on other sites More sharing options...
0 marcptah Posted February 27 Author Share Posted February 27 Po włączeniu trybu debugowania logowanie nie jest w ogóle możliwe i pojawiają się takie błędy: User Warning: Function putenv() was disabled by the domain protection module. Disable domain protection for this domain in the Server Panel to use this function. ErrorException in /var/www/html/waf/domain_protection/function_warning.php (line 25) } function __disable_function_warn($func_name) { $message = 'Function '.$func_name.'() was disabled by the domain protection module. Disable domain protection for this domain in the Server Panel to use this function.'; trigger_error($message, E_USER_WARNING); } } ?> __disable_function_warn('putenv')in /var/www/html/waf/domain_protection/function_warning.php(9) : eval()'d code (line 2) in /home/vxdpdfvfbh/domains/domena.pl/public_html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php putenv (line 127) } if ($this->debug) { $this->startTime = microtime(true); } if ($this->debug && !isset($_ENV['SHELL_VERBOSITY']) && !isset($_SERVER['SHELL_VERBOSITY'])) { putenv('SHELL_VERBOSITY=3'); $_ENV['SHELL_VERBOSITY'] = 3; $_SERVER['SHELL_VERBOSITY'] = 3; } // init bundles Kernel->boot()in /home/vxdpdfvfbh/domains/domena.pl/public_html/app/AppKernel.php (line 96) * {@inheritdoc} */ public function boot() { $this->waitUntilCacheClearIsOver(); parent::boot(); $this->cleanKernelReferences(); } /** * Perform a lock on a file before cache clear is performed, this lock will be unlocked once the cache has been cleared. in /home/vxdpdfvfbh/domains/domena.pl/public_html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php -> boot (line 196) /** * {@inheritdoc} */ public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true) { $this->boot(); ++$this->requestStackSize; $this->resetServices = true; try { return $this->getHttpKernel()->handle($request, $type, $catch); Kernel->handle(object(Request), 1, false)in /home/vxdpdfvfbh/domains/domena.pl/public_html/1kuicjmpn0q9bms3/index.php (line 84) $catch = strpos($request->getRequestUri(), Api::API_BASE_PATH) !== false; try { require_once __DIR__.'/../autoload.php'; $response = $kernel->handle($request, HttpKernelInterface::MASTER_REQUEST, $catch); $response->send(); $kernel->terminate($request, $response); } catch (NotFoundHttpException $exception) { define('ADMIN_LEGACY_CONTEXT', true); // correct Apache charset (except if it's too late) Link to comment Share on other sites More sharing options...
0 marcptah Posted February 27 Author Share Posted February 27 Ogarnąłem że chodzi o separację domeny. Jak wyłączę separację to wszystko działa jak należy. Jednakże chciałbym sklepu używać z separacją, podpowiedzcie proszę co powinienem przestawić. Link to comment Share on other sites More sharing options...
0 Knowband Plugins Posted February 28 Share Posted February 28 Uważam, że to problem hostingu. Funkcje takie jak putenv są wyłączone. Skontaktuj się z hostingiem, aby włączyć funkcję putenv Link to comment Share on other sites More sharing options...
0 endriu107 Posted February 28 Share Posted February 28 https://www.prestashop.com/forums/topic/1078640-prestashop-81-warning-putenv-has-been-disabled-for-security-reasons/ Link to comment Share on other sites More sharing options...
Question
marcptah
Na serverze cyberfolks wykonałem klona instalacji presty do innej domeny.
Od tej chwili nie mogę się zalogować do panelu, przy próbie odzyskania hasła otrzymuję komunikat:
{"type":"https:\/\/tools.ietf.org\/html\/rfc2616#section-10","title":"An error occurred","status":500,"detail":"Internal Server Error"}
Proszę o wskazówki.
Dodam że robiłem to wielokrotnie i nigdy taki problem nie wystąpił.
Link to comment
Share on other sites
6 answers to this question
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