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] 2   Go Down

Author Topic: PHPNuke5.5 & CPG 1.1D probs with phpmyadmin  (Read 16487 times)

0 Members and 1 Guest are viewing this topic.

VirtuAl

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
PHPNuke5.5 & CPG 1.1D probs with phpmyadmin
« on: October 28, 2003, 10:30:37 pm »

Hello !

wenn i try to import the coppermine.sql in my nuke db
i always get the following error message:

Duplicate column name 'user_group_cp'

i ofcourse use the original coppermine.sql but it doesnīt work.
please help

VirtuAl
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
PHPNuke5.5 & CPG 1.1D probs with phpmyadmin
« Reply #1 on: October 29, 2003, 02:41:29 am »

Do you use an added module that also added "user_group_cp" field to nukes_users table ?
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

gtroll

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 618
    • CPG-Nuke
PHPNuke5.5 & CPG 1.1D probs with phpmyadmin
« Reply #2 on: October 29, 2003, 02:47:58 am »

I didn't notice you are using Nuke version 5.5 have you checked the old board
Also did you read this in the installation file Installation-english.txt
Quote
4-As you have phpnuke 5.x/6.0 you must do a small modification:
in modules/Your_Account/index.php about line 112 replace:
Code: [Select]

$result = sql_query("insert into ".$user_prefix."_users values[/quote] (NULL,'','$uname','$email','','$url','$user_avatar','$user_regdate','$user_icq','$user_occ','$user_from','$user_intrest','$user_sig','$user_viewemail','','$user_aim','$user_yim','$user_msnm','$cryptpass','$storyhome','','0','0','0','','0','','$Default_Theme','$commentlimit','0','0','0','0','0','1','1','0')", $dbi);

Quote
by:
Code: [Select]

$result = sql_query("insert into ".$user_prefix."_users values (NULL,'','$uname','$email','','$url','$user_avatar','$user_regdate','$user_icq','$user_occ','$user_from','$user_intrest','$user_sig','$user_viewemail','','$user_aim','$user_yim','$user_msnm','$cryptpass','$storyhome','','0','0','0','','0','','$Default_Theme','$commentlimit','0','0','0','0','0','1','1','0','','','','')", $dbi);

VirtuAl

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
CPG error
« Reply #3 on: October 30, 2003, 05:04:43 pm »

what is the added module which should make the table entries and where can i get it ?
i use the normal cpg1.1D package - nothing else.

is that right that i have to run an app called "image magick"?
or does cpg also run without that tool ?

I have done the modifications noticed in the  Installation-english.txt
Logged

VirtuAl

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
no more ideas ...?
« Reply #4 on: November 03, 2003, 03:38:09 pm »

