Post by Landmaster » Wed Sep 20, 2017 10:13 pm

Opencart 3.0.2.0

Attempted a fresh install but got the following error messages when trying the Install:

Warning: fopen(/var/www/vhosts/XXXXXXXX.co.uk/httpdocs/system/storage/logs/openbay.log): failed to open stream: Permission denied in /var/www/vhosts/XXXXXXXX.co.uk/httpdocs/system/library/log.php on line 22Warning: fopen(/var/www/vhosts/XXXXXXXX.co.uk/httpdocs/system/storage/session//sess_d65b4c645c3cb8b9565e03816c): failed to open stream: Permission denied in /var/www/vhosts/XXXXXXXX.co.uk/httpdocs/system/library/session/file.php on line 29Warning: flock() expects parameter 1 to be resource, boolean given in /var/www/vhosts/XXXXXXXX.co.uk/httpdocs/system/library/session/file.php on line 31Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/vhosts/XXXXXXXX.co.uk/httpdocs/system/library/session/file.php on line 33Warning: fflush() expects parameter 1 to be resource, boolean given in /var/www/vhosts/XXXXXXXX.co.uk/httpdocs/system/library/session/file.php on line 35Warning: flock() expects parameter 1 to be resource, boolean given in /var/www/vhosts/XXXXXXXX.co.uk/httpdocs/system/library/session/file.php on line 37Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/vhosts/XXXXXXXX.co.uk/httpdocs/system/library/session/file.php on line 39

Where have I gone wrong?

Newbie

Posts

Joined
Thu Aug 03, 2017 11:36 pm

Post by yodapt » Wed Sep 20, 2017 11:19 pm

Is that an unmanaged VPS?

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm


Post by Landmaster » Wed Sep 20, 2017 11:23 pm

No, it's on a dedicated server. Previous installations have gone fine

Newbie

Posts

Joined
Thu Aug 03, 2017 11:36 pm

Post by yodapt » Thu Sep 21, 2017 12:15 am

How did you install Opencart? Did you upload the files through an FTP client?

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm


Post by Landmaster » Thu Sep 21, 2017 3:59 pm

Yes, via Filezilla

Newbie

Posts

Joined
Thu Aug 03, 2017 11:36 pm

Post by yodapt » Thu Sep 21, 2017 8:44 pm

Then check the folder permissions, it should be 0755.

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm


Post by Landmaster » Thu Sep 21, 2017 9:37 pm

All folder permissions are correct

Newbie

Posts

Joined
Thu Aug 03, 2017 11:36 pm

Post by yodapt » Thu Sep 21, 2017 10:27 pm

Then it's a file ownership problem, which shouldnt happen if you're uploading your files through a FTP client and you're not using a unmanaged VPS (where it's easy to forget about that sort of thing).

Is that path (/var/www/vhosts/XXXXXXXX.co.uk/httpdocs/) the same as opencart root installation?

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm


Post by Landmaster » Mon Sep 25, 2017 10:51 pm

Hi Yodapt

Thanks for all your assistance with this. I started all over again and this time it installed. However, as with another install of 3x, I am getting JSON.parse errors every time I try to refresh SASS or upload a new extension so I am giving up on 3x going and back to 2x which I know works.

Newbie

Posts

Joined
Thu Aug 03, 2017 11:36 pm

Post by straightlight » Fri Sep 29, 2017 12:28 am

This solution may become handy regarding JSON errors with Opencart v3.0.2.0 release: viewtopic.php?f=201&t=191608

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 3 guests