Can't login Can't login
 

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

Can't login

Started by FIA2008, September 18, 2008, 05:10:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

FIA2008

I wsa logged in on my site, but then I logged out, and now I can't login anymore.

In the logon screen, the following message appears:
"Waarschuwing: je browser ondersteund geen cookies" (in dutch)
"Warning: your browser doesn't support cookies" (in english)

I already tried:
- Login on another computer
- accept cookies from all sites
- add the site to my trusted sites zone

I hope that you can help me to solve this problem

This is the site:
http://piet.jasperseweb.nl/photo_album/login.php?referer=index.php
(site is in Dutch)

Joachim Müller

Can't see a coppermine-driven gallery on your page. There is no coppermine output at all (see screenshot). Seems to be related to your custom theme. Restore one of the default themes that come with coppermine and try with that theme. Additionally, review your server setup: http://piet.jasperseweb.nl/photo_album/themes/classic/template.html is there, but going to http://piet.jasperseweb.nl/photo_album/themes/classic/ returns a 404 not found, although it should either return a 403 forbidden or list the content of that folder.
I guess you hacked your gallery too much.

McKenzie


FIA2008

The theme sould not effect the login behaviour, cause I can't login at all, that's because of my cookie settings or something I think

Joachim Müller

Well, if you can't log in at all, use a tool like phpMyAdmin, browse coppermine's config table and check the cookie prefix. It mustn't contain special chars except the underscore, and particularly no dot. However, cookies issues should not cause the behaviour I observed - I really think your theme is messed up big-time.

FIA2008

I think you're viewing the site in FireFox, the website is diffrent there than in IE.
I have the gallery in a sub folder, could that be the problem? (I'm now moving it, so it's not working at all right now)

McKenzie

I get now this error:

Coppermine critical error:
Unable to connect to database !

MySQL said: Lost connection to MySQL server at 'reading initial communication packet', system error: 146

FIA2008

Quote from: McKenzie on September 18, 2008, 11:57:30 PM
I get now this error:

Coppermine critical error:
Unable to connect to database !

MySQL said: Lost connection to MySQL server at 'reading initial communication packet', system error: 146

yeah I know, Before you wrote this, I already wrote that I was moving the whole thing, so it wasn'\t supposed to work anymore.

Right now, I think it's working properly, I reinstalled everything, so I had to upload all files again, but at least it's working now:D

McKenzie

Yeah, but your gallery is now only in the right field, so it is only for 22" screens  ;D

Joachim Müller

There's a load of issues with that page: there's no "Powered by Coppermine" footer, and the HTML output is just crap (double definitions of the <html>/</head>/<body>!):<html>
<head>
    <title>Dit is de website Piet Jasperse</title>
        <link href="../mainstyle.css" rel="stylesheet" type="text/css">
    </head>
<body>
<div align="center"><img src="../img/Logo.gif"/></div>
<ul class="menuActive menuHover menuLink menuVisited">
<li><a href="../index.php">Home</a></li>

<li><a href="../favkerk.php">Favoriete Kerken</a></li>
<li><a href="../favgeb.php">Favoriete Gebouwen</a></li>
<li><a href="../filmFoto.php">Film en foto</a></li>
<li><a href="../music.php">Muziek</a></li>
<li><a href="../contactmailform.php">Contact</a></li>
<li><a href="../list.php">Gastenboek</a></li>

        <li><a href="../main.php">Mijn account</a></li>
    </ul><div id="indexdiv1">

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Pragma" content="no-cache" />
<title>Fotoalbums - Anmeldung (Login)</title>

<link rel="stylesheet" href="themes/classic/style.css" type="text/css" />
<script type="text/javascript" src="scripts.js"></script>

<!--
  SVN version info:
  Coppermine version: 1.4.19
  $Revision: 4392 $
  $LastChangedBy: gaugau $
  $Date: 2008-04-16 09:25:35 +0200 (Mi, 16 Apr 2008) $
