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

Проблемы после копирования сайта на новый хостинг


Recommended Posts

Приветствую.

Подскажите в какую сторону копать.

Скопировал сайт и базу данных на новый хостинг.

Не могу зайти в админ панель.

Fatal error: Call to a member function calculate() on null in /var/www/имя/public_html/сайт/system/storage/modification/catalog/controller/module/featured.php on line 67  

 

Заранее спасибо.

Link to post
Share on other sites

Спасибо, ошибку нашел.

В admin/config не забыл указать папку admin.

Link to post
Share on other sites

  • 4 weeks later...

Что бы не плодить тем,

перенес файлы на новый хостинг ( сайт работает с ссл) - не запустился.

Админы помогли, перенесли файлы, внешне проблемы оставались только с хтаксессом- (в родном файле было много перенаправлений).

Доступ поправил, админка работает, кеши все почистил, однако при попытке зайти в магазин- выдает такую простыню:

Спойлер

Warning: fopen(/home/zdtpzp/public_html/system/storage/logs/error.log): failed to open stream: No such file or directory in /home/zdtzp/public_html/system/library/log.php on line 6
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/zdtzp/public_html/system/library/log.php:6) in /home/zdtzp/public_html/system/library/session.php on line 22
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/log.php on line 10
Warning: fopen(/home/zdtpzp/public_html/system/storage/logs/openbay.log): failed to open stream: No such file or directory in /home/zdtzp/public_html/system/library/log.php on line 6
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/log.php on line 10
Warning: fopen(/home/zdtpzp/public_html/system/storage/cache/cache.seo_pro.1547953027): failed to open stream: No such file or directory in /home/zdtzp/public_html/system/library/cache/file.php on line 49
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/log.php on line 10
Warning: flock() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/cache/file.php on line 51
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/log.php on line 10
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/cache/file.php on line 53
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/log.php on line 10
Warning: fflush() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/cache/file.php on line 55
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/log.php on line 10
Warning: flock() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/cache/file.php on line 57
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/log.php on line 10
Warning: fclose() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/cache/file.php on line 59
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/log.php on line 10
Warning: fopen(/home/zdtpzp/public_html/system/storage/cache/cache.category.seopath.1547953027): failed to open stream: No such file or directory in /home/zdtzp/public_html/system/library/cache/file.php on line 49
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/log.php on line 10
Warning: flock() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/cache/file.php on line 51
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/log.php on line 10
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/cache/file.php on line 53
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/log.php on line 10
Warning: fflush() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/cache/file.php on line 55
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/log.php on line 10
Warning: flock() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/cache/file.php on line 57
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/log.php on line 10
Warning: fclose() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/cache/file.php on line 59
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/log.php on line 10
Warning: fopen(/home/zdtpzp/public_html/system/storage/cache/cache.product.seopath.1547953027): failed to open stream: No such file or directory in /home/zdtzp/public_html/system/library/cache/file.php on line 49
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/log.php on line 10
Warning: flock() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/cache/file.php on line 51
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/log.php on line 10
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/cache/file.php on line 53
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/log.php on line 10
Warning: fflush() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/cache/file.php on line 55
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/log.php on line 10
Warning: flock() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/cache/file.php on line 57
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/log.php on line 10
Warning: fclose() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/cache/file.php on line 59
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/log.php on line 10
Warning: Cannot modify header information - headers already sent by (output started at /home/zdtzp/public_html/system/library/log.php:6) in /home/zdtzp/public_html/catalog/controller/common/seo_pro.php on line 326
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/log.php on line 10
Warning: Cannot modify header information - headers already sent by (output started at /home/zdtzp/public_html/system/library/log.php:6) in /home/zdtzp/public_html/system/library/response.php on line 12
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/zdtzp/public_html/system/library/log.php on line 10

Fatal error: Call to a member function get() on null in /home/zdtzp/public_html/index.php on line 98

Вижу что нет доступа к кешу (проверял папки- права 0755) и seopro- куда бежать неясно. Из того что делал - это менял данные в .htacess

Спойлер

Options +SymLinksIfOwnerMatch

# Prevent Directoy listing
Options -Indexes

# Prevent Direct Access to files
<FilesMatch "(?i)((\.tpl|\.ini|\.log|(?<!robots)\.txt))">
 Order deny,allow
 Deny from all
</FilesMatch>

# SEO URL Settings
RewriteEngine On
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/

RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^ https://%1%{REQUEST_URI} [R=301,L]
RewriteCond %{HTTP:X-Forwarded-Proto} =http [OR]
RewriteCond %{HTTP:X-Forwarded-Proto} =""
RewriteCond %{HTTP:X-HTTPS} !1 [OR]
RewriteCond %{HTTPS} !=on
RewriteCond %{REQUEST_URI} !robots\.txt
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteRule ^system/download/(.*) index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

Кто может, ткните куда рыть.

Link to post
Share on other sites
В 20.01.2019 в 13:47, Setsuna сказал:

/ ошибка  пути в конфигах. 

Классика.

Link to post
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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • 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.