Jump to content
Sign in to follow this  
firenews

Vqmod и ошибка в vq2-admin

Recommended Posts

После установки vqmod легла админка, сайт работает но админка не открывается

кто встречался с таким?

 

ошибка:

 

Notice: Undefined index: token in /home//htdocs/www/admin/controller/error/not_found.php on line 16

Notice: Undefined index: token in /homehtdocs/www/admin/controller/error/not_found.php on line 22

 

Fatal error: Call to a member function isLogged() on a non-object in /home//htdocs/www/vqmod/vqcache/vq2-admin_controller_common_header.php on line 106

Share this post


Link to post
Share on other sites

народ, хелп, уже всю голову переломал...

ни кто не встречался с этим?

Share this post


Link to post
Share on other sites

народ, хелп, уже всю голову переломал...

ни кто не встречался с этим?

РЕДАКТИРУЕМ ФАЙЛ: admin/index.php
7. НАЙТИ:
    // Startup
    require_once(DIR_SYSTEM . 'startup.php');
 
    // Application Classes
    require_once(DIR_SYSTEM . 'library/currency.php');
    require_once(DIR_SYSTEM . 'library/user.php');
    require_once(DIR_SYSTEM . 'library/weight.php');
    require_once(DIR_SYSTEM . 'library/length.php');
8. ЗАМЕНИТЬ НА:
    //VirtualQMOD
    require_once('../vqmod/vqmod.php');
    $vqmod = new VQMod();
 
    // Startup
    require_once($vqmod->modCheck(DIR_SYSTEM . 'startup.php'));
 
    // Application Classes
    require_once($vqmod->modCheck(DIR_SYSTEM . 'library/currency.php'));
    require_once($vqmod->modCheck(DIR_SYSTEM . 'library/user.php'));
    require_once($vqmod->modCheck(DIR_SYSTEM . 'library/weight.php'));
    require_once($vqmod->modCheck(DIR_SYSTEM . 'library/length.php'));

Share this post


Link to post
Share on other sites

удалите один из xml файлов, который делает изменения в admin/controller/common/header.php

Share this post


Link to post
Share on other sites

 

РЕДАКТИРУЕМ ФАЙЛ: admin/index.php

 

Теперь:

 

Fatal error: Class 'Customer' not found in /home/site/htdocs/www/admin/index.php on line 193

Share this post


Link to post
Share on other sites

удалите один из xml файлов, который делает изменения в admin/controller/common/header.php

удалял и все удалял, ничего 

Share this post


Link to post
Share on other sites

файлы удалили, кеш вкумода очистили. Если что то перезатирали, восстановите и все заработает.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

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.