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
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
What browser ?
IE
FF
...
Redirecting site to the domain name?
Offline
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?
Prehaps Godaddy have a unique type of database login. Don't ask why.
The link at yours concern:
http://photos.no-strings-attach.com/
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
No! It was only for you to see the difference. I have no idea how the piwigo does.
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
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.
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
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
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
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)
select * from piwigo_sessions
Offline
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
defined('PHPWG_ROOT_PATH') or trigger_error('Hacking attempt!', E_USER_ERROR);
inserts
echo '<pre>'; print_r($_COOKIE); echo '</pre>';
Offline
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