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: I'M AN IDIOT PLEASE HELP  (Read 15926 times)

0 Members and 1 Guest are viewing this topic.

mrpcpro

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
I'M AN IDIOT PLEASE HELP
« on: February 03, 2005, 05:10:31 am »

Can somebody please help me integrate coppermine with invisionboard. This is chinese to me.

Thanks

CG
Logged

donnoman

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1615
  • From donovanbray.com
    • Donovan Bray
Re: I'M AN IDIOT PLEASE HELP
« Reply #1 on: February 03, 2005, 05:16:20 am »

search the boards for "invision" or "IPB", there are many posts on the subject.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: I'M AN IDIOT PLEASE HELP
« Reply #2 on: February 03, 2005, 05:17:56 am »

Did you read the instructions? http://coppermine.sourceforge.net/manual.php#integrating

You have to ask more specific questions.
Logged

mrpcpro

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: I'M AN IDIOT PLEASE HELP
« Reply #3 on: February 03, 2005, 05:28:11 am »

I read the instructions. Coppermine works fine without the integration. As soon as I integrate I get weird errors. LIke I can't use the e-card system. I'm going to install it again then give you my files to look at.

CG
Logged

mrpcpro

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: I'M AN IDIOT PLEASE HELP
« Reply #4 on: February 03, 2005, 05:29:48 am »

FIRST I MADE SURE I INSTALLED COPPERMINE IN THE SAME TABLE AS INVISIONBOARD

Logged

mrpcpro

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: I'M AN IDIOT PLEASE HELP
« Reply #5 on: February 03, 2005, 05:33:10 am »

I Chmod 777 albums and include
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: I'M AN IDIOT PLEASE HELP
« Reply #6 on: February 03, 2005, 05:34:35 am »

A good start is to provide us with the error messages you are getting.
Logged

mrpcpro

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: I'M AN IDIOT PLEASE HELP
« Reply #7 on: February 03, 2005, 05:38:24 am »

While executing query "SELECT name as user_name, mgroup, email as user_email, joined as user_regdate, location as user_location, interests as user_interests, website as user_website FROM `fightwor_ipowerb`.ibf_members WHERE id = '335'" on 0

mySQL error: Unknown column 'location' in 'field list'
Logged

mrpcpro

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: I'M AN IDIOT PLEASE HELP
« Reply #8 on: February 03, 2005, 05:38:57 am »

the above happens when I'm logged in as an admin. But as a guest I can use the e-card system

cg
Logged

mrpcpro

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: I'M AN IDIOT PLEASE HELP
« Reply #9 on: February 03, 2005, 05:41:46 am »

/home/fightwor/public_html/ipowerb/copper/include/functions.inc.php - Line: 105
Logged

mrpcpro

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: I'M AN IDIOT PLEASE HELP
« Reply #10 on: February 03, 2005, 05:50:15 am »

actually it happens checking groups I guess. When I don't login I can access e-card system. When I login I get the error above.

CG
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: I'M AN IDIOT PLEASE HELP
« Reply #11 on: February 03, 2005, 07:58:47 am »

This board isnt slowchat. Try posting more text per post instead of posting 1 sentence per post every few minutes.
Logged

mrpcpro

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: I'M AN IDIOT PLEASE HELP
« Reply #12 on: February 03, 2005, 01:12:20 pm »

This board isnt slowchat. Try posting more text per post instead of posting 1 sentence per post every few minutes.

Is this your professional guess at what's the problem?  ::)
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: I'M AN IDIOT PLEASE HELP
« Reply #13 on: February 03, 2005, 01:46:03 pm »

Come on man, help us out.  It's so much easier to read when you compose a complete message instead of posing several one line messages.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

mrpcpro

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: I'M AN IDIOT PLEASE HELP
« Reply #14 on: February 03, 2005, 01:54:25 pm »

Come on man, help us out.  It's so much easier to read when you compose a complete message instead of posing several one line messages.

So here it is all in one shot.

I installed Coppermine in the invision board database, I edited the files that come with coppermine 1.3.2 and uploaded them to the correct directory. When I login to Invisionboard then go to the coppermine index.php it logs me in automatically. I knows I'm an admin and all of the features seem to work fine except that as soon as I try to use the e-card system I get this error:

While executing query "SELECT name as user_name, mgroup, email as user_email, joined as user_regdate, location as user_location, interests as user_interests, website as user_website FROM `fightwor_ipowerb`.ibf_members WHERE id = '335'" on 0

