Post by jdchill » Wed Nov 21, 2018 10:37 pm

Any help on this would be great
After the upgrade I can get into the admin backend but not the storefront

These are the errors thrown when trying to access the storefront after upgrade to OC 3:

Code: Select all

Warning: fopen(C:\Inetpub\vhosts\madebyhunters.com\shop.madebyhunters.com\/system/private/storagelogs/openbay.log): failed to open stream: No such file or directory in C:\Inetpub\vhosts\madebyhunters.com\shop.madebyhunters.com\system\library\log.php on line 22
Warning: fopen(C:\Inetpub\vhosts\madebyhunters.com\shop.madebyhunters.com\/system/private/storagelogs/openbay.log): failed to open stream: No such file or directory in C:\Inetpub\vhosts\madebyhunters.com\shop.madebyhunters.com\system\library\log.php on line 22
Warning: fclose() expects parameter 1 to be resource, boolean given in C:\Inetpub\vhosts\madebyhunters.com\shop.madebyhunters.com\system\library\log.php on line 39
Warning: fopen(C:\Inetpub\vhosts\madebyhunters.com\shop.madebyhunters.com\/system/private/storagecache/cache.catalog.language.1542809929): failed to open stream: No such file or directory in C:\Inetpub\vhosts\madebyhunters.com\shop.madebyhunters.com\system\library\cache\file.php on line 49
Warning: flock() expects parameter 1 to be resource, boolean given in C:\Inetpub\vhosts\madebyhunters.com\shop.madebyhunters.com\system\library\cache\file.php on line 51
Warning: fwrite() expects parameter 1 to be resource, boolean given in C:\Inetpub\vhosts\madebyhunters.com\shop.madebyhunters.com\system\library\cache\file.php on line 53
Warning: fflush() expects parameter 1 to be resource, boolean given in C:\Inetpub\vhosts\madebyhunters.com\shop.madebyhunters.com\system\library\cache\file.php on line 55
Warning: flock() expects parameter 1 to be resource, boolean given in C:\Inetpub\vhosts\madebyhunters.com\shop.madebyhunters.com\system\library\cache\file.php on line 57
Warning: fclose() expects parameter 1 to be resource, boolean given in C:\Inetpub\vhosts\madebyhunters.com\shop.madebyhunters.com\system\library\cache\file.php on line 59
Warning: fopen(C:\Inetpub\vhosts\madebyhunters.com\shop.madebyhunters.com\/system/private/storagecache/cache.currency.1542809929): failed to open stream: No such file or directory in C:\Inetpub\vhosts\madebyhunters.com\shop.madebyhunters.com\system\library\cache\file.php on line 49
Warning: flock() expects parameter 1 to be resource, boolean given in C:\Inetpub\vhosts\madebyhunters.com\shop.madebyhunters.com\system\library\cache\file.php on line 51
Warning: fwrite() expects parameter 1 to be resource, boolean given in C:\Inetpub\vhosts\madebyhunters.com\shop.madebyhunters.com\system\library\cache\file.php on line 53
Warning: fflush() expects parameter 1 to be resource, boolean given in C:\Inetpub\vhosts\madebyhunters.com\shop.madebyhunters.com\system\library\cache\file.php on line 55
Warning: flock() expects parameter 1 to be resource, boolean given in C:\Inetpub\vhosts\madebyhunters.com\shop.madebyhunters.com\system\library\cache\file.php on line 57
Warning: fclose() expects parameter 1 to be resource, boolean given in C:\Inetpub\vhosts\madebyhunters.com\shop.madebyhunters.com\system\library\cache\file.php on line 59
Warning: fopen(C:\Inetpub\vhosts\madebyhunters.com\shop.madebyhunters.com\/system/private/storagelogs/openbay.log): failed to open stream: No such file or directory in C:\Inetpub\vhosts\madebyhunters.com\shop.madebyhunters.com\system\library\log.php on line 22
Warning: fclose() expects parameter 1 to be resource, boolean given in C:\Inetpub\vhosts\madebyhunters.com\shop.madebyhunters.com\system\library\log.php on line 39
Warning: fopen(C:\Inetpub\vhosts\madebyhunters.com\shop.madebyhunters.com\/system/private/storagelogs/errortxt.log): failed to open stream: No such file or directory in C:\Inetpub\vhosts\madebyhunters.com\shop.madebyhunters.com\system\library\log.php on line 22

Error: A theme has not been assigned to this store!

Warning: fclose() expects parameter 1 to be resource, boolean given in C:\Inetpub\vhosts\madebyhunters.com\shop.madebyhunters.com\system\library\log.php on line 39
Warning: fclose() expects parameter 1 to be resource, boolean given in C:\Inetpub\vhosts\madebyhunters.com\shop.madebyhunters.com\system\library\log.php on line 39
Warning: fclose() expects parameter 1 to be resource, boolean given in C:\Inetpub\vhosts\madebyhunters.com\shop.madebyhunters.com\system\library\log.php on line 39

Newbie

Posts

Joined
Wed Nov 14, 2018 5:33 am

Post by OSWorX » Wed Nov 21, 2018 10:44 pm

You really have a problem now!
Why can't the people first perfom an update on a testdrive .. ?
The only solution I would say, install it new.
And - why always he same?! - you did an update from ?? to ??
thx!

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by jdchill » Wed Nov 21, 2018 10:58 pm

From Open Cart 1.5.6.4 to Version 3.0.2.0
Backend is working fine, its the storefront that is bombing out

Newbie

Posts

Joined
Wed Nov 14, 2018 5:33 am

Post by OSWorX » Thu Nov 22, 2018 12:24 am

Backend is working, store not > an important info you should write in your first post!
And next time format the post.

Anyway, first of all I would disable the display of errors.
Second search the forum for
Error: A theme has not been assigned to this store!
A few messages and solutions here about this error.

Then, see errortxt.log
While it should work if that file does not exist, I would check that in the settings and define correct.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by jdchill » Thu Nov 22, 2018 2:46 am

I have tried the suggestions in the forum post you pointed me to and turned off the error displays. This is where things sit now.
shop.madebyhunters.com

Newbie

Posts

Joined
Wed Nov 14, 2018 5:33 am

Post by jdchill » Thu Nov 22, 2018 2:52 am

This is the error form the log:
2018-11-20 18:56:16 - PHP Warning: realpath(): open_basedir restriction in effect.
File(C:\Inetpub\vhosts\madebyhunters.com) is not within the allowed path(s): (C:/Inetpub/vhosts/madebyhunters.com\;C:\Windows\Temp\)
in C:\Inetpub\vhosts\madebyhunters.com\shop.madebyhunters.com\admin\controller\common\security.php on line 26

Newbie

Posts

Joined
Wed Nov 14, 2018 5:33 am

Post by OSWorX » Thu Nov 22, 2018 5:34 am

open_basedir restriction in effect
On your server are restrictions (as the message telling us) enabled.
Either contact your provider to change or try to store the files within the restricted paths.
That is all I can say at the moment.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria
Who is online

Users browsing this forum: No registered users and 141 guests