Jump to content
  • 0

presta 8.2 problem z odzyskaniem hasła admina


marcptah

Question

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

  • 0

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

  • 0

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

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...