mySQL error: Unknown column 'location' in 'field list'


File: /home/fightwor/public_html/ipowerb/copper/include/functions.inc.php - Line: 105


Here is the debug info:

USER:
------------------
Array
(
    [ID] => 231ef02fb25b7c182e10805d243b28c6
    [am] => 1
    [liv] => Array
        (
           
  • => 1
  • [1] => 2
                [2] => 3
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
       
  • => 335
[user_id] => 335
    [1] => Cupey Alto
    [user_name] => Cupey Alto
    [2] => 4
    [mgroup] => 4
    [3] => 4
    [group_id] => 4
    [4] => Admin
    [group_name] => Admin
    [5] => 0
    [group_quota] => 0
    [6] => 0
    [has_admin_access] => 1
    [7] => 1
    [can_rate_pictures] => 1
    [8] => 1
    [can_send_ecards] => 1
    [9] => 1
    [can_post_comments] => 1
    [10] => 1
    [can_upload_pictures] => 1
    [11] => 1
    [can_create_albums] => 1
    [12] => 0
    [pub_upl_need_approval] => 0
    [13] => 0
    [priv_upl_need_approval] => 0
    [14] => 0
    [upload_form_config] => 0
    [15] => 0
    [custom_user_upload] => 0
    [16] => 5
    [num_file_upload] => 5
    [17] => 3
    [num_URI_upload] => 3
    [groups] => Array
        (
           
  • => 4

        )

    [can_see_all_albums] => 1
)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content FROM cpg132_filetypes;
  • [1] => SELECT member_id as user_id, member_name as user_name, member_group as mgroup FROM `fightwor_ipowerb`.ibf_sessions WHERE id = 'fe164e0a903d9e0a42d9f0b133439362' AND ip_address = '24.44.21.178'
        [2] => SELECT * FROM cpg132_usergroups WHERE group_id = '4'
        [3] => DELETE FROM cpg132_banned WHERE expiry < 1107435173
        [4] => SELECT * FROM cpg132_banned WHERE ip_addr='24.44.21.178' OR ip_addr='24.44.21.178' OR user_id=335
        [5] => SELECT name as user_name, mgroup, email as user_email, joined as user_regdate, location as user_location, interests as user_interests, website as user_website FROM `fightwor_ipowerb`.ibf_members WHERE id = '335'
    )

    ==========================
    GET :
    ------------------
    Array
    (
       
[album] => 1
    [pid] => 1
    [pos] => 0
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.10 - OK
------------------
mySQL version: 4.0.23-standard
------------------
Coppermine version: 1.3.2
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
==========================
Module: mysql
------------------
Active Persistent Links 1
Active Links 2
Client API version 3.23.49
MYSQL_MODULE_TYPE builtin
MYSQL_SOCKET /var/tmp/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | -1 | -1
upload_max_filesize | 2M | 2M
post_max_size | 55M | 55M
==========================
Page generated in 0.035 seconds - 6 queries in 0.001 seconds - Album set :




I hope that helps. I do appreciate the support. I didn't want to sound foolish, and the reason I did one line per post was in case I made a mistake during the process.


CG




Logged

Nibbler

  • Guest
Re: I'M AN IDIOT PLEASE HELP
« Reply #15 on: February 03, 2005, 01:59:28 pm »

Logged

mrpcpro

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: I'M AN IDIOT PLEASE HELP
« Reply #16 on: February 03, 2005, 02:01:34 pm »

Same goes as in this thread:

http://forum.coppermine-gallery.net/index.php?topic=12067.0

I see, but that problem has no resolution? Is this the same case for my problem?

CG
Logged

Nibbler

  • Guest
Re: I'M AN IDIOT PLEASE HELP
« Reply #17 on: February 03, 2005, 02:02:46 pm »

The solution lies in your hands, you need to look at the database and modify the query to fit what you can see.
Logged

mrpcpro

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: I'M AN IDIOT PLEASE HELP
« Reply #18 on: February 03, 2005, 02:04:14 pm »

The solution lies in your hands, you need to look at the database and modify the query to fit what you can see.

would removing that portion of the query damage the program, in your opinion?

CG
Logged

Nibbler

  • Guest
Re: I'M AN IDIOT PLEASE HELP
« Reply #19 on: February 03, 2005, 02:08:01 pm »

Try it and see. If it breaks then try changing 'location as user_location' to ' '' AS user_location'
Logged
Pages: [1] 2   Go Up
 

Page created in 0.024 seconds with 15 queries.