Post by Flying Dutchman » Mon Apr 09, 2018 11:47 pm

Hello
Currently I'm trying to install a fresh Opencart 3.0.2 on my Windows 2012 VPS.
These were my steps:
  • created my a new subdomain for this purpose
  • uploaded all the files the my webroot
  • changes permissions acording install.txt
  • installed without errors
  • removed install folder
  • moved storage folder and added path to PHP open_basedir since I was getting a lot of errors also changed paths in both configs
When I try to clear SASS cache i get following error:

Code: Select all

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

OK

<b>Warning</b>: unlink(******SITE URL*******/admin/view/stylesheet/bootstrap.css): Permission denied in <b>******SITE URL*******\admin\controller\common\developer.php</b> on line <b>94</b>{"success":"Success: You have cleared the SASS cache!"}
When I try to install an extension (theme) I get following error:

Code: Select all

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

OK

<b>Warning</b>: mkdir(): Permission denied in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): Permission denied in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): Permission denied in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): Permission denied in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): Permission denied in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): Permission denied in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): Permission denied in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): Permission denied in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): Permission denied in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): Permission denied in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: rename(*****STORAGE URL******/storage/upload/tmp-JESrDfjE6e/upload/system/library/materializepagination.php,******SITE URL*******/system/library/materializepagination.php): Zugriff verweigert (code: 5) in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>218</b><b>Warning</b>: mkdir(): Permission denied in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): Permission denied in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): Permission denied in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): Permission denied in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): Permission denied in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): Permission denied in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): No such file or directory in <b>******SITE URL*******\admin\controller\marketplace\install.php</b> on line <b>212</b><b>Warning</b>: mkdir(): Permission denied in <b>****URL****

Installation shouldn't be so difficult... What am I doing wrong?


Posts

Joined
Mon Apr 09, 2018 11:28 pm

Post by straightlight » Wed Apr 11, 2018 12:16 am

moved storage folder and added path to PHP open_basedir since I was getting a lot of errors also changed paths in both configs
This would probably be the root cause.

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Legendary Member

Posts

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

Post by Flying Dutchman » Wed Apr 11, 2018 1:33 am

straightlight wrote:
Wed Apr 11, 2018 12:16 am
moved storage folder and added path to PHP open_basedir since I was getting a lot of errors also changed paths in both configs
This would probably be the root cause.
So where do I move the storage folder to?
I've got multiple sites on my VPS, where can I put the storage folder, if possible in a localized place... something like:
C:\Inetpub\vhosts\***domain***\storage\***opencart sub domain***\
(which is my current solution and obviously not working)

Regards
Flying Dutchman


EDIT:
Just moved the storage folder back to the system folder in opencart and cleared the cache... The errors still occur.


Posts

Joined
Mon Apr 09, 2018 11:28 pm

Post by xxvirusxx » Wed Apr 11, 2018 3:23 am

Windows sucks.

Why don`t make a linux server? Centos...

Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm

Post by Flying Dutchman » Wed Apr 11, 2018 5:02 pm

xxvirusxx wrote:
Wed Apr 11, 2018 3:23 am
Windows sucks.

Why don`t make a linux server? Centos...
I agree, Windows sucks for webhosting, but it is the system I unfortunatly have...


Posts

Joined
Mon Apr 09, 2018 11:28 pm

Post by xxvirusxx » Wed Apr 11, 2018 5:26 pm

Possible something wrong with settings on Windows VPS.
Maybe can help somebody who use Windows server. I prefer linux servers :)

Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm

Post by straightlight » Wed Apr 11, 2018 7:40 pm

See these instructions for granting domain and web folders permissions with IIS: https://serverfault.com/questions/46210 ... ermissions

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


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 6 guests