Hello Support,
i had made a fresh install of cpg1.5.8 and but i could not get into admin page,whenever i try to login with administrator it gives a green color bar saying "welcome Guest......"
my url is http://photoshop.everything.net.in
Please help me out with the trouble
Thanks in advance for your support.
please help me with the issue i am facing.
To exclude client side issues, please post the login data.
URL is http://photoshop.everything.net.in
admin login : admin
password : admin
Please let me know what has gone wrong....
I can confirm your issue. My browser stores the cookies, so I guess there's a problem with the sessions table. Can you give me database access (e.g. via phpMyAdmin)?
https://www.cp.manasserver.com/phpmyadmin/788/index.php?server=95&token=1ea96b75d6b62766c7dc3429b4d63f26&old_usr=u1011987_cpg
password is deleted
Don't post admin passwords publicly! I've deleted it. You also need to post the user name and the server name, as we don't want to guess that information. I'm currently short of time, that's why I don't post you my contact details. Maybe someone else can look into your issue (maybe you can do that yourself).
hello thanks for deleting the password, please let me know how can i send you the password and the server details as i dont know how to work in mysql.
Your help will be highly appriciated.
I've sent you a PM.
sent you details.
I recognized the following:
- when I visit your gallery 1 session cookie is generated
- when I browse a little bit on your gallery or after logging in, a second session cookie is created
- every time i refresh your gallery, a different session value is stored in your database
I don't know why this happens, but I assume it depends somehow on your server settings.
this look like something big issue, i am sorry am not that much tech savvy. please let me know what server setting i must look for to make this gallery a success...
Quote from: workingmind on August 30, 2010, 04:04:28 PM
please let me know what server setting i must look for to make this gallery a success...
I can't help you, sorry.
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 like
QuoteHTTP_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 ( .NET CLR 3.5.30729)
SERVER_PROTOCOL: HTTP/1.1
site_url: http://localhost:88/svn_cpg15x_trunk/
client_id: b91fbccac8395d4126a701a1509ce736
session_id: 2b7d66e5389cd63daefffbb9d1862460
md5(session_id+client_id): cd88590a3c04ced326d71dc993202b0d
in 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.
me too had the same problem but 1.4.27 working fine but 1.5.8 is showing the above stated error what will be the problem
Quote from: mahesh1825 on September 03, 2010, 12:56:27 PM
me too had the same problem but 1.4.27 working fine but 1.5.8 is showing the above stated error what will be the problem
Nice to know, but that doesn't help us further. Install the session bugger plugin and post a link to your gallery if you want to help.
hi,
im new to this one. i have installed 1.5.8 and experienced the same problem. and tried the fix you said. i dont know if i installed the session_debugger plugin right. i have added to cpg_plugin table the following, session_debugger,configuration.php,codebase.php. but it gives me the same problem. im new to this stuff so forgive me. i really dont know where to start, im just trying it out.
here is a link to my gallery:
http://iroseph-spica.co.cc/gallery
username: admin
pass: admin
thanks
Quote from: deamonyo on September 03, 2010, 08:58:27 PM
i dont know if i installed the session_debugger plugin right.
Unfortunately you haven't.
Quote from: deamonyo on September 03, 2010, 08:58:27 PM
i have added to cpg_plugin table the following, session_debugger,configuration.php,codebase.php
Please re-read my instructions:
Quote from: Αndré on September 01, 2010, 10:51:30 AM
upload that plugin to your gallery's plugin folder as described in the docs and manually add an entry to your database's plugin table
hi,
i added the plug-in, and still no admin page. whats next?
my gallery : http://iroseph-spica.co.cc/gallery
usname: admin
pass: admin
thanks
The session_id value is always different. Normally it shouldn't change. It's hard to say why it happens. If you are ready to send me the ftp login data of the bridge/ directory, I'll try to figure out what the problem is. Please don't post that data here. I'll send you a PM with my contact details if you agree.
hi
yes i agree,.. please send me your contact details. i really want to use this gallery.
thanks
PM sent.
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?
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.
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
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.0How can I fix it?
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.
Never mind, I have found my old thread with solution in it.
http://forum.coppermine-gallery.net/index.php/topic,59698.msg294756.html#msg294756
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.
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 ::)
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.
I had this problem and this fix took care of it. Thank you all!
www.retinagallery.com
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.
Here is a screenshot of the error I get when using flash uploader
scohen125, please start a new thread for each issue. You should also search the board, as I answered several time on exactly that issue.