-->
</head>
<body>
<html>
<head>
<link rel="stylesheet" href="themes/classic/style.css" type="text/css" />
<script type="text/javascript" src="scripts.js"></script>
</head>
<body>
<table width="100%">
    <tr>
        <td align="center"><h1>Film en Foto</h1></td>

        </tr>
        <tr>
        <td align="center">            <!-- BEGIN home -->
        <a href="index.php" title="Gehe zur Startseite">Startseite</a> ::
  <!-- END home -->                  <!-- BEGIN login -->
        <a href="login.php?referer=login.php%3Freferer%3Dindex.php" title="melde mich an">Anmelden</a>
  <!-- END login -->  </td>

        </tr>
        <tr>
        <td align="center">              <!-- BEGIN album_list -->
        <a href="index.php" title="Gehe zur Alben-Liste">Alben-Liste</a> ::
  <!-- END album_list -->  <!-- BEGIN lastup -->
        <a href="thumbnails.php?album=lastup" title="Zeige neueste Uploads an">Neueste Uploads</a> ::
  <!-- END lastup -->  <!-- BEGIN lastcom -->

        <a href="thumbnails.php?album=lastcom" title="Zeige die neuesten Kommentare an">Neueste Kommentare</a> ::
  <!-- END lastcom -->  <!-- BEGIN topn -->
        <a href="thumbnails.php?album=topn" title="Zeige die am meisten angesehenen Dateien an">Am meisten angesehen</a> ::
  <!-- END topn -->  <!-- BEGIN toprated -->
        <a href="thumbnails.php?album=toprated" title="Zeige die am besten bewerteten Dateien an">Am besten bewertet</a> ::
  <!-- END toprated -->  <!-- BEGIN search -->

        <a href="search.php" title="Durchsuche die Galerie">Suche</a>
  <!-- END search --></td>
        </tr>
        <tr>
        <td align="center"></td>
        </tr>
        <tr>
        <td align="center">
                </td>

        </tr>
        <tr>
        <td align="center">
                <form action="login.php?referer=index.php" method="post" name="loginbox">
<!-- Start standard table -->
<table align="center" width="600" cellspacing="1" cellpadding="0" class="maintable">
        <tr>
                <td class="tableh1" colspan="2">Gib Deinen Benutzernamen und Dein Passwort ein, um Dich anzumelden</td>
        </tr>

                 
                                    <tr>
                          <td colspan="2" align="center" class="tableh2">
                        <span style="color:red"><b>Achtung: Dein Browser akzeptiert nicht die Cookies dieses Skripts</b></span>
                        </td>
                  </tr>

                  <tr>
                        <td class="tableb" width="40%">Benutzername</td>

                        <td class="tableb" width="60%"><input type="text" class="textinput" name="username" style="width: 100%" tabindex="1" /></td>
                  </tr>
                  <tr>
                          <td class="tableb">Passwort</td>
                        <td class="tableb"><input type="password" class="textinput" name="password" style="width: 100%" tabindex="2" /></td>
                  </tr>
                  <tr>
                    <td colspan="2" align="center" class="tableb">Immer angemeldet bleiben <input name="remember_me" type="checkbox" class="checkbox" value="1" tabindex="3" /></td>

                  </tr>
                  <tr>
                    <td align="center" class="tablef"><a href="forgot_passwd.php" class="topmenu">Passwort vergessen</a></td>
                    <td align="left" class="tablef"><input name="submitted" type="submit" class="button" value="Anmeldung (Login)" tabindex="4" /></td>
                  </tr>
</table>
<!-- End standard table -->

</form>
<script language="javascript" type="text/javascript">
<!--
document.loginbox.username.focus();
-->
</script></div>

<!--Google Statics-->
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-3299536-2");
pageTracker._initData();
pageTracker._trackPageview();
</script>
<!--Google Statics end-->
</body>
</html>
However, that's not related to the initial issue. Marking thread accordingly and locking it.