Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Ошибка в админке


Recommended Posts

Добрый вечер. Подскажите, может кто сталкивался с этим...Захожу в админку и у меня выскакивает ошибка с кодом :

 

 

Warning: file_get_contents(): SSL: Connection reset by peer in /var/www/u0111111/data/www/moidomen.ru/admin/controller/module/apimodule.php on line 21Warning: file_get_contents(): Failed to enable crypto in /var/www/u011111/data/www/moidomen.ru/admin/controller/module/apimodule.php on line 21Warning: file_get_contents(https://opencartapp.pro/app/index.php?opencart_version=2.1): failed to open stream: operation failed in /var/www/u0186670/data/www/bb-farm.ru/admin/controller/module/apimodule.php on line 21

 

Что делать, куда копать или как убрать ее? (

3.jpg

Link to comment
Share on other sites


apimodule.php:

 

<?php

require_once DIR_CATALOG . "model/module/apimodule.php";

class ControllerModuleApimodule extends Controller {
    private $error = array();
    private $API_VERSION = 0;
    private $OPENCART_VERSION = 0;

    public function __construct( $registry ) {
        parent::__construct( $registry );
        $api = new ModelModuleApimodule($this->registry);

        $this->API_VERSION = $api->getVersion();
        $this->OPENCART_VERSION = substr(VERSION,0,3);
    }

    public function checkVersion(){
        $return = false;

        $json = file_get_contents('https://opencartapp.pro/app/index.php?opencart_version='.$this->OPENCART_VERSION);
        $version = json_decode($json,1);

        if($this->API_VERSION <(float)$version['version']){
            $return = $version['version'];
        }
        return $return;
    }

Link to comment
Share on other sites


19 часов назад, theRGD сказал:

:| и при чем тут ошибки опенкарт? у вас не работает модуль мобильного админа, там инструкция есть, читайте

Отлично! Спасибо огромное! Разобрался!

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
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.