Captionator and error 500

woollypigs
woollypigs's picture

Joined: 2011-12-13
Posts: 10
Posted: Wed, 2012-10-03 21:42

I use the Gallery 3.0.3 with the Captionator module. Uploading photos from 20 to a hundred+ at the time works fine. Adding tags and description on the photos individually works fine. But when I use the Captionator module it falls over.

First I get this :

HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfil the request.

When reloading the page I get this :

Dang... Something went wrong!

Platform information

Host name: web83.extendcp.co.uk
Operating system: Linux 2.6.32-279.9.1.el6.x86_64
Apache: Unknown
PHP: 5.2.17
MySQL: 5.1.57-log
Server load: 6.25 7.02 7.43
Graphics toolkit: gd
Gallery stats

Version: 3.0.3 (Hotlanta)
Albums: 28
Photos: 4422
Kohana_Exception [ kohana/core.errors.403 ]:
@todo FORBIDDEN
MODPATH/gallery/helpers/access.php[ 202 ]

197
198 /**
199 * Terminate immediately with an HTTP 403 Forbidden response.
200 */
201 static function forbidden() {
202 throw new Kohana_Exception("@todo FORBIDDEN", null, 403);
203 }
204
205 /**
206 * Internal method to set a permission
207 *
MODPATH/gallery/helpers/access.php[ 425 ] » access_Core::forbidden()

MODPATH/captionator/controllers/captionator.php[ 49 ] » access_Core::verify_csrf()

{PHP internal call} » Captionator_Controller->save( arguments )

SYSPATH/core/Kohana.php[ 331 ] » ReflectionMethod->invokeArgs( arguments )

SYSPATH/core/Event.php[ 208 ] » Kohana_Core::instance( arguments )

APPPATH/Bootstrap.php[ 67 ] » Event_Core::run( arguments )

DOCROOT/index.php[ 102 ] » require( arguments )

I have tried to edit php.ini and .htcaccess files to allow bigger uploads and longer timeouts. I also read that I need to enable the php and short code and the php flags, but these two options are already enabled on my server. As you can see I tried to switch from ImageMagic to GD graphics library to see if that helped but still I get the 500.

Anyone got an idea what I could be missing, I'm thinking that it could be Captionator that can't handle that many images in the folders/galleries I have.

Thanks
--
http://www.woollypigs.com

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2012-10-04 03:39

500 errors should be logged by the webserver it should have a clue as to what happened.
Are you saying the when you try to caption album that have more than 20 items you get this error and less than 20 you don't?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
woollypigs
woollypigs's picture

Joined: 2011-12-13
Posts: 10
Posted: Thu, 2012-10-04 04:50

I had a look at the errors an nothing stood out, will have a look again.

I don't have aN album with less photos in them. I know that captionator worked just fine before but now I have many more photos and the server falls over each time I try to use captionator.

http://www.woollypigs.com

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2012-10-04 13:31
Quote:
I don't have aN album with less photos in them.

please try and see

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
woollypigs
woollypigs's picture

Joined: 2011-12-13
Posts: 10
Posted: Thu, 2012-10-04 18:16

Hey just tested with a album with nine photos and used captionator just fine without any problems.

I have just asked my hosted to tell me where my Apache logs are as the ones I can see says nothing about the 500 error I get.

http://www.woollypigs.com