Fatal error Call to a member function isLogged() o

2019-09-03 00:02发布

After migrating my website from one hosting server to another I am getting the following error in my admin page, which does not open.

Fatal error: Call to a member function isLogged() on null in /webcorp1/www/corpusers/s/a/satvikorganic.com/vqmod/vqcache/vq2-catalog_model_catalog_product.php on line 96

2条回答
相关推荐>>
2楼-- · 2019-09-03 00:08

Have been working on an opencart site and have had the same issue, turns out I had naively copied the same paths from my front end config file into the admin config.php file. The following variables need to have the admin folder specified and cant be the same as the front end paths:

define('DIR_APPLICATION', 'YOURPATH/admin/');

define('DIR_LANGUAGE', 'YOURPATH/admin/language/');

define('DIR_TEMPLATE', 'YOURPATH/admin/view/template/');

查看更多
SAY GOODBYE
3楼-- · 2019-09-03 00:29
  1. Make sure that both config files (admin and root) are updated with the server path
  2. Rerun your vQmod install script http://domain.com/vqmod/install/
  3. Clear vQmod cache
  4. Clear Opencart system cache
查看更多
登录 后发表回答