L
L
londhor2017-07-25 19:50:32
PHP
londhor, 2017-07-25 19:50:32

How to fix opencart transfer error?

I did not work with OPENCART, but the task became - to transfer the store to another host.
After transferring the files and the database (all urls in the database were replaced with new ones), an error occurs and the site does not start.
Errors:

Warning: require_once(http://js.loc/system/startup.php): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /Users/admin/GoogleDrive/SITES/js.loc/index.php on line 21

Fatal error: require_once(): Failed opening required 'http://js.loc/system/startup.php' (include_path='.:/Applications/XAMPP/xamppfiles/lib/php') in /Users/admin/GoogleDrive/SITES/js.loc/index.php on line 21

PS - the site is still on the local machine.
PHP Version 5.6.30;
Apache 2.0

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yhak, 2017-07-26
@londhor

Version OPENCART
The error says that in line 21 it refers to a component with incorrect access rights. That is, access is denied or restricted for the component.
The system wrote you
failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden
Set permissions to 755 or last 777

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question