Admin Dashboard "Internal Server Error"

vallu

Joined: 2009-06-04
Posts: 25
Posted: Thu, 2009-08-13 09:22

When I try to go to admin Dashboard page I get "Internal Server Error". All my other Gallery and Admin sites are working well, so I get that error only when I try to view admin dashboard.

Here is what server log file says:
[Wed Aug 12 20:51:05 2009] [error] [client 82.xxx.xx.xx] Premature end of script headers: php.fcgi, referer: http://mysite.com/gallery/index.php/admin/graphics

I got this error yesterday and I don't know how to fix it.

Thanks.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2009-08-13 14:01

First make sure you're using the latest experimental code:
http://codex.gallery2.org/Gallery3:Upgrading

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
vallu

Joined: 2009-06-04
Posts: 25
Posted: Thu, 2009-08-13 15:33

Thanks for your reply.
Sorry I forgot to tell my Gallery version in my first message, but my version is Gallery 3.0 git (pre-beta3). I updated it 3 or 4 days ago.

Edit:

I had same problems before I updated Gallery to the latest version. Could .htaccess be where the problem is?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2009-08-13 15:49

Well you could try taking the .htaccess out of the loop by renaming it.

I kind of wonder if you don't have a corrupt file. How are you upgrading? Are you downloading from that link I posted above or using git from the command line?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
vallu

Joined: 2009-06-04
Posts: 25
Posted: Thu, 2009-08-13 16:38
nivekiam wrote:
How are you upgrading? Are you downloading from that link I posted above or using git from the command line?

I downloaded .Zip file from here http://github.com/gallery/gallery3/tree/master

Renaming .htaccess didn't help.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Fri, 2009-08-14 20:07

What's in your gallery3/var/logs files? We need more debug info.
FAQ: How do I see debug information?
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!

 
vallu

Joined: 2009-06-04
Posts: 25
Posted: Sat, 2009-08-15 09:51

This is from my latest log file, but I don't think it has anything to do with my problem:
2009-08-15 02:27:18 +03:00 --- error: Uncaught Kohana_404_Exception: The page you requested, Images/Photo_[1600x1200]_181.jpg, could not be found. in file system/core/Kohana.php on line 841

And this one is from the day when I think problem started:

