Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 02:10 pm EST

Geeklog Forums

Looking for all Experts for this one please pardon the redundancy....


Status: offline

ola_one

Forum User
Full Member
Registered: 06/28/03
Posts: 186
Please this may seem a little wordy, but it is killing me, so pardon me please....

My site was running with the following for the past 6 Months at the minimum.

Windows 2000 Advanced Server
Apache 2.0.48
PHP 4.3.4
Mysql 4.0.13
Geeklog 1.3.8sr4
Gallery 1.4.1pl1

Two days ago, I decided to add the random photo block and the trouble begins.

After adding the random photo block, I got an error 1064 on my server and in trying to solve this problem, decided to upgrade Geeklog to 1.3.9sr1.

At this point I untarred Geeklog and copied it over the existing Geeklog Directory. All I edited were (Config.PHP, Lib-Common.php)

The upgrade/installation was supposedly okay, but it did not get rid of my random photo block problem.

The function that I copied to lib-custom looks like the following, the first part is the end of a previous function and the random photo function follows (Not the whole function - just some of it).

If I leave the function this way, I get to my webpage and in the PHP Block that I created for random photo,
I do not get a random photo, instead what I get is: Error in PHP Block. Function, phpblock_galleryRandomPhoto, does not exist.

return mail ($to, $subject, $message, $headers);
}
*/

* This block will also display the photo caption. This is nice when you add comments as a photo caption
* But if you have not, the block may display the default photo caption which gallery defaulted to which is your digicam IMAGE ID
* I have added a check and exclude these captions. Modify this as required - about halfway down in this function.
*
*/
function phpblock_galleryRandomPhoto()
{
global $_CONF, $GALLERY_BASEDIR, $GALLERY_NO_SESSIONS, $gallery;

However when I change the function to (by adding the bold)
return mail ($to, $subject, $message, $headers);
}
*/
/*
* This block will also display the photo caption. This is nice when you add comments as a photo caption
* But if you have not, the block may display the default photo caption which gallery defaulted to which is your digicam IMAGE ID
* I have added a check and exclude these captions. Modify this as required - about halfway down in this function.
*
*/
function phpblock_galleryRandomPhoto()
{
global $_CONF, $GALLERY_BASEDIR, $GALLERY_NO_SESSIONS, $gallery;

I get a 1064 error and cannot get to my homepage(http://www.feyiola.com). But if instead of going to my homepage you type http://www.feyiola.com/calendar.php you get to the calendar.

So the problem is with the homepage somehow.

Now the problem includes Gallery and as much as I try to reconfigure Gallery, it is no longer wrapped in Geeklog. It was wrapped in Geeklog from inception up until yesterday after the updates....Now when you click on Photographs, you get to my Gallery, but not inside Geeklog even though I chose embedded in Geeklog during configuration and reconfigurations...

I have at this time used the first random function to show you this problem. To get to the web site, just add calendar.php as I stated earlier. and then when you click on Photographs, you will see what I was saying.

Thanks a million if you can solve this problem...
 Quote

Status: offline

geKow

Forum User
Full Member
Registered: 01/12/03
Posts: 445
Hi

have you tried to go to ...admin/block.php and to disable the random photo block, just to make your site usable again? I would say the problem is not with you homepage, it will be just the random photoblock wich prevents the index page from loading.

geKow
 Quote

Status: offline

ola_one

Forum User
Full Member
Registered: 06/28/03
Posts: 186
Thanks Gekow,

After deleting the random_photo block, I am able to get to my homepage again. Does that mean that I am not ever going to be able to use random photo block? And besides, my Gallery is still not wrapped in Geeklog...

I got a little mess.


Any ideas?
 Quote

All times are EST. The time is now 02:10 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content