problem with phpThumb

More
11 years 11 months ago #31292 by ggppdk
Replied by ggppdk on topic problem with phpThumb
Do you speak of
- image field?
- OR category view with blog template / flexicontent module / etc ?

if you look at page source what is the URLs, could it be because your media / secure paths are wrong in FLEXIcontent Global configuration (these are used by image field that is set in DB-mode for storage of pictures)


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 11 months ago #31325 by stuartball
Replied by stuartball on topic problem with phpThumb
Hi,

Its the setting in the "Category" properties. If I set it to Yes, Force Read More, I get this effect:

www.greatlinfordscouts.org/3/

PHPThumb folder permissions for the cache are 777.

I've attached the error I get in IE, Firefox just doesn't dislay the image is missing

Kind Regards,

Stuart
Attachments:

Please Log in or Create an account to join the conversation.

More
11 years 11 months ago #31332 by ggppdk
Replied by ggppdk on topic problem with phpThumb
Did you set config_allow_src_above_docroot

to true ?

this is a security problem since someone may write your PHP files using phpthumb


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 11 months ago #31389 by stuartball
Replied by stuartball on topic problem with phpThumb
Code:
$PHPTHUMB_CONFIG['allow_src_above_docroot'] = false; // if true, allow src to be anywhere in filesystem; if false (default) only allow src within document_root"
"

Is how is it set currently.

Kind Regards,

Stuart

Please Log in or Create an account to join the conversation.

More
11 years 11 months ago #31397 by kenmcd
Replied by kenmcd on topic problem with phpThumb

StuartBall wrote: Hi,

Its the setting in the "Category" properties. If I set it to Yes, Force Read More, I get this effect:

www.greatlinfordscouts.org/3/

PHPThumb folder permissions for the cache are 777.

I've attached the error I get in IE, Firefox just doesn't dislay the image is missing

Kind Regards,

Stuart


Those images links are being redirected to some .RU website CGI script.
I think you may have been hacked.

No folders should ever be 777.

The phpThumb links to the images are being redirected here:
h##p://freshensbehemoth.ru/ideamaybesaving.cgi?8

Since the image links are redirected there, no images appear on the page.
.

Please Log in or Create an account to join the conversation.

More
11 years 11 months ago #31437 by stuartball
Replied by stuartball on topic problem with phpThumb
Thanks Ken,

We were previously.

I cleaned installed the code, but didn't run through the database looking for stored links.

I'll have a trawl now. Any clues as to which fields I should be looking at?

Kind Regards,

Stuart

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.666 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline