Admin - Dashboard

reowensmn

Joined: 2011-02-14
Posts: 2
Posted: Mon, 2011-02-14 03:09

When I click this menu Dashboard button I get a 500 - Internal server error.
I don't see the directory ADMIN on the server.

Thanks, Roger

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2011-02-14 03:27

FAQ: Host specific issues the community has found

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
undagiga

Joined: 2010-11-26
Posts: 693
Posted: Mon, 2011-02-14 10:11

You're not the only one with this problem Roger. See http://gallery.menalto.com/node/100664

Dave - I can't see anything under host specific issues that deals with this problem. Have I missed something?

U-G

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2011-02-14 14:37

most "The requested views, admin.html, could not be found" errors are from using Apache 1.x and there is a few host specific issues that cause it as well.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
undagiga

Joined: 2010-11-26
Posts: 693
Posted: Mon, 2011-02-14 23:20

Thanks - I only looked under host specific issues. My Apache version is 2.2.15 and I still get this error.

I'm also getting the equivalent error with the google_analytics module admin on one installation, but not with another install on the same server, as noted in http://gallery.menalto.com/node/100664#comment-368273

I'm not on any of the identified hosts and I can't see which of the identified host-specific issues might cause this problem.

U-G

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2011-02-15 01:12

A 500 - Internal server error will be logged by the Apache error logs. To further diagnose this we will need the logs from the time it happens. If you host can't wont provide those for the narrow time that it happens they should be able to help diagnose this if they can't wont provide them to you.
So is this related to the Ticket 1631 you opened? if so you will have to wait for that ticket to be resolved or remove your customizations.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
undagiga

Joined: 2010-11-26
Posts: 693
Posted: Tue, 2011-02-15 01:48

Yes it is related to that ticket. I will see what I can do about the logs. Thanks.

I've also just realised that the original post by Roger wasn't necessarily related to the .html option. My apologies to Roger for jumping in so quickly if his problem is the more generic version. (It just seemed to me that there had been a sudden outbreak of the ".html" instance of the problem.)

U-G

 
undagiga

Joined: 2010-11-26
Posts: 693
Posted: Wed, 2011-02-16 00:11

There doesn't seem to be anything in the Apache logs. I think this is because Kohana is doing the error trapping, as it puts the following in the gallery logs:

2011-02-15 16:01:31 -08:00 --- error: Kohana_Exception [ 42 ]: The requested views, admin.html, could not be found
/home/username/public_html/gallery/system/core/Kohana.php [ 806 ]
#0 /home/username/public_html/gallery/system/libraries/View.php(83): Kohana_Core::find_file('views', 'admin.html', true)
#1 /home/username/public_html/gallery/system/libraries/View.php(49): View_Core->set_filename('admin.html', NULL)
#2 /home/username/public_html/gallery/modules/gallery/libraries/MY_View.php(62): View_Core->__construct('admin.html', NULL, NULL)
#3 /home/username/public_html/gallery/modules/gallery/libraries/Admin_View.php(30): View->__construct('admin.html')
#4 /home/username/public_html/gallery/modules/gallery/controllers/admin_dashboard.php(22): Admin_View_Core->__construct('admin.html')
#5 /home/username/public_html/gallery/modules/gallery/controllers/admin.php(62): Admin_Dashboard_Controller->index()
#6 [internal function]: Admin_Controller->__call(Array, Array)
#7 /home/username/public_html/gallery/system/core/Kohana.php(331): ReflectionMethod->invokeArgs('index', Array)
#8 /home/username/public_html/gallery/system/core/Event.php(208): Kohana_Core::instance(Object(Admin_Controller), Array)
#9 /home/username/public_html/gallery/application/Bootstrap.php(67): Event_Core::run(NULL)
#10 /home/username/public_html/gallery/index.php(102): require('/home/username/...')
#11 {main}

Should I add this to the ticket? What is the correct procedure?

U-G

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2011-02-16 00:16

The 500 Internal Server error and the admin.html page not being found are 2 different problems.

The person having getting the 500 Internal Server error needs to look at their server's error logs to get an idea of why that's happening.
____________________________________________
Like Gallery? Like the support? Donate now!

 
tongben

Joined: 2012-01-20
Posts: 1
Posted: Fri, 2012-01-20 22:04
reowensmn wrote:
When I click this menu Dashboard button I get a 500 - Internal server error.
I don't see the directory ADMIN on the server.

Thanks, Roger

If I setup and access my gallery via http://gallery3.mydomainname.com, I had the same error "500 - Internal Server Error" after I logged on as admin then tried to go to Dashboard.

I fixed the problem by setup and access to the gallery via http://www.mydomainname.com/gallery3. I believe as long as you have some folder name after the domain name, the code would work. When I accessed my gallery this way, I got a page display of server info block with an option to remove the block. I clicked and removed the block. After this, the dashboard can be accessed either way.