Post by IztokM » Wed Apr 12, 2017 10:18 pm

Hello everyone,

I had to reinstall opencart 2.0 and journal theme but when i tried to import backup. I get blank screen. I checked both config.php files many times but it doesn't change anything. I can't open also admin site.

Site is www.pileus.si/store

Thank you in advance for help!
Iztok

Newbie

Posts

Joined
Wed Apr 12, 2017 10:15 pm

Post by uksitebuilder » Thu Apr 13, 2017 12:01 am

You need to check your error log (apache log or similar) for the exact error that is being given

How did you backup your database originally ?

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by IztokM » Thu Apr 13, 2017 6:17 am

Problem is also that i can't get error report. Error log is empty. I copied
error_reporting(E_ALL);
ini_set('display_errors', '1');
ini_set('log_errors', '1');

in index.php but still error.log is empty

Is there another way to get error info?

Thanks
Iztok

Newbie

Posts

Joined
Wed Apr 12, 2017 10:15 pm

Post by uksitebuilder » Thu Apr 13, 2017 2:29 pm

You need to check your server error logs, not the opencart error log

You can access either from cpanel or by contacting your host.

You will need/want to know what time the error occurred so you can find it in the log, so best to try to reproduce the error and mark down the time, then check the error log

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by IztokM » Thu Apr 13, 2017 3:09 pm

All i can find is this:

IP.xxx.xx.xxx - - [12/Apr/2017:14:25:15 +0200] "GET /store/catalog/view/javascript/jquery/owl-carousel/owl.carousel.min.js?j2v=2.9.5 HTTP/1.1" 200 6798 "http://www.pileus.si/store/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.1 Safari/603.1.30"
IP.xxx.xx.xxx - - [12/Apr/2017:14:25:15 +0200] "GET /store/catalog/view/theme/journal2/lib/lightgallery/js/lg-thumbnail.min.js?j2v=2.9.5 HTTP/1.1" 200 2713 "http://www.pileus.si/store/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.1 Safari/603.1.30"
IP.xxx.xx.xxx - - [12/Apr/2017:14:25:15 +0200] "GET /store/catalog/view/theme/journal2/js/journal.js?j2v=2.9.5 HTTP/1.1" 200 13132 "http://www.pileus.si/store/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.1 Safari/603.1.30"

Newbie

Posts

Joined
Wed Apr 12, 2017 10:15 pm

Post by uksitebuilder » Thu Apr 13, 2017 3:39 pm

That doesn't appear to be an error log, rather an access log.

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by IztokM » Thu Apr 13, 2017 5:54 pm

should i reinstall vqmod?

Warning: require_once(./vqmod/vqmod.php): failed to open stream: No such file or directory in /home/povr01/domains/pileus.si/public_html/store/index.php on line 20

Fatal error: require_once(): Failed opening required './vqmod/vqmod.php' (include_path='.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in /home/povr01/domains/pileus.si/public_html/store/index.php on line 20

Newbie

Posts

Joined
Wed Apr 12, 2017 10:15 pm

Post by uksitebuilder » Thu Apr 13, 2017 6:01 pm

Do you have a file called vqmod.php inside the vqmod folder ?

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by IztokM » Thu Apr 13, 2017 6:04 pm

Yes.

Newbie

Posts

Joined
Wed Apr 12, 2017 10:15 pm

Post by uksitebuilder » Thu Apr 13, 2017 6:10 pm

The error is saying it cannot find that file, so something is misconfigured somewhere.

Check your paths in your config.php and admin/config.php files

If you have a .htaccess file in your store folder, check that the RewriteBase line is set to read RewriteBase/store/

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by IztokM » Thu Apr 13, 2017 6:39 pm

now this came up:

Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'povr01_oc2'@'localhost' (using password: YES) in /home/povr01/domains/pileus.si/public_html/store/system/library/db/mysqli.php on line 7

Notice: Error: Could not make a database link (1045) Access denied for user 'povr01_oc2'@'localhost' (using password: YES) in /home/povr01/domains/pileus.si/public_html/store/system/library/db/mysqli.php on line 10

Warning: mysqli::close(): Couldn't fetch mysqli in /home/povr01/domains/pileus.si/public_html/store/system/library/db/mysqli.php on line 58

Newbie

Posts

Joined
Wed Apr 12, 2017 10:15 pm

Post by uksitebuilder » Thu Apr 13, 2017 6:46 pm

You need to check all details, paths and database credentials in your config.php and admin/config.php

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by IztokM » Thu Apr 13, 2017 7:00 pm

Found out that system has changed password. Corrected it in both config.php. Now website is up but every link i click is 404.

http://www.pileus.si/store/

Newbie

Posts

Joined
Wed Apr 12, 2017 10:15 pm

Post by IztokM » Thu Apr 13, 2017 7:07 pm

Well it is running as it should again! :)

Thanks a lot for your help.

Newbie

Posts

Joined
Wed Apr 12, 2017 10:15 pm
Who is online

Users browsing this forum: No registered users and 2 guests