forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 PHPnuke/Postnuke Support => Topic started by: Soliloquy on March 21, 2006, 08:30:06 am

Title: Save my site from the evils of PHP Nuke
Post by: Soliloquy on March 21, 2006, 08:30:06 am
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!
Title: Re: Save my site from the evils of PHP Nuke
Post by: Joachim Müller on March 21, 2006, 08:40:29 am
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.
Title: Re: Save my site from the evils of PHP Nuke
Post by: Soliloquy on March 21, 2006, 09:45:55 am
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
Title: Re: Save my site from the evils of PHP Nuke
Post by: Joachim Müller on March 21, 2006, 05:05:21 pm
http://forum.coppermine-gallery.net/index.php?topic=29040.0