zumo13
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Nextgen Gallery] Error: Cannot redeclare class nggimage in image.phpOK. I have to say… “Use at your own risk.”
I’m getting all kinds of errors on the “Manage Plugins” page. That being said, the plugin is still working for me.
WordPress 2.7.1
NextGen 1.2.0Forum: Plugins
In reply to: [Plugin: Nextgen Gallery] Error: Cannot redeclare class nggimage in image.phpOK. So, I’ve fixed the problem for myself. I’m not a PHP programmer at all. But, after some googling, I decided to encapsualte all of the calls to load “/lib/image.php” with an if statement…
if (!class_exists(“nggimage”))
This fixed the first error, but revealed another, so I did the same for “/lib/meta.php”…
if (!class_exists(“nggmeta”))
I’m sorry, but it would take me too long to explain which files, and which directories to put them in, etc. that it requires to make it work. So, I just posted the files and directories that need to be replaced. You can download them here if you want…
http://www.jeffreyconway.com/nextgen_gallery_fixes.zip
I know it’s cludgey. And, I don’t guarantee any of the work (like I said, I don’t actually know PHP) but it’s working for me. I hope this helps someone.
-Jeff
Forum: Plugins
In reply to: [Plugin: Nextgen Gallery] Error: Cannot redeclare class nggimage in image.phpI just installed this plugin and I am experiencing the same issue, but it doesn’t even generate the thumbnail.
I can select the images one at a time and use the “create new thumbnails” feature. But, this process is tedious.
If anyone has found an answer please post it.
Thanks.