I don't know if this will get solved 'by itself', but when installing the latest nightly I get this error:
Fatal error: Cannot redeclare class streamreader in /srv/lilian/www/www.ls-design.nl/portfolio/lib/gettext/streams.php on line 26
This function must be new and I don't know what it does, but it stops Plogger from working :(. On some sites I read that it could be a conflict with some WP-plugin. Can I disable it and how?
GETTEXT is the localization framework we are using to translate Plogger to different languages. It happens to be the one that Wordpress uses as well. I am guessing that you are trying to use both simultaneously.
You could probably fix this by removing the gettext localization include statement... I think they are in plog-globals.php,
Already tried that (thought I was clever ;) ). That works as far as the gallery is concerned, but after logging in to Plogger I get this message:
Fatal error: Cannot instantiate non-existent class: gettext_reader in /srv/lilian/www/www.ls-design.nl/portfolio/plog-globals.php on line 35
so I can't reach the admin section.
Correction: When I also comment out lines 35 and 40 I can reacht the admin section, although it seems to be not ready. Missing text everywhere. Perhaps better to download the latest beta ;)
I found something that is maybe not the best solution, but could mybe help someone out till the next Plogger Version is out.
Comment those lines out, like they told ya in the messages above.
then open the files "plog-admin.php" , "plog-options.php" , "plog-upload.php" and "plog-themes.php" that are located in the "plogger/admin" folder and erase all "plog_tr" tags.
For example in the "plog-admin.php" file, edit line 46 - 54 from:
do the same for the "plog-options.php" , "plog-upload.php" and "plog-themes.php" file and upload all. Now You have back the english AdminMenuText, so that you can use the Menu till a newer version will come out.. I hope maybe that will help one or two of you using the Beta3 with wordpress...
Sometimes... i have so many questions on so many forums that I sometimes forget some... until I stumble into the same problem later on. Like now, when I finally upgraded my Plogger installation to beta 3.
Just like above I still get this error-message
[code]Fatal error: Cannot redeclare class streamreader in /srv/jackdaw/www/www.spoenk.nl/weblog/wp-includes/streams.php on line 26[/code]
and Anti, I'm using Plogger next to WordPress but in a different directory: /fotografie (plogger) /weblog (wordpress)
Edit........................
I did what Murdock suggested. So after commenting those lines out I got back my site (but not my admin) and after that deleted all the plog_tr from those 4 files. Now the admin also works again, but I had hoped this would have been solved with beta 3, because this means that everyone who is using WordPress and Plogger beta 3 will get these errors, or am I wrong?
commenting out the requires is obviously not going to work out, unless you access the admin also captured in wordpress otherwise gettext won't be included even when it is needed.
The simplest, quickest fix is to intelligently test ie
if (!class_exists(streamreader)) { require_once("lib/gettext/streams.php"); require_once("lib/gettext/gettext.php"); }
require_once/include_once isn't clever enough on its own.
But, the real problem is in the gettext code which ought to anticipate multiple inclusion and protect the class/variable definitions correctly.