coppermine still doesnīt run and i donīt know why.
plz help !!

 :(
Logged

VirtuAl

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
no other modules !
« Reply #5 on: November 03, 2003, 03:43:21 pm »

sorry i missunderstood the upper posting.

no i dontīt habe any other module running in my phpnuke which could create the same table.

the 'user_group_cp'  doesnīt exist but the error still appears
Logged

sigi

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 68
    • http://www.allygally.de
PHPNuke5.5 & CPG 1.1D probs with phpmyadmin
« Reply #6 on: November 03, 2003, 07:18:59 pm »

if you have NOT installed any other module that makes use of the field user_group_cp, but the installation if the coppermine.sql fails with this message, then make a backup of your table and then delet this field. then try again .--..-
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/

VirtuAl

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
another error
« Reply #7 on: November 05, 2003, 09:30:12 pm »

ok, now iīve modified the sql db a little bit.
when i build and activate the coppermine block the following error message appears:

Warning: Undefined index: debug_mode in C:\apache\htdocs\functions.inc.php on line 123
Template error
Failed to find block 'file_line'(#(<!-- BEGIN file_line -->)(.*?)(<!-- END file_line -->)#s) in :


the line 123 of the functions.inc.php looks like this:
if(!$CONFIG['debug_mode']) template_extract_block($template_cpg_die, 'file_line');

doesnīt seam to be an unsolveable error - only a template.

but where can i get or how can i create this template ?????
Logged

gtroll

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 618
    • CPG-Nuke
PHPNuke5.5 & CPG 1.1D probs with phpmyadmin
« Reply #8 on: November 06, 2003, 02:49:59 am »

update your english file the prob is Warning: Undefined index: debug_mode in C:\apache\htdocs\functions.inc.php on line 123 so either debug_mode is not in english or not in the db

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
PHPNuke5.5 & CPG 1.1D probs with phpmyadmin
« Reply #9 on: November 06, 2003, 03:14:29 am »

you probably installed wrong coppermine.sql or wrong coppermine module.

remove all cpg_ tables and the 4 last fields of the nuke_users table.
remove the modules/coppermine directory.

Upload Coppermine for phpNuke 5.5-6.0 NOT for 6.5
Go to you nuke database and install coppermine.sql for Nuke 5.5-6.0 NOT for 6.5 in that database.

Everything should work now.
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

VirtuAl

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
imported again
« Reply #10 on: November 08, 2003, 08:42:00 pm »

I am using cpg1.1d for 5.5-6.0 for shure !
i deleted the cpg tables but i wasnīt able to erease the last 4 lines in the user_table.
i imported the coppermine.sql again.
this time without an error.

but the
Warning: Undefined index: debug_mode in C:\apache\htdocs\functions.inc.php on line 123
Template error
Failed to find block 'file_line'(#(<!-- BEGIN file_line -->)(.*?)(<!-- END file_line -->)#s) in :

is still remaining...... :cry:
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
PHPNuke5.5 & CPG 1.1D probs with phpmyadmin
« Reply #11 on: November 09, 2003, 12:25:05 am »

Which CPG1.1D the package contains 2 versions
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

VirtuAl

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
versions ?
« Reply #12 on: November 09, 2003, 08:31:35 pm »

i am using Coppermine 1.1D for PHPNuke 5.5-6.0

the 2nd version in this package is for PHPNuke6.5 - i ignored this version.

should be alright.
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
PHPNuke5.5 & CPG 1.1D probs with phpmyadmin
« Reply #13 on: November 09, 2003, 08:56:04 pm »

did you setup modules/coppermine/include/config.inc.php properly ?
are the cpg_ tables in same database as nuke ?
is the user table named nuke_users ?
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

VirtuAl

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
PHPNuke5.5 & CPG 1.1D probs with phpmyadmin
« Reply #14 on: November 10, 2003, 12:29:38 am »

yes
yes
yes

i controlled the entries once again.
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
PHPNuke5.5 & CPG 1.1D probs with phpmyadmin
« Reply #15 on: November 10, 2003, 05:21:49 am »

turn on debug mode and give us a url
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

VirtuAl

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
url
« Reply #16 on: November 11, 2003, 08:57:11 pm »

sorry, i canīt give you an url because the site is going to run only in an intranet of a big office.

Meanwhile i solved the problem, but iīve got a new on instead.
2 include paths in the init.inc.php were set wrong.
i changed the paths and coppermine started.

the new problem:
when i want to config cpg and save it, the following error message appears:

Warning: Failed opening 'themes/default/theme.php' for inclusion (include_path='.; \apache\includes;\apache\htdocs\;\apache\htdocs\phpmyadmin') in C:\apache\htdocs\html\header.php on line 43

Fatal error: Call to undefined function: themeheader() in C:\apache\htdocs\html\header.php on line 55

any idea ?
Logged

VirtuAl

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
its solved
« Reply #17 on: November 11, 2003, 09:07:56 pm »

i killed all cookies loaded all new, logged in again
and it runs !

thx @ all !!!
Logged

aptivous

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
PHPNuke5.5 & CPG 1.1D probs with phpmyadmin
« Reply #18 on: November 25, 2003, 06:00:41 am »

I have had similar errors running, At the moment I am at the stage where when i try to view an image it gives me this error:

Template error
Failed to find block 'uname_input'(#(<!-- BEGIN uname_input -->)(.*?)(<!-

Etc.
We are running PHP-Nuke 5.5 and yes, we have run the correct files to install not the 6.5 ones but have this error. I tried reloading the .sql files and came up with the same error.

We are running PhpNukeBB aswell on the site does that conflict?

Matt
Logged

aptivous

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
PHPNuke5.5 & CPG 1.1D probs with phpmyadmin
« Reply #19 on: November 25, 2003, 06:13:12 am »

Also VirtualAl what steps did you take to solve your problem, I seem to have the same issues as you had
Logged
Pages: [1] 2   Go Up
 

Page created in 0.023 seconds with 14 queries.