Skip to main content

Image information not getting stored in the db

1K Views
0 Replies
2 min read
I am running Joomla 2.5.19 with community surveys 3.6.3.

When I create a survey and select a "Choose Single Image" question, I can click on "Change Image" and select an image from my client. I see the image on the page and I set my answer text. That all looks fine.

When I take the survey or edit the survey, the image is blank.

Looking at the code, I see that get_image_radio_questions is building the href using the code:

$html .= '<img src="'.$base_uri.$answer->image.'" alt="'.CJFunctions::escape($answer->answer_label).'">';

I opened the database and looked at the image field. It is set to NULL.

The files are successfully uploaded to <site_dir>/media/communitysurveys/images as random strings like this:

7b65zqkerf5mau5mxdnaf8bup.jpg
c0v0new0a530mdktb05svdtad.jpg
826fvz870jbv5pl4dn6e9g37g.jpg
gt073yuj0lejha5fipak37sx5.jpg

I have tried doing this from the frontend and backend interfaces, but the results are the same.

My client computer is Windows 7 running Firefox 25.0.1

Appreciate any suggestions on how to correct this or where to look.

0 Replies

No Replies Yet

Topic Author

S

svandomelen

@svandomelen

Topic Stats

Created Friday, 25 April 2014 03:19
Last Updated Friday, 25 April 2014 03:19
Replies 0
Views 1K
Likes 0

Share This Topic