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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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