ThemeBurn Support › Forums › OpenCart Themes › Shoppica 2 OpenCart Theme › Failed to open stream: Permission denied …image.php
This topic has been marked as resolved.
I’m having warnings pop up throughout the site, store front and admin page warnings. I’ve looked into this issue to the best of my ability, going through Opencart’s help forums, and following “expert” advise -something to do with folders not having the right permissions to update as the site updates and/or clearing folders. However, I was unable to fix issue due to not having the server admin permissions I needed to clear/delete/permission change these folders. Issue started in Shoppica 1 -updated to Shoppica2 and latest Opencart as well- no fix. So I believe it to be a server issue that only a server admin can fix, but I could be off. Is this only fixable by the server host company or is this something I can fix? - Josh Website in question: http://www.navidioils.com/store (can’t figure out how to attached screenshots ) |
|
August 3, 2014 at 2:33 am #32729
|
|
Looks like I figured out how to add attachments |
|
August 3, 2014 at 2:43 am #32734
|
|
Was able to work on it some more. Went into cPanel instead of Filezilla…I think that made a difference in the folder permissions I was able to change and files I was able to delete from the various cache/log folders. I’m still getting some error’s though both front end and admin -failed to open stream: Permission denied-. No more log errors, all seem to be pointing to the image.php file lines 45 and 47. I tried all the basics; all permission numbers ie. 777, and can’t find a PHP manager in the cPanel to see if the server’s not reading the file right…don’t think the server admin has that accessible to users -but than again I know just enough about PHP to just get me in trouble. So what’s up with line 45 and 47 of the image.php file? - Josh |
|
August 8, 2014 at 6:54 pm #32768
|
|
I am not able to see any errors on the url you provided. The images area just empty. I guess this could be related to an As far as I can see this issue does not apply to Shoppica only but also to your default theme. Is this right ? Regards, |
|
August 18, 2014 at 6:14 pm #32868
|
|
I’ve been trying to fix this problem over the last week so there page errors are just jumping around…a few clicks would yield an error or two. Here is an example of one: This is far less than what I was getting -up to 20 lines of errors on nearly every page- after I took some advice from one of the Opencart community forums. Which was to do this: futher make sure that folder image/cache and all folder in there are 777 or 775 set permissions for folder system/cache to 777 or 775 But than once I went into the image folder and changed all my folder naming to not have [.] in the folder names all the images in those folders won’t show -in store front or the admin image manager. And I can’t clear the cache folder -which is still holding on to the old folder naming as well as images I no longer have in the main image folder(s). So that brought on the next piece of advice from the Opencart community help: last line faieled to open stream no such file or directory. so basicy your hosting does not allow the files of opencart te create this folder and as a result it can not write the cached picture, so it can not read it. this is strange behaviour for opencart, as it has worked in the past. my suggestion. This seems like a lot of re-work that i don’t have time for if I don’t have too. Basically at this point my self and my client are trying to get a hold of the server administrator -which isn’t a professional company- to help fix this problem so I don’t have to re-format the whole stores image folder. All that to answer your question, yes these errors are on either the themes. Which seem to again point to it being an Opencart/Server issue. Thanks for responding back. I hope I’m on the right path. |
|
August 22, 2014 at 6:57 pm #32900
|
|
I forgot to mention, there is no access to a “PHP manager” through my clients cPanel…it was one of the first things I checked weeks ago when this all started |
|
August 22, 2014 at 7:01 pm #32901
|
|
Why can’t you delete the image cache folder ? |
|
September 10, 2014 at 12:11 pm #33072
|
|
I couldn’t delete the image cache folder because of the folders name type it cached, i.e. 1.product, 2.banners etc. With the [.] in the name it wouldn’t delete it from the cache folder -I’m guessing without admin permissions- because it reads as some server system files/folders. That’s what I was told over at the Opencart forums. However, this issue is now resolved as I’ve moved my client over to a completely different host provider and everything is running smoothly…I was able to delete the cache folders finally. Moral of the story -don’t use [.] in your folder/file naming…even if you use them on your computer |
|
September 16, 2014 at 6:20 pm #33163
|
|
Okay, I mark this issue as resolved. Regards, |
|
September 25, 2014 at 4:01 pm #33248
|
- You must be logged in to reply to this topic.