[RC2 Issue]-Nants bug question

17 years 8 months ago #18568 by chris.n
Replied by chris.n on topic Re:Nants bug question
I get a similar problem of counter in my Joomla 1.0.10 Stable (migrated from RC2) + CB 1.0 stable:
- Add picture1 OK counter=1
- Add picture2 OK counter=2
- Add picture3 message says OK but the picture does not appears
- Add picture3 again. Same problem.


I did some more tests, trying to understand my problem.
Removing picture, adding others, etc. I get the problem several time, but not on all pictures. So I try to look around...

I think I found the bug: 'quotes'

Add picture1:
- title: Secret spot near le porge
- comment: One of my favourite place
Upload OK

Add picture1:
- title: It is me
- comment: This is a picture of me
Upload OK

Add picture2:
- title: It's me
- comment: This is a picture of me (with quotes in the title)
Upload KO + Message thumb creation + add photo & size to counter

This both concerns the title and description fields.

Need to use the addslashes() function to backslash quotes into the SQL order. I guess it is into the _pgSave() function of components/com_comprofiler/plugin/user/plug_cbprofilegallery/cb.profilegallery.php script

Tested on my website: Problem solved.

Post edited by: chris.n, at: 2006/08/10 20:57

Please Log in to join the conversation.

17 years 8 months ago #18576 by nant
Replied by nant on topic Re:Nants bug question
Are you using RC2 of the plugin?

If so - what is the exact title and description that are causing you problems?

Can you try on this site and replicate the problem?

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.134 seconds

Facebook Twitter LinkedIn