Javascript error Javascript error
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Javascript error

Started by Silmarillion, December 12, 2004, 07:06:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Silmarillion

I did a search and couldn't find anything addressing this, although I did find the answer to a second question I had.  :)

When I try to edit a picture's description via clicking the "Edit the Description" link under the pic in the gallery, I get this error:

Java Script Error

Description: Object Expected
Source:http://galleries.ufrealms.net/editOnePic.php?id=489&what=picture
Line:250


Line 250 is actually just a closing table row.

But, the whole row code near it is this:
   
      <tr>
                        <td class="tableb" valign="top" style="white-space: nowrap;">
                                {$lang_editpics_php['desc']}
                        </td>
                        <td class="tableb" valign="top">
                                <textarea name="caption" rows="5" cols="40" class="textinput" style="width: 100%;" onkeydown="textCounter(this, {$CONFIG['max_img_desc_length']});" onkeyup="textCounter(this, {$CONFIG['max_img_desc_length']});">{$CURRENT_PIC['caption']}</textarea>
                        </td>
        </tr>


I haven't bothered the scripts.js file, but I have made changes to the css file.   

Joachim Müller

http://galleries.ufrealms.net/ is down for me. Therefor can't test anything. Make sure scripts.js is there and as well make sure there's a line in themes/yourtheme/template.html that refers to scripts.js

Joachim

Silmarillion

Thank you for trying.   :)  I don't know why the site was down when you tried, but it's up now. 

I checked the scripts.js file and the reference to it in the template.html.  Both are present.

kegobeer

If you switch to the classic Coppermine theme, do you still get the errors?
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots