Jump to content
Sign in to follow this  
IlyaCart

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

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  

 

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

Share this post


Link to post
Share on other sites

плохо скопировали

Share this post


Link to post
Share on other sites

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

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

Share this post


Link to post
Share on other sites

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

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

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

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

Спойлер

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]

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

Share this post


Link to post
Share on other sites

Разобрался / ошибка  пути в конфигах. 

Share this post


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

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

Классика.

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.