I have discovered something strange in my CPG 1.4.2. One of my pictures has a problem with the description. It is shown as "In Friesland heb ik een mooi oranje truitje gekregen, mooi h讼/span>" instead of "In Friesland heb ik een mooi oranje truitje gekregen, mooi hè.".
The picture with the problem is Anne0280.JPG, here is the
link to the album where it is in.
If I log in as admin and try to edit the picture I see the following as description:
In Friesland heb ik een mooi oranje truitje gekregen, mooi h讼/textarea>
</td>
</tr> <tr>
<td class="tableb" style="white-space: nowrap;">
Zoekbegrip
</td>
<td width="100%" class="tableb" valign="top">
<input type="text" style="width: 100%" name="keywords188" maxlength="255" value="" class="textinput" />
</td>
</tr>
<input type="hidden" name="user1188" value="" />
<input type="hidden" name="user2188" value="" />
<input type="hidden" name="user3188" value="" />
<input type="hidden" name="user4188" value="" />
<tr>
<td class="tableb" colspan="3" align="center">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td width="20%" align="center"><input type="radio" name="galleryicon" id="galleryicon188" value="188" disabled="disabled" class="checkbox" />Maak deze mijn ikoon</td>
<td width="20%" align="center"><input type="checkbox" name="delete188" id="delete188" value="1" class="checkbox" /><label for="delete188" class="clickable_option">Verwijder bestand</label></td>
<td width="20%" align="center"><input type="checkbox" name="reset_vcount188" id="reset_vcount188" value="1" class="checkbox" /><label for="reset_vcount188" class="clickable_option">Reset bekeken teller</label></td>
<td width="20%" align="center"><input type="checkbox" name="reset_votes188" id="reset_votes188" value="1" class="checkbox" /><label for="reset_votes188" class="clickable_option">Reset stemmen</label></td>
<td width="20%" align="center"><input type="checkbox" name="del_comments188" id="del_comments188" value="1" class="checkbox" /><label for="del_comments188" class="clickable_option">verwijder commentaar</label></td>
</tr>
</table>
</td>
</tr>
<input type="hidden" name="pid[]" value="186" />
<tr>
<td class="tableh2" colspan="3">
<b>Klein_Anne0282.JPG</b>
</td>
</tr>
<tr>
<td class="tableb" style="white-space: nowrap;">
Bestands info
</td>
<td class="tableb">
600×800 - 80KB - 5 bekeken - 0 stemmen
</td>
<td class="tableb" align="center" rowspan="5">
<a href="displayimage.php?&pos=-186" target="_blank"><img src="albums/upload/2005/jan_feb/thumb_Klein_Anne0282.JPG" class="image" border="0" alt="" /><br /></a>
</td>
</tr>
<tr>
<td class="tableb" style="white-space: nowrap;">
Album
</td>
<td class="tableb" valign="top">
<select name="aid186" class="listbox">
<option value="5">2004 < Anne is thuis!! - November / December 2004</option>
<option value="3">2004 < Erasmus MC Sophia Kinderziekenhuis - Rotterdam</option>
<option value="1">2004 < Juliana Kinderziekenhuis - Den Haag</option>
<option value="4">2004 < Ruwaard van Putten Ziekenhuis - Spijkenisse</option>
<option value="6" selected>2005 < Januari / Februari 2005</option>
<option value="9">2005 < Juli / Augustus 2005</option>
<option value="7">2005 < Maart / April 2005</option>
<option value="8">2005 < Mei / Juni 2005</option>
<option value="13">2005 < Mijn 1e verjaardag</option>
<option value="15">2005 < November / December 2005</option>
<option value="12">2005 < September / Oktober 2005</option>
<option value="10">2005 < Vakantie Ameland</option>
<option value="14">2005 < Vakantie Moezel (D)</option>
<option value="25">2006 < Januari / Februari 2006</option>
<option value="11">Diversen < Filmpjes</option>
</select>
</td>
</tr>
<tr>
<td class="tableb" style="white-space: nowrap;">
Titel
</td>
<td width="100%" class="tableb" valign="top">
<input type="text" style="width: 100%" name="title186" maxlength="255" value="Anne0282.JPG" class="textinput" />
</td>
</tr>
<tr>
<td class="tableb" valign="top" style="white-space: nowrap;">
Omschrijving <a href="javascript:;" onclick="coppermine_help_window=window.open('docs/showdoc.php?css=water_drop&f=index.html&base=64&h=czoxNzoiYmJjb2RlIGhlbHAmbmJzcDsiOw%3D%3D&t=czoxODU6IkRlIHZvbGdlbmRlIGNvZGVzIGt1bm5lbiB2YW4gcGFzIGtvbWVuOiA8bGk%2BW2JdPGI%2BQm9sZDwvYj5bL2JdPC9saT4gPGxpPltpXTxpPkl0YWxpYzwvaT5bL2ldPC9saT4gPGxpPlt1cmw9aHR0cDovL0pvdXdzaXRlLm5sL11VcmwgVGV4dFsvdXJsXTwvbGk%2BIDxsaT5bZW1haWxddXNlckBkb21haW4ubmxbL2VtYWlsXTwvbGk%2BIjs%3D','coppermine_help','scrollbars=yes,toolbar=no,status=no,resizable=yes,width=470,height=245'); coppermine_help_window.focus()" style="cursor:help"><img src="images/help.gif" width="13" height="11" border="0" alt="" title="" /></a>
</td>
<td class="tableb" valign="top">
<textarea name="caption186" rows="5" cols="40" class="textinput" style="width: 100%;" onkeydown="textCounter(this, 512);" onkeyup="textCounter(this, 512);">Ik slaap en mama heeft me even op de bank gezet.
If I look at this code it seems that there are pieces of CPG PHP code in it (editpics.php). It looks like the code for picture 282, which is not in the edit-list.
If I try to correct this strange error by deleting the code and put in the text it should be, I get the following error:
"Critical Error - Script called without the required parameter(s). (keywords188)"
But if I look directly into the MySQL database (table pictures) with phpmyadmin I see the correct description as I typed after adding this picture. There are no strange characters or code in it.
Who can tell me what's going wrong here and what I can do about it?