Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Compatibility  (Read 5393 times)

0 Members and 1 Guest are viewing this topic.

Kurse

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Compatibility
« 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
Logged

sigi

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 68
    • http://www.allygally.de
Compatibility
« Reply #1 on: October 15, 2003, 07:14:38 pm »

Quote
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


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() ...
Logged
Siegfried Schlosser

Berlin, Germany

had a big Coppermine gallery with more than 250.000 pics  at
www.allygally.de, but due to juristical problems that is closed now ....
Now trying Coppermine 1.4.x at http://walexis.pytalhost.de/

jasendorf

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 350
    • http://www.338tharmyband.com
Compatibility
« Reply #2 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:
Logged
Read the Online DOCs,FAQ, and SEARCH the board BEFORE posting questions for help.

Kurse

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Compatibility
« Reply #3 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.
Logged

sigi

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 68
    • http://www.allygally.de
Compatibility
« Reply #4 on: October 15, 2003, 07:33:58 pm »

i agree .....

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

Berlin, Germany

had a big Coppermine gallery with more than 250.000 pics  at
www.allygally.de, but due to juristical problems that is closed now ....
Now trying Coppermine 1.4.x at http://walexis.pytalhost.de/
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 14 queries.