Advanced search  

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

Pages: [1]   Go Down

Author Topic: Java Warning: document.searchcpg has no properties  (Read 5276 times)

0 Members and 1 Guest are viewing this topic.

donnoman

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1615
  • From donovanbray.com
    • Donovan Bray
Java Warning: document.searchcpg has no properties
« on: December 19, 2004, 02:53:48 am »

Code: [Select]
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.

Code: [Select]
<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">
« Last Edit: December 24, 2004, 01:12:11 am by donnoman »
Logged

Nibbler

  • Guest
Re: Java Warning: document.searchcpg has no properties
« Reply #1 on: December 19, 2004, 03:03:28 am »

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

Nibbler

  • Guest
Re: Java Warning: document.searchcpg has no properties
« Reply #2 on: December 19, 2004, 03:11:26 am »

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

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Re: Java Warning: document.searchcpg has no properties
« Reply #3 on: December 23, 2004, 05:54:49 am »

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

Nibbler

  • Guest
Re: Java Warning: document.searchcpg has no properties
« Reply #4 on: December 23, 2004, 01:59:23 pm »

Commited into 1.13
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.