Only admin can view photos, something isn't right

If I'm logged in as admin, I can view photos fine, but if I log in as a normal member, they just show as broken images. I can even take the photo url, ie, http://www.xxx.com/m/photos/get_image/file/fa0b9b5de39bc73cd424369302ff4dd8.jpg, paste it into the address bar, and you still cant see it as a normal member. It can't be a membership level setting,, that wouldn't matter if you went directly to the url. I have perms set for members to view photos anyway. It's not that you can't access the photo or page, it's just showing as a broken image to non members, and normal members.

 

How could this be doing this?

Quote · 20 Oct 2012

I have seen this issue before, and this procedure fixed it. Origionally posed by me in another topic months ago. This was mentioned in your last topic by somone else.

Go to plugins/htmlpurifier/standalone/HTMLPurifier/DefinitionCache/Serializer

 

And delete the content of each of these folders.

CSS

HTML

Test

URI


However what was not mentioned by this other person is that each of those folders need to have writable permissions. So check that as well, and repeat those procedures.

Also turn off all caching options in admin, and best leave them off until all problems are resolved. And make sure JS compressions is also off.



 

https://www.deanbassett.com
Quote · 20 Oct 2012

Deano,

 I tried that, it didn't help. It's almost like it's a permission setting, in dolphin, not on the server. I tried uploading as a regular member, it uploaded fine, I just can't see the image. I'm wondering if it has something to do with the photos module, but I don't know what it could be.

 

I gotta get it resolved, as the photos pages are some of the most viewed on my site.

 

EDIT

Ok, I just realized it IS some kind of permission setting somewhere. Non members and standard members cannot view profiles, they're just showing as blank pages. I get this error in firefox when viewing a profile as a non member, or standard member:


Error: The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must to be declared in the document or in the transfer protocol.
Source File: http://www.xxxx.com/tator
Line: 0

The error is not that if I am logged in as Admin, it just doesn't make sense to me.

I've also noticed that when I delete a photo, the little message that says the photo was deleted doesn't come up, you have to refresh the page to see that the photo has been deleted. And what's even worse, is members can delete OTHER members photos, even though the option is not enabled in membership levels. It's like the membership actions are not working. I have just view photos enabled.

 

I've had to hide the actions block from all members until I can get this sorted out, or members would be deleting each others photos left and right.

Quote · 20 Oct 2012

We, I re-upped a clean copy of htmlpurifier, and the problems with profiles and photos have been resolved. Now I need to figure out why members can delete other member's photos.

Quote · 20 Oct 2012

 check your membership permission settings.

We, I re-upped a clean copy of htmlpurifier, and the problems with profiles and photos have been resolved. Now I need to figure out why members can delete other member's photos.

 

so much to do....
Quote · 20 Oct 2012

 These details I have in a folder as I had a lot of problems when changing hosts some time back, sorry Deano, I did not have reference or a link to how I gained that info.

permissions was also a big problem for me as it turned out that when I changed host, I also changed PHP Environment, changing a lot of my permission settings.


If you have not looked here yet, go to Dolphin Admin > Tools > Host Tools

Find This

Site setup

    Dolphin version = 7.0.9 - OK
    files and folders permissions
    Please click here to find out if dolphin permissions are correct.
    ffmpeg

Click the Click Here  to see if your setting are correct.

 

I have seen this issue before, and this procedure fixed it. Origionally posed by me in another topic months ago. This was mentioned in your last topic by somone else.

Go to plugins/htmlpurifier/standalone/HTMLPurifier/DefinitionCache/Serializer

 

And delete the content of each of these folders.

CSS

HTML

Test

URI


However what was not mentioned by this other person is that each of those folders need to have writable permissions. So check that as well, and repeat those procedures.

Also turn off all caching options in admin, and best leave them off until all problems are resolved. And make sure JS compressions is also off.



 

 

From the land DownUnder
Quote · 20 Oct 2012

I figured it out. I had set caching on blocks, and after realizing it didn't work the way it should I disabled it, but forgot to set the file info block back to non caching. All is good now.

 

Thanks for your input guys.

Quote · 20 Oct 2012

I have the same issue, not exactly understanding the final fix.

Thank you,

Quote · 4 Nov 2013

 

I have the same issue, not exactly understanding the final fix.

Thank you,

That last fix applied to him because that was what he was previously messing with. Unless you have as well then the fix may not apply to you. When you edit a block in the page builders, there is a cache setting there. Every page block has one. If it's set to 0 then the cache is disabled. And for some blocks, it has to be 0. So unless you have been changing those values then that final fix does not apply to you.


https://www.deanbassett.com
Quote · 4 Nov 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.