Save my site from the evils of PHP Nuke Save my site from the evils of PHP Nuke
 

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]

Main Menu

Save my site from the evils of PHP Nuke

Started by Soliloquy, March 21, 2006, 08:30:06 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Soliloquy

I recently took over a Nuke site that had the Coppermine module, and am trying to bring it over onto my newly bridged Coppermine 1.4.4, but I'm running into a lot of SQL errors when I just try to import the tables.  Can anyone advise me on how to avoid them?  I know Nuke support isn't provided here, but thought maybe someone else had to deal with the same issue.

Thanks for any advice you can give!

Joachim Müller

as you already found out: there's no nuke support. Unless you're an extremely good php coder, you can't incorporate cpg1.4.x into the nuke port.

Don't run phpnuke at all if you're concerned about security.

Soliloquy

No, I wasn't trying to incorporate Coppermine 1.4.4 into Nuke, I was trying to turn a Nuke Coppermine site into Coppermine 1.4.4.  (Hence the "Save my site from the evils of PHP Nuke" subject line.) 

I am pleased to report that I was successful, and for the benefit of anyone else with the same problem who may find this post in the future, here's how to do it.

In the table nuke_cpgn_albums, get rid of the last_addition and stat_uptodate fields

In the table nuke_cpgn_categories, change the catname field to just name, and get rid of the subcat_drought, alb_count, pic_count, and stat_uptodate fields

In the table nuke_cpgn_pictures, get rid of the randpos field

Change your table prefixes to whatever you have on the new Coppermine install, and import all the inserts.


Hope this helps someone,

Michelle

Joachim Müller