No admin page after admin login - Page 2 No admin page after admin login - Page 2
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

No admin page after admin login

Started by workingmind, August 27, 2010, 05:00:06 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

deamonyo

hi

yes i agree,.. please send me your contact details. i really want to use this gallery.


thanks

Αndré


Joe Carver

Quote from: Αndré on September 06, 2010, 06:02:28 PM
The session_id value is always different. Normally it shouldn't change.

http://iroseph-spica.co.cc/gallery  returns
QuoteETag: "1234567890abcdrfgh"

Could ETag be interfering?


Αndré

After debugging almost every line in bridge/coppermine.inc.php I recognized, that your sessions table gets cleaned up every time your gallery is loaded. After changing
$sql = "UPDATE {$CONFIG['TABLE_CONFIG']} SET value = UNIX_TIMESTAMP() WHERE name = 'session_cleanup'";
to
$sql = "UPDATE {$CONFIG['TABLE_CONFIG']} SET value = ".time()." WHERE name = 'session_cleanup'";
it works now. Seems that your PHP time and your MySQL time differs much. This should be fixed, otherwise you have to apply that code change after every upgrade of Coppermine.

I changed the admin password of your gallery. Check your emails for the new admin password.

deamonyo

Quote from: Αndré on September 07, 2010, 09:01:37 AM
After debugging almost every line in bridge/coppermine.inc.php I recognized, that your sessions table gets cleaned up every time your gallery is loaded. After changing
$sql = "UPDATE {$CONFIG['TABLE_CONFIG']} SET value = UNIX_TIMESTAMP() WHERE name = 'session_cleanup'";
to
$sql = "UPDATE {$CONFIG['TABLE_CONFIG']} SET value = ".time()." WHERE name = 'session_cleanup'";
it works now. Seems that your PHP time and your MySQL time differs much. This should be fixed, otherwise you have to apply that code change after every upgrade of Coppermine.

I changed the admin password of your gallery. Check your emails for the new admin password.

hi,

thanks for looking in to this problem. now i can enjoy CPG. i will have to check on those PHP time and MySQL time to my hosting provider. i tested it, and now i have my admin panel. thanks again. cheers

/dea

petahi

Quote from: Αndré on September 01, 2010, 10:51:30 AM
I recently had some issues in my personal gallery and in a test gallery of another user. I decided to write a little session debug plugin. Please upload that plugin to your gallery's plugin folder as described in the docs and manually add an entry (similar to the attached screenshot) to your database's plugin table to enable the plugin. If it works, you should some info likein the header of your gallery.

In my case the server protocol switches between HTTP/1.1 and HTTP/1.0 for some reason. Maybe it's similar for you.


I have the same problem: the server protocol switches between HTTP/1.1 and HTTP/1.0

How can I fix it?


Αndré

Quote from: petahi on November 04, 2010, 11:22:45 AM
I have the same problem: the server protocol switches between HTTP/1.1 and HTTP/1.0

How can I fix it?
Open bridge/coppermine.inc.php, find
$superCage->server->getRaw('SERVER_PROTOCOL')
and remove it.

petahi


petahi

Quote from: Αndré on November 04, 2010, 11:31:42 AM
Open bridge/coppermine.inc.php, find
$superCage->server->getRaw('SERVER_PROTOCOL')
and remove it.


Thank you, that is even better than the old fix.

Αndré

Quote from: petahi on November 04, 2010, 11:54:49 AM
Thank you, that is even better than the old fix.
That's exactly the same fix ::)

Αndré

Quote from: Αndré on November 04, 2010, 11:31:42 AM
Open bridge/coppermine.inc.php, find
$superCage->server->getRaw('SERVER_PROTOCOL')
and remove it.
Change has been committed to svn and will be in the next cpg1.5.x release.

scohen125

I had this problem and this fix took care of it.  Thank you all!
www.retinagallery.com

scohen125

I used this fix and deleted $superCage->server->getRaw('SERVER_PROTOCOL') from the proper file.  Then I was able to login to my site which was great!

Unfortunately, when I use the flash uploader now, I get an error message.  After uploading each file a red box appears around the filename saying 'upload failed' and the following pop-up box appears:

Message from Webpage
albums/userpics/10001/thumb_(filename).jpg
OK (the OK is in a button)

When I click the OK it goes on and 'fails' to upload each additional file.  BUT, when I got to the album all the files are there.  So it is working but just not properly.  If I upload each file alone using the other uploader there is no error message.


scohen125

Here is a screenshot of the error I get when using flash uploader

Αndré

scohen125, please start a new thread for each issue. You should also search the board, as I answered several time on exactly that issue.