coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: hendri on December 27, 2004, 02:23:31 PM

Title: After integration with vb3.03 can't upload file
Post by: hendri on December 27, 2004, 02:23:31 PM
please help
after integration can't upload files ??

message :

Sorry there is no album where you are allowed to upload files

File: /home/aroclubi/public_html/gallery/upload.php - Line: 845


debug :
USER:
------------------
Array
(
    [ID] => 7cee48c09cd77f8dde8981d927285601
    [am] => 0
)

==========================
USER DATA:


LOGIN IS OK..

PLEASE HELP....
Title: Re: After integration with vb3.03 can't upload file
Post by: hendri on December 27, 2004, 03:24:18 PM
i have change all the privalges...and create album that everybody can get in

but when i want to upload files show up error :

Error
Invalid action for form creation.

pleasssseeee help me... frustasting already ..


hendri


Title: Re: After integration with vb3.03 can't upload file
Post by: Joachim Müller on December 27, 2004, 03:42:56 PM
link and test user account (non-admin) with upload privileges please. Enable debug_mode for all in coppermine to let us see additional errors.

Joachim
Title: Re: After integration with vb3.03 can't upload file
Post by: hendri on December 28, 2004, 12:42:32 AM
Quote from: GauGau on December 27, 2004, 03:42:56 PM
link and test user account (non-admin) with upload privileges please. Enable debug_mode for all in coppermine to let us see additional errors.

Joachim

already test user account with upload privileges and it seems ok (    define('UDB_INTEGRATION', 'vbulletin3')    not used   ) , can upload picture.

but when i use '   define('UDB_INTEGRATION', 'vbulletin3')  ' in init.inc.php when i try to upload file with user account this error came out :

Invalid action for form creation.

File: /home/aroclubi/public_html/gallery/upload.php - Line: 963

debug info :

USER:
------------------
Array
(
    [ID] => 7cee48c09cd77f8dde8981d927285601
    [am] => 1
    [liv] => Array
        (
           
Title: Re: After integration with vb3.03 can't upload file
Post by: Joachim Müller on December 28, 2004, 04:56:51 AM
it's nice you already have a test user set up :-\\, I was suggesting you post the test user data, so we can have a look for ourselves ;)

Joachim
Title: Re: After integration with vb3.03 can't upload file
Post by: hendri on December 28, 2004, 08:23:12 AM
Quote from: GauGau on December 28, 2004, 04:56:51 AM
it's nice you already have a test user set up :-\\, I was suggesting you post the test user data, so we can have a look for ourselves ;)

Joachim

ok

user name : test
passw       : 1234

log ini www.aroclubindonesia.com/forum

gallery in

www.aroclubindonesia.com/gallery

thanks for the help

hendri
Title: Re: After integration with vb3.03 can't upload file
Post by: Joachim Müller on December 28, 2004, 09:01:17 AM
Integration/bridging is not set up correctly on your page. After logging in on your forum and then returning to your gallery page, I can still see the login link, whcih means that coppermine doesn't "recognize" I'm already logged in (so the upload problem is not of concern for the moment, you have to fix authentification first). Post the modified lines of your bridge file (make sure to replace your password with asterisks).

Joachim
Title: Re: After integration with vb3.03 can't upload file
Post by: hendri on December 28, 2004, 10:57:55 AM
vbulletin3.inc.php :

// vBulletin 3.0 Integration for Coppermine

// ------------------------------------------------------------------------- //
// ------------------------------------------------------------------------- //
// Modify the values below according to your Board installation
// ------------------------------------------------------------------------- //
// database configuration

//NOTE : Your vBulletin license number is provided at the top of every php file in your vBulletin installation!
define('VB_CUST_NO', '*******'); // Your vBulletin license number (NOT your customer number)
define('VB_DB_NAME', 'aroclubi_database'); // The name of the database used by the board
define('VB_BD_HOST', 'localhost'); // The name of the database server
define('VB_DB_USERNAME', 'aroclubi_hendri'); // The username to use to connect to the database
define('VB_DB_PASSWORD', '*******'); // The password to use to connect to the database[/b]
// The web path to your vBulletin Board directory
// In this example http://yoursite_name.com/vbulletin3/
define('VB_WEB_PATH', '/forum/');
// ------------------------------------------------------------------------- //
// Nothing to edit below this line
// ------------------------------------------------------------------------- //


init.inc in include directory :
define('COPPERMINE_VERSION', '1.3.2');
// User database integration
// Uncomment the applicable line if you want to use it
define('UDB_INTEGRATION', 'vbulletin3');
// define('UDB_INTEGRATION', 'phpbb');
// define('UDB_INTEGRATION', 'invisionboard');
// define('UDB_INTEGRATION', 'vbulletin23');
// define('UDB_INTEGRATION', 'vbulletin30');
// define('UDB_INTEGRATION', 'yabbse');
// define('UDB_INTEGRATION', 'smf');
// define('UDB_INTEGRATION', 'woltlab21');
// define('UDB_INTEGRATION', 'punbb');



anything wrong ?
Title: Re: After integration with vb3.03 can't upload file
Post by: Joachim Müller on December 28, 2004, 02:05:58 PM
is coppermine installed in the same database?

Joachim

P.S. I edited your posting to make it more readable
Title: Re: After integration with vb3.03 can't upload file
Post by: hendri on December 29, 2004, 02:24:16 AM
Quote from: GauGau on December 28, 2004, 02:05:58 PM
is coppermine installed in the same database?

Joachim

P.S. I edited your posting to make it more readable


yes it was installed in same database, so what have to do ?
Title: Re: After integration with vb3.03 can't upload file
Post by: Joachim Müller on December 29, 2004, 07:42:51 PM
do you run a legal copy of vb, and did you check the vBulletin license number is correct in your bridge file. I remember that there have been reports from users who ran an illegal copy of vb, where the bbs itself did work, but bridging didn't. As soon as they legalized their vb version, the bridge started working. Please note: I'm not accusing you of anything, I'm only trying to help.

Joachim
Title: Re: After integration with vb3.03 can't upload file
Post by: Nibbler on December 29, 2004, 08:10:39 PM
Does vb3 have a tablename prefix you need to set ?
Title: Re: After integration with vb3.03 can't upload file
Post by: hendri on December 30, 2004, 02:05:45 AM
Quote from: GauGau on December 29, 2004, 07:42:51 PM
do you run a legal copy of vb, and did you check the vBulletin license number is correct in your bridge file. I remember that there have been reports from users who ran an illegal copy of vb, where the bbs itself did work, but bridging didn't. As soon as they legalized their vb version, the bridge started working. Please note: I'm not accusing you of anything, I'm only trying to help.

Joachim

i run a legal copy, i got my licence, my customer id , my passw . it's ok for asking...:)
Title: Re: After integration with vb3.03 can't upload file
Post by: hendri on December 30, 2004, 02:11:47 AM
Quote from: Nibbler on December 29, 2004, 08:10:39 PM
Does vb3 have a tablename prefix you need to set ?

what prefix need to set ? can tell  me ?
Title: Re: After integration with vb3.03 can't upload file
Post by: Nibbler on December 30, 2004, 02:13:05 AM
The VB_TABLE_PREFIX in the bridge file.
Title: Re: After integration with vb3.03 can't upload file
Post by: hendri on December 30, 2004, 10:47:45 AM
Quote from: Nibbler on December 30, 2004, 02:13:05 AM
The VB_TABLE_PREFIX in the bridge file.

what to add / change ? here the code :

// Prefix and names for the database tables
define('VB_TABLE_PREFIX', ''); // Leave empty, not supported by vBulletin 2.3
define('VB_USER_TABLE', 'user'); // The members table
define('VB_SESSION_TABLE', 'session'); // The sessions table
define('VB_GROUP_TABLE', 'usergroup'); // The groups table
Title: Re: After integration with vb3.03 can't upload file
Post by: Joachim Müller on December 30, 2004, 02:00:56 PM
take a look at the tables names used by vb (e.g. with phpMyAdmin): you should be able to figure out they have a pattern, e.g. vb_foo, vb_bar, vb_whatever. In this case, "vb_" would be the table prefix. Usually, you can set up the table prefix when settings up your bbs in the first place - we can't know, since none of the dev team members owns a vb-license, so we just have to guess (as a side note: the vb people haven't been very helpfull when we asked them if we could have a free vb license, not for a "live" forum, but just to test and maintain the bridge files. You might want to moan at them on their board *hint*  ;)).

