Java Warning: document.searchcpg has no properties Java Warning: document.searchcpg has no properties
 

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

Java Warning: document.searchcpg has no properties

Started by donnoman, December 19, 2004, 02:53:48 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

donnoman


Error: document.searchcpg has no properties
Source File: http://donnoserv/devel/search.php
Line: 261


I get this on both FF and IE, using classic and other themes.


<tr><td class="tableb">You are running Coppermine  1.4.1 (beta) which is only meant for very experienced users - this version comes without support nor any warranties. Use it at your own risk or downgrade to the latest stable version if you need support!</td></tr></table>
<!-- End standard table -->
<br />
             <script language="javascript" type="text/javascript">
<!--
document.searchcpg.search.focus();
-->
</script>

<form method="post" action="thumbnails.php" name="searchcpg">

Nibbler

That would be my fault, I never see js errors in FF.

Nibbler

Moving the javascript section to the bottom of the page solves the problem for me, is this an acceptable solution ?

Tarique Sani

Yes this is acceptable - did you commit it - if not please do it - thanks
SANIsoft PHP applications for E Biz