Page 1 of 1

Gallery Issue causing Error 500 [SOLVED]

Posted: Thu Oct 11, 2012 8:50 pm
by jackstringer
Gallery version is 1.6 and using CMSMS 1.11.2.

If in a news story I insert "{Gallery dir='2011/2011_team_bikes'}" I the page with the news module installed wont load.

Just tested and if you put {Gallery dir='2011/2011_team_bikes'} on a page its fine, but if you put it in a news article it gets funny.

Background,
I have moved the site to a different host and tested and the site seemed fine. So I decided to upgrade it. To start off it would not load the page as {search} was not recognised once I deleted it from the theme it then threw up time outs. So I un-installed news and reinstalled it from module manager and it worked fine. So I tried to insert all the old news stories in the database via phpMyAdmin but it then timed out again. So I deleted all stories and since I have been inserting story by story until I got to the error and its on the first news article to use the {gallery}. I also get the error like someone else mentioned where a blank gallery keeps getting inserted into the database.


Thanks in Advance.

Re: Gallery Issue causing Error 500

Posted: Thu Oct 11, 2012 9:10 pm
by Jos
I guess you run your site on php5.2.x?

Then try {cms_module module='Gallery' dir='2011/2011_team_bikes'}

Re: Gallery Issue causing Error 500

Posted: Thu Oct 11, 2012 9:20 pm
by jackstringer
Sorry I forgot to add PHP details,

I have PHP 5.2.17

I will test it now.

Re: Gallery Issue causing Error 500

Posted: Thu Oct 11, 2012 9:22 pm
by jackstringer
Thanks JOS,

That works fine.