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: ELECT_LIST} html> Error on all pages  (Read 5583 times)

0 Members and 1 Guest are viewing this topic.

Akasha

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
ELECT_LIST} html> Error on all pages
« on: September 02, 2004, 07:02:59 am »

Hiya,

I recently installed Coppermine to display my game screenshots, but at the bottom left of every page I get the error: ELECT_LIST}  html>
It doesn't seem to actually affect anything, but still, I would rather it not be there. I have checked all files to ensure they uploaded correctly and it appears all is ok... so why might I be getting that error?  ???

Akasha
« Last Edit: September 02, 2004, 08:13:39 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: ELECT_LIST} html> Error on all pages
« Reply #1 on: September 02, 2004, 07:05:51 am »

Take a look at your template file, sounds like you misconfigured it, or a file is corrupt. Post a link to let us take a look.

Joachim
Logged

Akasha

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: ELECT_LIST} html> Error on all pages
« Reply #2 on: September 02, 2004, 07:25:44 am »

Oops, new I forgot something. Sorry link = http://www.gallery.wowmb.net/index.php

There's no pictures in it at the moment, but if you need I can chuck a couple up real quick.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: ELECT_LIST} html> Error on all pages
« Reply #3 on: September 02, 2004, 07:47:43 am »

apparently you tried to edit your template with a wysiwyg editor like MS Frontpage (you mustn't do that, only use a plain text editor, for a start notepad.exe will be fine). Edit http://www.gallery.wowmb.net/themes/eyeball/template.html, find
Code: [Select]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{LANG_DIR}">
<head>
<title>{TITLE}</title>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
<meta http-equiv="Pragma" content="no-cache" />
{META}
<link rel="stylesheet" href="themes/eyeball/style.css" />
<script type="text/javascript" src="scripts.js"></script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
//-->
</script>
<!--
$Id: template.html,v 1.8 2004/06/07 07:55:38 caspershadow Exp $
-->
</head>
<body>
<div id="Menu1" style="position:absolute; width:780px; height:30px; z-index:1; left: 22px; top: 47px; visibility: hidden;">

                <span class="topmenu">
                        <table border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                        <td>
                                        {MAIN_MENU1}
                                        </td>
                                </tr>
                        </table>
                </span>

                                        </div>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="top_panel">
  <tr>
   <td><table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tr>
           <td width="49%" background="themes/eyeball/images/top_background_r1_c1.gif"></td>
           <td width="2%"><table border="0" cellpadding="0" cellspacing="0" wisth="100%">
                  <tr>
                   <td><table border="0" cellpadding="0" cellspacing="0" width="100%">

                          <tr>
                           <td><img name="top_background_r1_c2" src="themes/eyeball/images/top_background_r1_c2.gif" width="135" height="17" border="0" id="top_background_r1_c2" alt="" /></td>
                           <td width="100%" background="themes/eyeball/images/top_background_r1_c4.gif"></td>
                           <td><img name="top_background_r1_c5" src="themes/eyeball/images/top_background_r1_c5.gif" width="135" height="17" border="0" id="top_background_r1_c5" alt="" /></td>
                          </tr>
                        </table></td>
                  </tr>
                  <tr>
                   <td><table border="0" cellpadding="0" cellspacing="0" width="100%">

                          <tr>
                           <td><img name="top_background_r2_c2" src="themes/eyeball/images/top_background_r2_c2.gif" width="55" height="25" border="0" id="top_background_r2_c2" alt="" /></td>
                           <td align="center">{MAIN_MENU2}</td>
                           <td><img name="top_background_r2_c6" src="themes/eyeball/images/top_background_r2_c6.gif" width="55" height="25" border="0" id="top_background_r2_c6" alt="" /></td>
                          </tr>
                        </table></td>
                  </tr>
                </table></td>

           <td width="49%" background="themes/eyeball/images/top_background_r1_c7.gif"></td>
          </tr>
        </table></td>
  </tr>
</table>
</body>
</html>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="20">
        <tr>
                <td align="center" valign="top">
                        {ADMIN_MENU}
                  &nbsp;{LANGUAGE_SELECT_FLAGS}
                        {GALLERY}
                </td>

        </tr>
<tr>
                <td align="center" valign="top">{THEME_SELECT_LIST}&nbsp;{LANGUAGE_SELECT_LIST}</td>
        </tr>
</table>

</body>
</html>ELECT_LIST}&nbsp;{LANGUAGE_SELECT_LIST}</td>
        </tr>