Joachim
Title: Re: After integration with vb3.03 can't upload file
Post by: hendri on December 31, 2004, 07:37:58 AM
Quote from: GauGau on December 30, 2004, 02:00:56 PM
take a look at the tables names used by vb (e.g. with phpMyAdmin): you should be able to figure out they have a pattern, e.g. vb_foo, vb_bar, vb_whatever. In this case, "vb_" would be the table prefix. Usually, you can set up the table prefix when settings up your bbs in the first place - we can't know, since none of the dev team members owns a vb-license, so we just have to guess (as a side note: the vb people haven't been very helpfull when we asked them if we could have a free vb license, not for a "live" forum, but just to test and maintain the bridge files. You might want to moan at them on their board *hint*  ;)).

Joachim

i have check the prefix is 'vb3_' and i have changed the table prefix to 'vb3_' in vbulletin3.init.php and still got error.. can't upload :( ...


here is the code :
//NOTE : Your vBulletin license number is provided at the top of every php file in your vBulletin installation!
define('VB_CUST_NO', '****'); // Your vBulletin license number (NOT your customer number)
define('VB_DB_NAME', '*****'); // The name of the database used by the board
define('VB_BD_HOST', 'localhost'); // The name of the database server
define('VB_DB_USERNAME', '****'); // The username to use to connect to the database
define('VB_DB_PASSWORD', '*******'); // The password to use to connect to the database

// The web path to your vBulletin Board directory
// In this example http://yoursite_name.com/vbulletin3/
define('VB_WEB_PATH', '/forum/');
// ------------------------------------------------------------------------- //
// Nothing to edit below this line
// ------------------------------------------------------------------------- //
// Prefix and names for the database tables
define('VB_TABLE_PREFIX', 'vb3_'); // Leave empty, not supported by vBulletin 2.3
define('VB_USER_TABLE', 'user'); // The members table
define('VB_SESSION_TABLE', 'session'); // The sessions table
define('VB_GROUP_TABLE', 'usergroup'); // The groups table
Title: Re: After integration with vb3.03 can't upload file
Post by: hendri on January 03, 2005, 01:19:19 AM
so what should i do again ? thanks  ::)