Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

Ошибка


Recommended Posts

<?php
// Site
$_['site_url']           = HTTP_SERVER;
$_['site_ssl']           = HTTPS_SERVER;

// Url
$_['url_autostart']      = false;

// Database
$_['db_autostart']       = true;
$_['db_engine']          = DB_DRIVER; // mpdo, mssql, mysql, mysqli or postgre
$_['db_hostname']        = DB_HOSTNAME;
$_['db_username']        = DB_USERNAME;
$_['db_password']        = DB_PASSWORD;
$_['db_database']        = DB_DATABASE;
$_['db_port']            = DB_PORT;

// Session
$_['session_autostart']  = false;
$_['session_engine']     = 'db';
$_['session_name']       = 'OCSESSID';

// Template
$_['template_engine']    = 'twig';
$_['template_directory'] = '';
$_['template_cache']     = true;

// Autoload Libraries
$_['library_autoload']   = array();

// Actions

                $registry = new Registry(); $db = new DB(DB_DRIVER, DB_HOSTNAME, DB_USERNAME, DB_PASSWORD, DB_DATABASE); $registry->set('db', $db);
                $query = $db->query("SELECT value FROM " . DB_PREFIX . "setting WHERE store_id = '0' AND `key`='config_seo_url_type'");
                $seo_type = $query->row['value'];
                if (!$seo_type) {  $seo_type = 'seo_url';  }
            
$_['action_pre_action']  = array(
    'startup/session',
    'startup/startup',
    'startup/error',
    'startup/event',
    'startup/maintenance',
    'startup/'.$seo_type
);

// Action Events
$_['action_event'] = array(
    'controller/*/before' => array(
        'event/language/before'
    ),
    'controller/*/after' => array(
        'event/language/after'
    ),    
    'view/*/before' => array(
        500  => 'event/theme',
        998  => 'event/language',
    ),
    'language/*/after' => array(
        'event/translation'
    ),
    //'view/*/before' => array(
    //    1000  => 'event/debug/before'
    //),
    //'controller/*/after'  => array(
    //    'event/debug/after'
//    )
);

 

 

это весь код я ик понимаю ошибка в SEO url

Link to comment
Share on other sites


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

Notice: Undefined index: value in system/storagesgdzyt5cob2u/modification/system/config/catalog.php on line 35 
ребяи помогите 
почему икая ошибка 
папка storage 

Тебе проещё перебить опенкарт, и не парится, если какие-то карточки товара то выгрузи их в xml. 

И модули вследующий раз покупай только на легальных прощадках или оф площадки.

Все осильное что погдешевле и на халяву - варез, бугдет икое с сайтом постоянно... но тоже надо знать ггде...есть

и сайт https://warez.rip/, можно через него проверить то что покупаешь

 

  • +1 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
 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.