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

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

Java Warning: document.searchcpg has no properties

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

Previous topic - Next topic

0 Members and 2 Guests 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