Subject: Botched Gallery2 Pluggin install

Posted on: 08/11/05 07:40pm
By: jordydme

Hi,

On my plugin install page it says that the pluggin is installed but I get a wierd thing happening. The GL pages load but at the top of the page it's white and the following code is repeatedly running across the top of the page:

Warning: fopen(/home/jordydme/geeklog_data/logs/error.log): failed to open stream: Permission denied in /home/jordydme/public_html/geeklog/lib-common.php on line 1547

Warning: fopen(/home/jordydme/geeklog_data/logs/error.log): failed to open stream: Permission denied in /home/jordydme/public_html/geeklog/lib-common.php on line 1547

Warning: fopen(/home/jordydme/geeklog_data/logs/error.log): failed to open stream: Permission denied in /home/jordydme/public_html/geeklog/lib-common.php on line 1547

Warning: fopen(/home/jordydme/geeklog_data/logs/error.log): failed to open stream: Permission denied in /home/jordydme/public_html/geeklog/lib-common.php on line 1547

Warning: fopen(/home/jordydme/geeklog_data/logs/error.log): failed to open stream: Permission denied in /home/jordydme/public_html/geeklog/lib-common.php on line 1547

Warning: fopen(/home/jordydme/geeklog_data/logs/error.log): failed to open stream: Permission denied in /home/jordydme/public_html/geeklog/lib-common.php on line 1547

Warning: Cannot modify header information - headers already sent by (output started at /home/jordydme/public_html/geeklog/lib-common.php:1547) in /home/jordydme/public_html/geeklog/lib-common.php(987) : eval()'d code on line 1

Anybody know what I should do with this?

Thanks,
Jordyd


Botched Gallery2 Pluggin install

Posted on: 08/11/05 08:49pm
By: ajzz

Two things to check for:

1) The well known "whitespace" issue on one of the php files you have recently altered: see FAQ

2) Permissions of the error.log file that shows in the error. The web server process needs write access to this file and depending on OS and user and group configurations (and who the owner of the file is) 766 or 777 permissions may be needed.

(Note that the error was probably due to the whitespace issue and lib-common was trying to report the error to the log which it could not. Correcting #1 should make both disappear, and correcting only #2 will make only the last line of your error message show and more details in error.log.)

Cheers!

Ajay

Botched Gallery2 Pluggin install

Posted on: 09/11/05 12:33am
By: jordydme

Thanks man- got it!

New problem is tha the photo in the photo block just shows a place holder and the G2 link is broken. GL does not link to the gallery.

Geeklog - Forum
https://www.geeklog.net/forum/viewtopic.php?showtopic=59803