The requested URL was NOT FOUND /coppermine/index.php The requested URL was NOT FOUND /coppermine/index.php
 

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

The requested URL was NOT FOUND /coppermine/index.php

Started by wizardy, June 08, 2004, 11:17:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wizardy

My coppermine is fully fonctionnal and I can login  successfully but I have a little bug.

After entered my login infos  (login/pass) and pressed CONNECT,   it logins successfully and I get the welcome message  (in french because of the tranlation script)  and there's a "CONTINUE" button and when I press on it,  it says " page not found".  AFter that, I can go to the admin mode if I browse /images/index.php in a new iexplorer windows.   I know what the bug is but I don' tknow how to solve it.  Coppermine is installed in the path /images/  and not /coppermine/  as the link on the button "CONTINUE" is.  How do I change that link to  /images instead of /coppermine  ??
Which file should I modify ?

Here's the source code of the page with the button "CONTINUE" :

(I should modifie that line  : <a href="/coppermine/login.php?referer=%2Fcoppermine%2Findex.php">CONTINUER</a> to <a href="/images/login.php?referer=%2Fcoppermine%2Findex.php">CONTINUER</a> but I don't know where !


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{lang_dir}">
<head>
<title>Wasting Time - Se connecter</title>
<meta http-equiv="content-type" content="text/html; charset={charset}" />
<meta http-equiv="Pragma" content="no-cache" />
<META http-equiv="refresh" content="3;url=/coppermine/login.php?referer=%2Fcoppermine%2Findex.php">
<link rel="stylesheet" href="themes/hardwired/style.css" />
<script type="text/javascript" src="scripts.js"></script>
</head>
<body>
<table width="778" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="778" height="61" valign="middle" align="right" >
        <table width="73%" height="32" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="94%" height="22" valign="bottom" align="right"><span class="gal_name"></span></td>
            <td width="6%"></td>
          </tr>
        </table>
      </td>
  </tr>
  <tr>
    <td height="100%" align="center" valign="top" ><table width="100%" height="100%" border="0" align="center">
        <tr>
          <td valign="top" align="left">
              <table width="725" border="0" align="center" cellpadding="6" cellspacing="0">
                <tr>
                  <td height="108" valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr>
                       
                        <td width="47%"><div align="center">                <span class="topmenu">
                        <table border="0" cellpadding="0" cellspacing="0">
                                <tr>
 






<!-- BEGIN login -->
                                       
                                                <!--<a href="login.php?referer=%2Fimages%2Flogin.php%3Freferer%3D%252Fcoppermine%252Flogin.php%253Freferer%253D%25252Fcoppermine%25252Findex.php">S'identifier</a>-->
                                     
<!-- END login -->

                                </tr>
                        </table>
                </span></div></td>
                      </tr>
                    </table>
                    <br />
                    <div align="center">                <span class="topmenu">
                        <table border="0" cellpadding="0" cellspacing="0">
                                <tr>
<!-- BEGIN album_list -->
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
                                        <td><img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" id="buttonleft" alt="" /></td>
                                        <td background="themes/hardwired/images/buttoncenter1.gif">
                                                <a href="index.php" title="Aller à la liste des albums">Liste des albums</a>
                                        </td>
                                       
<!-- END album_list -->
                                        <td><img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" id="buttonright1" alt="" /></td>
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
                                        <td><img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" id="buttonleft1" alt="" /></td>
                                        <td background="themes/hardwired/images/buttoncenter1.gif">
                                                <a href="thumbnails.php?album=topn">Images les plus populaires</a>
                                        </td>
                                        <td><img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" id="buttonright1" alt="" /></td>
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" id="spacer" alt="" /></td>
                                        <td><img name="buttonleft1" src="themes/hardwired/images/buttonleft1.gif" width="7" height="25" border="0" id="buttonleft1" alt="" /></td>
                                        <td background="themes/hardwired/images/buttoncenter1.gif">
                                                <a href="thumbnails.php?album=toprated">Images les mieux notées</a>
                                        </td>
                                     
                                        <td><img name="buttonright1" src="themes/hardwired/images/buttonright1.gif" width="7" height="25" border="0" id="buttonright1" alt="" /></td>
                                </tr>
                        </table>
                </span> <br />
                     
<!-- Start standard table -->
<table align="center" width="80%" cellspacing="1" cellpadding="0" class="maintable">
        <tr>
                <td class="tableh1" colspan="1"><h2>Se connecter</h2></td>
        </tr>

        <tr>
                <td class="tableb" height="150" align="center">
                        <font size="2"><b>Bienvenue wastingtime ...</b></font>
                </td>
        </tr>
[color=Red]<!-- BEGIN button -->
                <tr>
                        <td align="center" class="tablef">
                                <table cellpadding="0" cellspacing="0">
                                        <tr>
                                                <td class="admin_menu">
                                                        <a href="/coppermine/login.php?referer=%2Fcoppermine%2Findex.php">CONTINUER</a>
                                                </td>
                                        </tr>
                                </table>
                        </td>
                </tr>
<!-- END button -->[/color]
</table>
<!-- End standard table -->
<div class="footer" align="center" style="padding-top: 10px;">Powered by <a href="http://coppermine.sf.net/" target="_blank">Coppermine Photo Gallery</a></div></td>
                </tr>
              </table>
              <br />
            </td>
        </tr>
      </table></TD>
  </tr>
  <tr>
    <td valign="bottom"> </td>
  </tr>
</table>
<!--Coppermine Photo Gallery 1.2.1--></body>
</html>

Casper

Have you got the correct address specified in config, at the 'Target address......'.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here