Piwigo.org

You are not logged in. (Register / Login)

Announcement

Post a reply

Write your message and submit

Click in the dark area of the image to send your post.

Go back

Topic review (newest first)

Allen
2011-04-07 16:39:43

I just installed Piwigo.  All went well until I tried to log in.  Then I got the "Cookies are blocked or not supported by your browser. You must enable cookies to log in" message.  I tried several flavor of browsers -- never had I had this problem.

Observation:  I have set up with a subdomain going directly to Piwigo --  using url http://myphotos.domain.com .  Program is installed in /myphotos .  Using this URL gives the error.

Work-around:  It turns out that http://www.domain.com/myphotos works just fine.  There seems to be something going on associated with the use of a subdomain.

plg
2010-02-18 13:51:08

1) remove the piece of code I have asked you to add in include/common.inc.php
2) go to http://no-strings-attach.com/photos/identification.php and get connected
3) go to http://no-strings-attach.com/photos/adm … on=phpinfo

Copy/paste into an email for me :-)

pol
2010-02-18 13:46:28

pol wrote:

8) Glad you solved the problem!
I'am waiting for your solution.
Greetings

Excuse me! I dont understand your request.
can you be more specific?
A copy of that link !?
(http://photos.no-strings-attach.com/adm … on=phpinfo)
You want to access this link? Is That?

pol
2010-02-18 13:37:50

8) Glad you solved the problem!
I'am waiting for your solution.
Greetings

nicolas
2010-02-17 23:14:10

plg wrote:

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 :-)

@pol, I imagine you want to keep only the first url you give us. So to fix the problem for people using IIS as http server, can you give us (or send by mail if you prefer) a copy of that link :

http://photos.no-strings-attach.com/adm … on=phpinfo

I supposed that the problem is only on IIS and I want to be sure. Thanks for your help.

plg
2010-02-17 22:58:19

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 :-)

plg
2010-02-17 22:30:33

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>';
plg
2010-02-15 22:35:22

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
plg
2010-02-15 10:02:13

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

plg
2010-02-13 00:57:28

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.

pol
2010-02-12 15:47:23

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

pol
2010-02-10 15:41:24

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.

plg
2010-02-10 15:23:51

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?)

pol
2010-02-10 15:16:44

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

plg
2010-02-10 14:26:47

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.

Board footer

Powered by FluxBB

About this website · Donate · Contact Piwigo project © 2002-2013