Dotclear

Vous n'êtes pas identifié(e).

Annonce

13 février 2024 Sortie de Dotclear 2.29

#1 2013-02-28 12:14:39

LFM
Membre
Inscription : 2013-02-28

Login problem (1and1)

After installation it is supposed to move on to administration page, but it only shows admin/auth.php.
Logging in at that page also doesn't work. (pushes back to auth.php)
+ Even if I put right combination of id/pw it says it's wrong combination if remember id is checked.

I have no idea what I'm supposed to do...

Hors ligne

#2 2013-03-01 15:52:41

clearingthedots
Membre
Inscription : 2010-06-09

Re : Login problem (1and1)

I once had a similar problem and the easiest answer for me was to do a clean install.

Perhaps you should do the same. It may be easier to just start again from scratch.

1. Delete your database (if you do have valuable data in it do back it up using phpadmin)
2. Delete the dotclear installation in your directory.
3. Start from scratch
--- make a new database
--- unzip or upload dotclear
--- run it.

One way to ensure there are no mistakes with the password is to type it first in a program like notepad. Then, copy it and paste it in the appropriate field during installation.

Hope this helps.

Dernière modification par clearingthedots (2013-03-01 16:01:35)

Hors ligne

#3 2013-03-02 00:33:54

LFM
Membre
Inscription : 2013-02-28

Re : Login problem (1and1)

Thank you for your reply.
However, I tried reinstall DC several times.
I tried dotclear-loader.php - it had same problem so I removed dir and dropped all tables.
i tried to unzip zip and upload via FTP - same problem.
Untar on shell -  just same.

When I run it on my laptop(using nginx) it's working fine with same source...

No idea. :$

Dernière modification par LFM (2013-03-02 01:34:25)

Hors ligne

#4 2013-03-02 03:24:11

ben_griffith
Membre
Lieu : Wiltshire
Inscription : 2009-09-28

Re : Login problem (1and1)

@LMF

if it works on your laptop but not the PC (or whatever it is), then it's not Dotclear, but only your PC and it's browser settings. Do you use a quirky browser with extra security settings?
Download a browser (Maxthon - no-one knows this browser), then go directly to your ... /admin/index.php and it should work. Allow cookies.
Then go back to your main browser and delete all cookies and cache and storage on blablabla so that this browser doesn't remember what it has done before.


I Dotclear.

Hors ligne

#5 2013-03-02 08:19:54

LFM
Membre
Inscription : 2013-02-28

Re : Login problem (1and1)

ben_griffith, thank you for your reply.
But you misunderstood.
I ran nginx(server program, not a browser) on my laptop and tested if DC source I got has any problem.

Hors ligne

#6 2013-03-02 14:40:57

Philippe
Stagiaire
Lieu : Toulon
Inscription : 2004-06-13
Site Web

Re : Login problem (1and1)

Hello

You might have this problem if in login text you have special characters such as ' or accented ones. Is it the case ?

Hors ligne

#7 2013-03-02 15:13:55

LFM
Membre
Inscription : 2013-02-28

Re : Login problem (1and1)

Thank you for your concern, amalgame.
But my dotclear pass has only alpha-numeric characters.
I think it can recognize my id/pass. Because it  says it's wrong when it isn't right, and keeps quite when it's right..
Maybe it's about session or cookie.

Dernière modification par LFM (2013-03-02 15:20:10)

Hors ligne

#8 2013-03-02 15:30:36

Philippe
Stagiaire
Lieu : Toulon
Inscription : 2004-06-13
Site Web

Re : Login problem (1and1)

Your browser must accept cookies for the admin...

Hors ligne

#9 2013-03-02 16:03:36

LFM
Membre
Inscription : 2013-02-28

Re : Login problem (1and1)

@amalgame
It does.

Hors ligne

#10 2013-03-02 19:14:20

Philippe
Stagiaire
Lieu : Toulon
Inscription : 2004-06-13
Site Web

Re : Login problem (1and1)

OK, so you have a cookie (dcxd) from the admin, what does it say ?

Another idea : is Dotclear admin url defined correctly in file dotclear/inc/config.php ? (i.e it should point to the full url of your admin) like

// Admin URL. You need to set it for some features.
define('DC_ADMIN_URL','http://www.domain.tld/dotclear/admin/');

