Gallery in S9Y (aka Serendipity) weblog

keithstric

Joined: 2003-01-04
Posts: 5
Posted: Thu, 2004-07-08 18:26

I'm attempting to embed Gallery into S9Y. It's a weblog. I've been successful with albums.php, view_photo.php and search.php but not so with view_album.php. I've inserted the following code into each of those files in order to produce the header, footer, left and right side menus with Gallery in the center. Here's the code:

Quote:
<?php
chdir('/srv/www/htdocs/blog/');
require 'templates/keithstric/gal_head.php';
chdir('/srv/www/htdocs/gallery/');
?>

I insert this between </head> and <body dir="<?php echo $gallery->direction ?>"> in each file. I also added to html_wrap/wrapper.footer:

Quote:
<?php
require 'templates/keithstric/gal_foot.php'
?>

In view_album.php however I get the following error:

Quote:
Fatal error: Maximum execution time of 30 seconds exceeded in /srv/www/htdocs/reefscenes/view_album.php on line 1050

I've tried upping the execution time in php.ini from 30 to 90 then the page never renders. You can see this at http://www.keithstric.com/reefscenes/Administrator . Just navigate anywhere else within Gallery to see what I'm trying to accomplish. This method works in all the other files with no errors. Any ideas anyone?

Thanks in advance,
Keith
http://www.keithstric.com