2009-08-12 13:33:12 +03:00 --- error: Uncaught Kohana_Database_Exception: There was an SQL error: Duplicate entry '9oimbjrgocg6v0ibqspugj9d47' for key 1 - INSERT INTO `sessions` (`session_id`, `last_activity`, `data`) VALUES ('9oimbjrgocg6v0ibqspugj9d47', 1250073184, 'c2Vzc2lvbl9pZHxzOjI2OiI5b2ltYmpyZ29jZzZ2MGlicXNwdWdqOWQ0NyI7dG90YWxfaGl0c3xpOjE7X2tmX2ZsYXNoX3xhOjA6e311c2VyX2FnZW50fHM6ODI6Ik1vemlsbGEvNC4wIChjb21wYXRpYmxlOyBNU0lFIDguMDsgV2luZG93cyBOVCA1LjE7IFRyaWRlbnQvNC4wOyAuTkVUIENMUiAxLjEuNDMyMikiO2lwX2FkZHJlc3N8czoxMzoiODUuMTU3LjM1LjIwMiI7bGFzdF9hY3Rpdml0eXxpOjEyNTAwNzMxNzc7dXNlcnxPOjEwOiJVc2VyX01vZGVsIjo2OntzOjE0OiIAKgBvYmplY3RfbmFtZSI7czo0OiJ1c2VyIjtzOjk6IgAqAG9iamVjdCI7YToxMjp7czoyOiJpZCI7aToxO3M6NDoibmFtZSI7czo1OiJndWVzdCI7czo5OiJmdWxsX25hbWUiO3M6MTA6Ikd1ZXN0IFVzZXIiO3M6ODoicGFzc3dvcmQiO3M6MDoiIjtzOjExOiJsb2dpbl9jb3VudCI7aTowO3M6MTA6Imxhc3RfbG9naW4iO2k6MDtzOjU6ImVtYWlsIjtOO3M6NToiYWRtaW4iO2k6MDtzOjU6Imd1ZXN0IjtpOjE7czo0OiJoYXNoIjtOO3M6MzoidXJsIjtOO3M6NjoibG9jYWxlIjtOO31zOjEwOiIAKgBjaGFuZ2VkIjthOjA6e31zOjk6IgAqAGxvYWRlZCI7YjoxO3M6ODoiACoAc2F2ZWQiO2I6MTtzOjEwOiIAKgBzb3J0aW5nIjthOjE6e3M6MjoiaWQiO3M6MzoiYXNjIjt9fWdyb3VwX2lkc3xhOjE6e2k6MDtpOjE7fWNzcmZ8czozMjoiYTNlYTIxN2M0ZmQwYTZjZmJiNzczY2Q4ODgwNTYxNGEiOw==') in file system/libraries/drivers/Database/Mysqli.php on line 142
2009-08-12 13:33:15 +03:00 --- error: Uncaught Kohana_Database_Exception: There was an SQL error: Duplicate entry '9oimbjrgocg6v0ibqspugj9d47' for key 1 - INSERT INTO `sessions` (`session_id`, `last_activity`, `data`) VALUES ('9oimbjrgocg6v0ibqspugj9d47', 1250073195, 'c2Vzc2lvbl9pZHxzOjI2OiI5b2ltYmpyZ29jZzZ2MGlicXNwdWdqOWQ0NyI7dG90YWxfaGl0c3xpOjE7X2tmX2ZsYXNoX3xhOjA6e311c2VyX2FnZW50fHM6ODI6Ik1vemlsbGEvNC4wIChjb21wYXRpYmxlOyBNU0lFIDguMDsgV2luZG93cyBOVCA1LjE7IFRyaWRlbnQvNC4wOyAuTkVUIENMUiAxLjEuNDMyMikiO2lwX2FkZHJlc3N8czoxMzoiODUuMTU3LjM1LjIwMiI7bGFzdF9hY3Rpdml0eXxpOjEyNTAwNzMxOTI7dXNlcnxPOjEwOiJVc2VyX01vZGVsIjo2OntzOjE0OiIAKgBvYmplY3RfbmFtZSI7czo0OiJ1c2VyIjtzOjk6IgAqAG9iamVjdCI7YToxMjp7czoyOiJpZCI7aToxO3M6NDoibmFtZSI7czo1OiJndWVzdCI7czo5OiJmdWxsX25hbWUiO3M6MTA6Ikd1ZXN0IFVzZXIiO3M6ODoicGFzc3dvcmQiO3M6MDoiIjtzOjExOiJsb2dpbl9jb3VudCI7aTowO3M6MTA6Imxhc3RfbG9naW4iO2k6MDtzOjU6ImVtYWlsIjtOO3M6NToiYWRtaW4iO2k6MDtzOjU6Imd1ZXN0IjtpOjE7czo0OiJoYXNoIjtOO3M6MzoidXJsIjtOO3M6NjoibG9jYWxlIjtOO31zOjEwOiIAKgBjaGFuZ2VkIjthOjA6e31zOjk6IgAqAGxvYWRlZCI7YjoxO3M6ODoiACoAc2F2ZWQiO2I6MTtzOjEwOiIAKgBzb3J0aW5nIjthOjE6e3M6MjoiaWQiO3M6MzoiYXNjIjt9fWdyb3VwX2lkc3xhOjE6e2k6MDtpOjE7fWNzcmZ8czozMjoiODExNTQ0OGNhNGViODQ5NjZlZTY4Yjc0YWQxODNmMGUiOw==') in file system/libraries/drivers/Database/Mysqli.php on line 142
2009-08-12 21:47:08 +03:00 --- error: Uncaught Kohana_Database_Exception: There was an SQL error: Duplicate entry 'o2go27b1890bcpr04coc778122' for key 1 - INSERT INTO `sessions` (`session_id`, `last_activity`, `data`) VALUES ('o2go27b1890bcpr04coc778122', 1250102828, 'c2Vzc2lvbl9pZHxzOjI2OiJvMmdvMjdiMTg5MGJjcHIwNGNvYzc3ODEyMiI7dG90YWxfaGl0c3xpOjE7X2tmX2ZsYXNoX3xhOjA6e311c2VyX2FnZW50fHM6MTU1OiJNb3ppbGxhLzUuMCAoU3ltYmlhbk9TLzkuNDsgVTsgU2VyaWVzNjAvNS4wIE5va2lhNTgwMGQtMS8zMC4wLjAxMTsgUHJvZmlsZS9NSURQLTIuMSBDb25maWd1cmF0aW9uL0NMREMtMS4xICkgQXBwbGVXZWJLaXQvNDEzIChLSFRNTCwgbGlrZSBHZWNrbykgU2FmYXJpLzQxMyI7aXBfYWRkcmVzc3xzOjEyOiI4Mi4xODEuMTAuNDgiO2xhc3RfYWN0aXZpdHl8aToxMjUwMTAyODI3O3VzZXJ8TzoxMDoiVXNlcl9Nb2RlbCI6Njp7czoxNDoiACoAb2JqZWN0X25hbWUiO3M6NDoidXNlciI7czo5OiIAKgBvYmplY3QiO2E6MTI6e3M6MjoiaWQiO2k6MTtzOjQ6Im5hbWUiO3M6NToiZ3Vlc3QiO3M6OToiZnVsbF9uYW1lIjtzOjEwOiJHdWVzdCBVc2VyIjtzOjg6InBhc3N3b3JkIjtzOjA6IiI7czoxMToibG9naW5fY291bnQiO2k6MDtzOjEwOiJsYXN0X2xvZ2luIjtpOjA7czo1OiJlbWFpbCI7TjtzOjU6ImFkbWluIjtpOjA7czo1OiJndWVzdCI7aToxO3M6NDoiaGFzaCI7TjtzOjM6InVybCI7TjtzOjY6ImxvY2FsZSI7Tjt9czoxMDoiACoAY2hhbmdlZCI7YTowOnt9czo5OiIAKgBsb2FkZWQiO2I6MTtzOjg6IgAqAHNhdmVkIjtiOjE7czoxMDoiACoAc29ydGluZyI7YToxOntzOjI6ImlkIjtzOjM6ImFzYyI7fX1ncm91cF9pZHN8YToxOntpOjA7aToxO31jc3JmfHM6MzI6IjA0MzkyNmUyNjU2MzRkNjg3NDNmMDZkZDlkMjBjZGNmIjs=') in file system/libraries/drivers/Database/Mysqli.php on line 142