Internal server error and gallery unusable right after installation
|
meneldur
Joined: 2009-10-31
Posts: 7 |
Posted: Wed, 2009-11-04 20:43
|
|
I installed Gallery3 for a website I'm working on. It installed correctly but it's unusable after finishing installation. All stylesheets seem not to work, and clicking any link throws an "Internal server error". The error log says: This website is hosted in a rented shared server. Following FAQ info, I set short_open_tag to 1 (the server had that setting turned on globally, however) and checked with the hosting staff about the AllowOverride directive (it's set to All). Here's the phpinfo link: http://www.donbosconorte.org.ar/phpinfo.php I'd really love to have Gallery3 working, since I'm using Gallery2 with excellent results in another website but I'd like to have in this one all the new stuff G3 added. |
|
| Login or register to post comments |

Posts: 9281
There's not many links to click, but clicking on the Home button just refreshes the home page. Clicking on any of the RSS feeds results in a proper RSS feed page, that's blank due to no content.
First thing I'd try is increasing the amount of memory from 16M, try 32M. This FAQ will tell you how you can do that:
FAQ: PHP memory_limit - Why do I get the error Allowed memory size of Xxx bytes exhausted?
Other than that is there anything in your gallery/var/logs directory?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 16315
Browsing to http://donbosconorte.org.ar/gallery/index.php/xxxxx that should give a 'Dang'/404 error gives a internal server error.
There should be some error in the servers error logs:
FAQ: What is the webserver error log?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 7
Thanks everybody for replying.
I have posted the error log line regarding the problem with Gallery. Here's another:
[Thu Nov 5 00:13:40 2009] [error] [client xx.xx.xx.xx] Premature end of script headers: /www/docs/donbosconorte.org.ar/public_html/gallery/index.php
Could this error be related to PHP memory limit setting? I didn't receive any "PHP memory limit reached" error.
Posts: 7
I did it. But the problem persists:
[Mon Nov 9 17:29:38 2009] [error] [client xx.xx.xx.xx] Premature end of script headers: /www/docs/donbosconorte.org.ar/public_html/gallery/index.php
Yes, there's a file called 2009-11-05.log.php, so I understand is an old error unrelated to this problem I'm posting (it seems it couldn't find a page to show a 404 error). Its contents are:
<?php defined('SYSPATH') or die('No direct script access.'); ?>
2009-11-05 13:41:30 -03:00 --- error: Uncaught Kohana_404_Exception: The page you requested, xxxxx, could not be found. in file system/core/Kohana.php on line 849
2009-11-05 13:41:30 -03:00 --- error: #0 [internal function]: Kohana::show_404()
#1 /www/docs/donbosconorte.org.ar/public_html/gallery/system/core/Event.php(209): call_user_func(Array)
#2 /www/docs/donbosconorte.org.ar/public_html/gallery/system/libraries/Router.php(163): Event::run('system.404')
#3 [internal function]: Router_Core::setup()
#4 /www/docs/donbosconorte.org.ar/public_html/gallery/system/core/Event.php(209): call_user_func(Array)
#5 /www/docs/donbosconorte.org.ar/public_html/gallery/system/core/Bootstrap.php(49): Event::run('system.routing')
#6 /www/docs/donbosconorte.org.ar/public_html/gallery/index.php(86): require('/www/docs/donbo...')
#7 {main}
2009-11-05 13:41:51 -03:00 --- error: Uncaught Kohana_404_Exception: The page you requested, xxxxx, could not be found. in file system/core/Kohana.php on line 849
2009-11-05 13:41:51 -03:00 --- error: #0 [internal function]: Kohana::show_404()
#1 /www/docs/donbosconorte.org.ar/public_html/gallery/system/core/Event.php(209): call_user_func(Array)
#2 /www/docs/donbosconorte.org.ar/public_html/gallery/system/libraries/Router.php(163): Event::run('system.404')
#3 [internal function]: Router_Core::setup()
#4 /www/docs/donbosconorte.org.ar/public_html/gallery/system/core/Event.php(209): call_user_func(Array)
#5 /www/docs/donbosconorte.org.ar/public_html/gallery/system/core/Bootstrap.php(49): Event::run('system.routing')
#6 /www/docs/donbosconorte.org.ar/public_html/gallery/index.php(86): require('/www/docs/donbo...')
#7 {main}
Posts: 7
Nothing?
Posts: 16315
Browsing to http://donbosconorte.org.ar/gallery/index.php/xxxxx ... that should give a 'Dang'/404 error but: gives a internal server error.
There should be some error in the servers error logs I don't see anything that stands out in the G3 logs:
FAQ: What is the webserver error log?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team