Announcement

#1 2010-02-10 11:06:59

pol
Guest

Can not login using Webmaster name and password

I have install piwigo 2.0.8 in my hosting on Godaddy. After create and configure the database and piwigo make the administration entries. "Go to the identification page and use the login/password given for webmaster". I go to the identification page(identification.php) and when i make the login...nothing! And do not show any error! Goto the index.php page but stills in a some state...not logged. An ideia of the problem? (Using MySQL 5.0)

Waiting for an answer soon, greetings

POL

 

#2 2010-02-10 11:20:38

nicolas
Former Piwigo Team
2004-12-30
1232

Re: Can not login using Webmaster name and password

pol wrote:

I have install piwigo 2.0.8 in my hosting on Godaddy. After create and configure the database and piwigo make the administration entries. "Go to the identification page and use the login/password given for webmaster". I go to the identification page(identification.php) and when i make the login...nothing! And do not show any error! Goto the index.php page but stills in a some state...not logged. An ideia of the problem? (Using MySQL 5.0)

Waiting for an answer soon, greetings

POL

If your credentials are correct it can be a cookie problem. Authentification through piwigo force using cookies. If you don't accept them it cannot work. See your browser preferences !

Offline

 

#3 2010-02-10 11:29:37

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7202

Re: Can not login using Webmaster name and password

What browser ?
IE
FF
...

Redirecting site to the domain name?


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#4 2010-02-10 14:00:57

pol
Guest

Re: Can not login using Webmaster name and password

I have used IE and FF from two diferent environments.

I have found this:
// username and password sent from signup form
$username=$_POST['username'];
$encrypted_password=md5($password);
$password=$_POST['password'];

It should be

// username and password sent from signup form
$username=$_POST['username'];
$password=$_POST['password'];
$encrypted_password=md5($password);

Is yours login authentication similar?

 

#5 2010-02-10 14:08:16

pol
Guest

Re: Can not login using Webmaster name and password

Prehaps Godaddy have a unique type of database login. Don't ask why.

The link at yours concern:
http://photos.no-strings-attach.com/

 

#6 2010-02-10 14:26:47

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13786

Re: Can not login using Webmaster name and password

pol wrote:

I have found this:
// username and password sent from signup form
$username=$_POST['username'];
$encrypted_password=md5($password);
$password=$_POST['password'];

Where did you find this? Not in Piwigo I suppose.

Offline

 

#7 2010-02-10 15:16:44

pol
Guest

Re: Can not login using Webmaster name and password

No! It was only for you to see the difference. I have no idea how the piwigo does.

 

#8 2010-02-10 15:23:51

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13786

Re: Can not login using Webmaster name and password

That's right, I can't login on your gallery :-/

Please tell us:

1) where you found the piece of erronous code you provided earlier
2) how you installed Piwigo (be precise : automatic installation provided by GoDaddy? NetInstall? Package install?)

Offline

 

#9 2010-02-10 15:41:24

pol
Guest

Re: Can not login using Webmaster name and password

1 - The piece of code...http://www.bigresource.com/Tracker/Track-php-KKjHihGs/
2 - Package Install. Then i have transfered the files by FTP. Create the database MySQL. I have attribute to this folders (_data, admin, galleries, include, install and upload) permissions of read and write. I followed the steps that you indicate in your site.

 

#10 2010-02-12 15:47:23

pol
Guest

Re: Can not login using Webmaster name and password

It seems that there is no solution! Right!?
I have to figure out alone. I have post the question to Godaddy Staff...

Support Staff Response
Dear paulo oliveira,

Thank you for contacting online support. During our review of your account, we did not see any issue with the operational status of your hosting account and your site appears to be setup and accessible without issue.

Please let us know if you are still experiencing an issue along with a detailed account of the error message(s) or other symptoms and a list of steps taken to replicate the issue and we will be glad to further research this for you.

Please let us know if we can assist you in any other way.

Sincerely,

Dana P.
Online Support Team

 

#11 2010-02-13 00:57:28

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13786

Re: Can not login using Webmaster name and password

Hi pol,

I've sent a private email. Godaddy is a huge hosting provider and I would like Piwigo to be fully compliant in this place.

Offline

 

#12 2010-02-15 10:02:13

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13786

Re: Can not login using Webmaster name and password

I've received the reply from GoDaddy support team:

GoDaddy wrote:

Dear Pierrick Le Gall,

Thank you for contacting Online Support.  Unfortunately we cannot provide a temporary hosting account for testing purposes.  I apologize for any inconvenience this may have caused.  Please let us know if you have any further questions, comments, or concerns by replying to this email. Our service departments and telephone lines are open 24 hours a day, 365 days a year to accommodate your needs anytime.

You can also reach us by phone [...]

Please let us know if we can assist you in any other way.

Sincerely,

Stephen P.
Online Support Team

Offline

 

#13 2010-02-15 22:35:22

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13786

Re: Can not login using Webmaster name and password

One step further in the investigation. I still can't login. I mean I have no error (unless I provide a wrong password). When I browse your gallery my session identifier (pwg_id in the cookies) is changing at every page.

There seems to be a problem when registering the session in the database I would say.

Can you perform an SQL query on your database? (with PhpMyAdmin or an equivalent GoDaddy provides)

Code:

select * from piwigo_sessions

Offline

 

#14 2010-02-17 22:30:33

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13786

Re: Can not login using Webmaster name and password

pol sent me his piwigo_sessions table by email.

I can find my session identifiers (I had saved them in a file) in your table. Conclusion:

1) the session is correctly saved in the database
2) the problem seems to be at read time, Piwigo doesn't find my session. I suspect PHP can't read the cookies

In include/common.inc.php, right after

Code:

defined('PHPWG_ROOT_PATH') or trigger_error('Hacking attempt!', E_USER_ERROR);

inserts

Code:

echo '<pre>'; print_r($_COOKIE); echo '</pre>';

Offline

 

#15 2010-02-17 22:58:19

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13786

Re: Can not login using Webmaster name and password

nicolas has find something very interesting: your gallery URL is photos.no-strings-attach.com so the cookie path should be "/" but in fact your cookie path is "/photos". The probability is high that he found the problem.

My intuition told me to give a try to http://no-strings-attach.com/photos and... miracle. Connection works fine this time. Thank you nicolas :-)

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact