Warning: fopen(/home/blahblahblah/public_html/blahblahblah.com/shop/system/storage/logs/openbay.log): failed to open stream: No such file or directory in /home/blahblahblah/public_html/blahblahblah.com/shop/system/library/log.php on line 22Warning: fopen(/home/blahblahblah/public_html/blahblahblah.com/shop/system/storage/logs/openbay.log): failed to open stream: No such file or directory in /home/blahblahblah/public_html/blahblahblah.com/shop/system/library/log.php on line 22Warning: fclose() expects parameter 1 to be resource, boolean given in /home/blahblahblah/public_html/blahblahblah.com/shop/system/library/log.php on line 39Warning: fopen(/home/blahblahblah/public_html/blahblahblah.com/shop/system/storage/logs/error.log): failed to open stream: No such file or directory in /home/blahblahblah/public_html/blahblahblah.com/shop/system/library/log.php on line 22
Attachments
ss_oc_storagedirectory.jpg (293.3 KiB) Viewed 8849 times
When was this moved exactly? The same original path is displaying in your error message ...Any clues on what I'm doing wrong?
Warning: fopen(/home/blahblahblah/public_html/blahblahblah.com/shop/system/storage/logs/openbay.log)
There are enough posts on my behalf on the forum showing how to do this: viewtopic.php?f=202&t=201745#p713479
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
From your link:
Ensure your system/storage folder is outside your public_html folder. (Did that) Edit your config.php and admin/config.php files and set the new location for your DIR_STORAGE. (did that) Remove the entire line in your .htaccess where it says: ^system/storage . (other instructions say to comment it out, which I did) Set recursive permission settings to your storage folder. (it's at 755) Clear all OC cache from your admin - > dashboard and from your admin - > extensions - > modifications - > refresh button. (this part I don't get)
Set recursive permission settings to your storage folder. (it's at 755) Clear all OC cache from your admin - > dashboard and from your admin - > extensions - > modifications - > refresh button. (this part I don't get)
This is still unofficial since you mentioned to be unable to find the admin - > dashboard - > blue button that should be located on the right-end side of your dashboard as well as being unable to find the admin - > extensions - > modifications - > refresh button. Use the left menu and go to these pages. As for the refresh button, once being in the modifications page, roll-over on each top-right buttons and one will say: Refresh (which should be the first one on the left).I've spent hours on something that should have taken me thirty minutes tops. it's this crazy Godaddy setup. nothing works like it did on my old hosts.
As for the .htaccess line, either commenting out or removing the line is the same in this case - no difference.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
So, I've put the storage folder outside of what my host named 'httpdocs'. The 'problem' is that I have no rights to create any folders in in the /home/vhosts/xxx.com folder. I do, however, have an existing folder there called 'private'. I moved the storage folder there... Seems to work, but would there ever be any kind of problem with that? Or should I ask my host to make (or allow me to make) a storage folder in /home/vhosts/xxx.com?
There's a lot of work to do before I can launch my webshop, so I don't want to redo all that stuff later if this would be a problem
OpenCart 3.0.2.0. in English & Dutch
Extensions: Inverted Dark Opencart Theme // Dependent Options // PDF Invoice Pro // (2.x/3.x) New Returns E-mail // iSenseLabs GDPR // (2.x/3.x) Total-Based Shipping // PostNL Wereld OC3.x
---
Remove "Important Security Notification" 3.x
https://www.opencart.com/index.php?rout ... n_id=31807
---
GGW Installer fix Allow ALL directories to be written
https://www.opencart.com/index.php?rout ... n_id=31130
---
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
wackychick wrote: ↑Wed Feb 14, 2018 5:16 amI'm not sure I understand "when" - when I did it... I mean I installed, got the greyed out message about moving the storage directory, and then moved it. then I got all the errors - yes the errors do show the storage folder in its original spot but its not. i can't figure it out. And yes - as I mentioned I found several posts about it - that's how I got the instructions for doing it. And apparently I'm doing it wrong. I do not understand where to find how to clear my OC cache as you describe though. There isnt' anything like that in the admin ->dashboard, or the other admin location you mention. I know how to clear my cache in my browser which I've done as well. I'm at a point where I've done this 4 times. Storage companies near me gj moving. I'm about to try it again. I've shed tears and torn hair out. I have an opencart cart that I've used for about 3-4 years, and now i'm completely stuck. I have a couple hundred products in it and I'm about to burst into flames from frustration. I can't conceive of switching to another cart, after that is what brought me to opencart several years ago. I'm on godaddy hosting and they have a kind of weird setup from what I've worked with on other hosts. I'm just at my wits end. But I still don't see why I can't use the little thing in the admin that pops up when I login telling me to move the directory - its all greyed out (screenshot that I attached to original post). Doesn't this work somehow?
From your link:
Ensure your system/storage folder is outside your public_html folder. (Did that) Edit your config.php and admin/config.php files and set the new location for your DIR_STORAGE. (did that) Remove the entire line in your .htaccess where it says: ^system/storage . (other instructions say to comment it out, which I did) Set recursive permission settings to your storage folder. (it's at 755) Clear all OC cache from your admin - > dashboard and from your admin - > extensions - > modifications - > refresh button. (this part I don't get)
how did you solve the problem?
There are reasons why
1. moving some folders outside the public accessable webspace
2. restricting the accessable folders for extensions
So, if your server is configured properly, your shop installation is made the correct way AND the Extension you want to install is following the correct recommendation, there is absolutely no need for these 2 extensions!
One reason why some developers are recommending the 2nd extension is, they are only lazy to create a compatible package!
One more reason not to use such an Extension.
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Users browsing this forum: No registered users and 111 guests