And eventually, do you have .htaccess directives or nginx conf files (as I understood you manage your own server) that could interfere with this address ?

Dernière modification par Philippe (2013-03-02 19:17:04)

Hors ligne

#11 2013-03-02 20:01:46

LFM
Membre
Inscription : 2013-02-28

Re : Login problem (1and1)

Dear amalgame.
My browser does accept cookie, but I got no cookie,,

Because everytime I try it just goes like this.

1. auth.php < post id/pass
2. auth.php > gives cookie & 302 response toward index.php
3. index.php < sends cookie info
4. index.php > delete cookie & 302 response toward auth.php
5. Now I'm standing at the doorstep w/o any cookie :$

.... I have no idea why index.php deletes cookie.

Dernière modification par LFM (2013-03-03 01:31:29)

Hors ligne

#12 2013-03-04 02:23:30

clearingthedots
Membre
Inscription : 2010-06-09

Re : Login problem (1and1)

Ok, from the title of your entry, I can see you are on 1and1 server. Is that correct?

I run dotclear on 1and1 too and it works fine. One thing to know about 1and1 is that it runs php 4 by default. If you wish to run php 5 or greater you have to create a htaccess file.

Here is the link to their faq

http://faq.1and1.com/scripting_language … php/7.html

I do remember having problems with dotclear and 1and1 which were fixed by specifying the use of php5.

Hope this takes care of it.

Hors ligne

#13 2013-03-04 11:43:37

LFM
Membre
Inscription : 2013-02-28

Re : Login problem (1and1)

Okay, it seems a little bit messed up.
nginx thing was just a test done w/ my laptop, to check if I did something wrong.
And I had no problem running dotclear on my laptop.

ONLY 1AND1 ACCOUNT HAS PROBLEM

Yes, I'm using 1and1. But phpinfo() says its version is 5.4.12..

Hors ligne

#14 2013-03-04 12:02:52

pierrevg
Membre
Inscription : 2005-04-13
Site Web

Re : Login problem (1and1)

Hi, you can switch in 5.2 in "Version globale PHP" or install the dotclear 2.5 RC : http://dotclear.org/blog/post/2013/02/24/Upcoming-2.5

Hors ligne

#15 2013-03-04 12:59:36

LFM
Membre
Inscription : 2013-02-28

Re : Login problem (1and1)

Thank you pierrevg.
But 2.5 RC also doesn't work...

Hors ligne

#16 2013-03-04 13:40:35

pierrevg
Membre
Inscription : 2005-04-13
Site Web

Re : Login problem (1and1)

In dashboard in 1and1, in the espace web section, you have a link to "version globale PHP", no ? Here your choose the php version.

Hors ligne

#17 2013-03-04 19:08:30

LFM
Membre
Inscription : 2013-02-28

Re : Login problem (1and1)

I tried both(5.2. 5.4) but no work.

+ After setting global php version, I wiped directory and db. And then reinstalled dotclear.
I had 4 kinds of .htaccess

AddHandler x-mapp-php5 .php
AddHandler x-mapp-php6 .php
RemoveType .php
RemoveHandler .php

AddType application/x-httpd-php-source .php
AddHandler x-mapp-php5 .php
RemoveType .php
RemoveHandler .php

AddType application/x-httpd-php-source .php
AddHandler x-mapp-php6 .php

Tested all of them. All of them can change php version successfully, but it's unable to log in whatever version I use.
It seems php version is not relevant to the problem.

Dernière modification par LFM (2013-03-05 12:19:53)

Hors ligne

#18 2013-03-04 19:15:12

pierrevg
Membre
Inscription : 2005-04-13
Site Web

Re : Login problem (1and1)

After selecting 5.2, you must clear the cache of the browser and dotclear.
I am in dotclear 2.4.4 and php 5.2.
Your .htaccess is empty about php ?

Hors ligne

#19 2013-03-05 12:38:05

LFM
Membre
Inscription : 2013-02-28

Re : Login problem (1and1)

It's still strange. Currently I'm using other blogging tools(serendipity, textcube, havalite) and mediawiki.
All of them are written in php 5.4. But none of them had any problem w/  log in.

Hors ligne

Vous n'êtes pas identifié(e).

Pied de page des forums

Sites map