</table>

</body>
</html>html>
and replace with a fresh copy from the coppermine package, or with
Code: [Select]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{LANG_DIR}">
<head>
<title>{TITLE}</title>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
<meta http-equiv="Pragma" content="no-cache" />
{META}
<link rel="stylesheet" href="themes/eyeball/style.css" />
<script type="text/javascript" src="scripts.js"></script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
//-->
</script>
<!--
$Id: template.html,v 1.4 2004/07/24 15:04:19 gaugau Exp $
-->
</head>
<body>
<div id="Menu1" style="position:absolute; width:780px; height:30px; z-index:1; left: 22px; top: 47px; visibility: hidden;">
                <span class="topmenu">
                        <table border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                        <td>
                                        {MAIN_MENU1}
                                        </td>
                                </tr>
                        </table>
                </span>
                                        </div>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="top_panel">
  <tr>
   <td><table border="0" cellpadding="0" cellspacing="0" width="100%">
          <tr>
           <td width="49%" background="themes/eyeball/images/top_background_r1_c1.gif"></td>
           <td width="2%"><table border="0" cellpadding="0" cellspacing="0" wisth="100%">
                  <tr>
                   <td><table border="0" cellpadding="0" cellspacing="0" width="100%">
                          <tr>
                           <td><img name="top_background_r1_c2" src="themes/eyeball/images/top_background_r1_c2.gif" width="135" height="17" border="0" id="top_background_r1_c2" alt="" /></td>
                           <td width="100%" background="themes/eyeball/images/top_background_r1_c4.gif"></td>
                           <td><img name="top_background_r1_c5" src="themes/eyeball/images/top_background_r1_c5.gif" width="135" height="17" border="0" id="top_background_r1_c5" alt="" /></td>
                          </tr>
                        </table></td>
                  </tr>
                  <tr>
                   <td><table border="0" cellpadding="0" cellspacing="0" width="100%">
                          <tr>
                           <td><img name="top_background_r2_c2" src="themes/eyeball/images/top_background_r2_c2.gif" width="55" height="25" border="0" id="top_background_r2_c2" alt="" /></td>
                           <td align="center">{MAIN_MENU2}</td>
                           <td><img name="top_background_r2_c6" src="themes/eyeball/images/top_background_r2_c6.gif" width="55" height="25" border="0" id="top_background_r2_c6" alt="" /></td>
                          </tr>
                        </table></td>
                  </tr>
                </table></td>
           <td width="49%" background="themes/eyeball/images/top_background_r1_c7.gif"></td>
          </tr>
        </table></td>
  </tr>
</table>
</body>
</html>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="20">
        <tr>
                <td align="center" valign="top">
                        {ADMIN_MENU}
                  &nbsp;{LANGUAGE_SELECT_FLAGS}
                        {GALLERY}
                </td>
        </tr>
                <tr>
                <td align="center" valign="top">{THEME_SELECT_LIST}&nbsp;{LANGUAGE_SELECT_LIST}</td>
        </tr>
</table>

</body>
</html>

The offending bit are the additional lines 96 to 102 in your existing template file
Code: [Select]
</html>ELECT_LIST}&nbsp;{LANGUAGE_SELECT_LIST}</td>
        </tr>

</table>

</body>
</html>html>

Joachim
Logged

Akasha

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: ELECT_LIST} html> Error on all pages
« Reply #4 on: September 02, 2004, 07:51:36 am »

Hmm that's interesting, I didn't edit anything... I simply downloaded and uploaded. I have no idea about html or anything so wouldn't have risked it.

Can I just delete the theme and put a new one up? I would have no clue how to replace text like what you posted  :-[ Hehe I got Coppermine because my friend said it was so easy... I guess I win the $5 bet that I would stuff it up somehow  ::)
Logged

Akasha

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: ELECT_LIST} html> Error on all pages
« Reply #5 on: September 02, 2004, 08:00:07 am »

I just downloaded the theme again and uploaded a brand new template file. Seems fixed now *Claps happily* thankyou!
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 20 queries.