Javascript error Javascript error
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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