Jump to content
Sign in to follow this  
16R

[Решено] Fatal error

Recommended Posts

Захотел поиграться с мультишопом.

 

Взял и скопировал базу в другую базу, а файлы в другой домен

 

Теперь основной магазин www.16r.su

 

Для опытов www.16р.рф

 

Внес исправления в config.php включилось, магазин 16р.рф подает признаки жизни

 

но не могу войти в админку нового магазина по адресу www.16р.рф/admin

Пишет

Share this post


Link to post
Share on other sites

PHP Fatal error: Call to a member function isLogged() on a non-object in /home/httpd/vhosts/xn--16-mmc.xn--p1ai/httpdocs/catalog/model/catalog/product.php on line 24

 

Как войти в админку?

Edited by 16R

Share this post


Link to post
Share on other sites

еще бы правильно прописать конфиг в папке админки

Share this post


Link to post
Share on other sites

Уже исправил ошибку - не помогает...........

надо что-то руками поправить в базе

Share this post


Link to post
Share on other sites

уже теплее

Notice: Error: Could not load language common/login! in /home/httpd/vhosts/xn--16-mmc.xn--p1ai/httpdocs/vqmod/vqcache/vq2-system_library_language.php on line 39Notice: Error: Could not load template /home/httpd/vhosts/xn--16-mmc.xn--p1ai/httpdocs/catalog/view/theme/common/header.tpl! in /home/httpd/vhosts/xn--16-mmc.xn--p1ai/httpdocs/vqmod/vqcache/vq2-system_engine_controller.php on line 70

Share this post


Link to post
Share on other sites

Может ему шаблон поменять???? У меня монимейкер

Ну а как ему теперь шаблон поменять?

Edited by 16R

Share this post


Link to post
Share on other sites

Где косяк?

 

<?php
// HTTP
define('HTTP_SERVER', '[url=http://xn--16-mmc.xn--p1ai/admin/');]http://xn--16-mmc.xn--p1ai/admin/');[/url]
define('HTTP_CATALOG', '[url=http://xn--16-mmc.xn--p1ai/admin/');]http://xn--16-mmc.xn--p1ai/admin/');[/url]

// HTTPS
define('HTTPS_SERVER', '[url=http://xn--16-mmc.xn--p1ai/admin/');]http://xn--16-mmc.xn--p1ai/admin/');[/url]
define('HTTPS_CATALOG', '[url=http://xn--16-mmc.xn--p1ai/admin/');]http://xn--16-mmc.xn--p1ai/admin/');[/url]

// DIR
define('DIR_APPLICATION', '/home/httpd/vhosts/xn--16-mmc.xn--p1ai/httpdocs/admin/');
define('DIR_SYSTEM', '/home/httpd/vhosts/xn--16-mmc.xn--p1ai/httpdocs/system/');
define('DIR_DATABASE', '/home/httpd/vhosts/xn--16-mmc.xn--p1ai/httpdocs/system/database/');
define('DIR_LANGUAGE', '/home/httpd/vhosts/xn--16-mmc.xn--p1ai/httpdocs/catalog/language/');
define('DIR_TEMPLATE', '/home/httpd/vhosts/xn--16-mmc.xn--p1ai/httpdocs/catalog/view/theme/');
define('DIR_CONFIG', '/home/httpd/vhosts/xn--16-mmc.xn--p1ai/httpdocs/system/config/');
define('DIR_IMAGE', '/home/httpd/vhosts/xn--16-mmc.xn--p1ai/httpdocs/image/');
define('DIR_CACHE', '/home/httpd/vhosts/xn--16-mmc.xn--p1ai/httpdocs/system/cache/');
define('DIR_DOWNLOAD', '/home/httpd/vhosts/xn--16-mmc.xn--p1ai/httpdocs/download/');
define('DIR_LOGS', '/home/httpd/vhosts/xn--16-mmc.xn--p1ai/httpdocs/system/logs/');
define('DIR_CATALOG', '/home/httpd/vhosts/xn--16-mmc.xn--p1ai/httpdocs/catalog/');

// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'a142598.mysql.mchost.ru');
define('DB_USERNAME', 'a142598_1');
define('DB_PASSWORD', 'Jpppppppppppppppppppppppppppppppr');
define('DB_DATABASE', 'ppppppppppppppp');
define('DB_PREFIX', 'wlz');
?>
Edited by shoputils
code в code

Share this post


Link to post
Share on other sites

DIR_LANGUAGE и DIR_TEMPLATE у вас от фронтальной части.

 

Поменяйте на это:

define('DIR_LANGUAGE', '/home/httpd/vhosts/xn--16-mmc.xn--p1ai/httpdocs/admin/language/');
define('DIR_TEMPLATE', '/home/httpd/vhosts/xn--16-mmc.xn--p1ai/httpdocs/admin/view/template/');

Edited by shoputils
upd

Share this post


Link to post
Share on other sites

Да Вы гений. Все работает!!!

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
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.