coppermine-gallery.com/forum

Support => Older/other versions => cpg1.1d PHPnuke Support (deprecated) => Topic started by: Kurse on October 15, 2003, 05:57:02 PM

Title: Compatibility
Post by: Kurse on October 15, 2003, 05:57:02 PM
Does Coppermine have a problem running on a Nuke with Gallery?

I thought I would try Coppermine to see how it worked. I am currently using Gallery.

Coppermine seemed to work after initial install, so I created an album and tried to upload a pic. I got no errors, but the pic wasnt uploaded either. I turned on debugging, no help there. When uploading a pic, It seemed like it uploaded, but then nothing. No display of any kind. Just looked like a blank block.

After searching the boards here I ran across some code someone added to tell PHP to display all errors, and this is what it showed:

Fatal error: Cannot redeclare resize_image() (previously declared in /data/www/html/modules/Gallery/util.php:360) in /data/www/html/modules/coppermine/include/picmgmt.inc.php on line 95


PHPNuke version 6.9
Gallery version 1.4-pl2
Coppermine version 1.1D
Title: Compatibility
Post by: sigi on October 15, 2003, 07:14:38 PM
QuoteFatal error: Cannot redeclare resize_image() (previously declared in /data/www/html/modules/Gallery/util.php:360) in /data/www/html/modules/coppermine/include/picmgmt.inc.php on line 95

so thats it: Gallery has a function named identical to a function in Coppermine ....  for testing purposes, you could rename the one in gallery, but - I suggest you make a new installation of PhpNuke without Gallery ...

btw: i would also suggest that all Coppermine Functions would be renamed to cp_... , i.e. cp_resize_image() ...
Title: Compatibility
Post by: jasendorf on October 15, 2003, 07:30:57 PM
nuh uh!  I suggest that Gallery switch all of THEIR function to a prefix with "gal_" in front of them!

;) :lol:
Title: Compatibility
Post by: Kurse on October 15, 2003, 07:33:57 PM
Thanks sigi, thats what I suspected.

I agree with you that the functions may need more centralized naming.

I am pretty happy with Gallery, so I will stick with it for now, but I will continue to monitor future Coppermine releases.

Just an observation on my part:

Gallery is written to run as a stand-alone, or PHP-Nuke integrated. You can run it both ways at the same time. This is a pretty cool feature. Maybe thats something that could be adapted into Coppermine instead of seperate releases.

Gallery intigrates a little more seamless into a PHP-Nuke than Coppermine. Im sure this could be improved.

Also, it seems Coppermine isn't too happy if you place an album folder outside of the coppermine moule directory.

Gallery doesnt require any database modifications. This has its pros and cons, however, but makes installation and configuration simpler.

These are just a couple of suggestions, no ill-will intented to Coppermine fans and developers. Coppermine does have a few features that Gallery does not, such as the e-cards. Im sure there is more, I didnt get to fully tinker with it. Maybe I will set up a test web and integrate coppermine to play with it more.

Both are very fine choices for web based photo albums.
Title: Compatibility
Post by: sigi on October 15, 2003, 07:33:58 PM
i agree .....

but then the Your_Account functions should begin with ya_ . and so on ....