Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Save my site from the evils of PHP Nuke  (Read 11921 times)

0 Members and 1 Guest are viewing this topic.

Soliloquy

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Save my site from the evils of PHP Nuke
« 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!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Save my site from the evils of PHP Nuke
« Reply #1 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.
Logged

Soliloquy

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Save my site from the evils of PHP Nuke
« Reply #2 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.