coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: mccrusher on October 06, 2004, 01:35:51 PM

Title: Wrong datatype with vB3
Post by: mccrusher on October 06, 2004, 01:35:51 PM
Hello,

when I click on my forumlink to the gallery I get following error message:

Quote
Warning: in_array(): Wrong datatype for second argument in d:\inetpub\wwwroot\board\gallery\index.php on line 599

Warning: in_array(): Wrong datatype for second argument in d:\inetpub\wwwroot\board\gallery\index.php on line 626

Warning: in_array(): Wrong datatype for second argument in d:\inetpub\wwwroot\board\gallery\index.php on line 599

Warning: in_array(): Wrong datatype for second argument in d:\inetpub\wwwroot\board\gallery\index.php on line 626

Warning: in_array(): Wrong datatype for second argument in d:\inetpub\wwwroot\board\gallery\index.php on line 599

Warning: in_array(): Wrong datatype for second argument in d:\inetpub\wwwroot\board\gallery\index.php on line 626

Warning: in_array(): Wrong datatype for second argument in d:\inetpub\wwwroot\board\gallery\index.php on line 599

Warning: in_array(): Wrong datatype for second argument in d:\inetpub\wwwroot\board\gallery\index.php on line 626

What's the problem? Theme is default. My BB is vBulletin 3.0.3.

Please help!!
thx
Title: Re: Wrong datatype with vB3
Post by: Joachim Müller on October 06, 2004, 10:29:25 PM
link?
Title: Re: Wrong datatype with vB3
Post by: mccrusher on October 07, 2004, 01:17:36 PM
it's not public, so I need to send it to you per pm after your request.. hope that's no problem..?
Title: Re: Wrong datatype with vB3
Post by: Joachim Müller on October 08, 2004, 08:23:23 AM
I should have been more specific: of course we need a link that points to your coppermine page, not your forum.

Joachim
Title: Re: Wrong datatype with vB3
Post by: Joachim Müller on October 09, 2004, 03:42:46 PM
stop PMing me, but post here publicly. I can see no reason why you should play run-and-hide. I don't do individual support, and my signature clearly says so.

Joachim
Title: Re: Wrong datatype with vB3
Post by: kegobeer on October 09, 2004, 03:51:02 PM
What version of PHP are you running?
Title: Re: Wrong datatype with vB3
Post by: mccrusher on October 10, 2004, 12:30:40 AM
Quote from: GauGau on October 09, 2004, 03:42:46 PM
stop PMing me, but post here publicly. I can see no reason why you should play run-and-hide. I don't do individual support, and my signature clearly says so.

Joachim

If you don't want to help say so. thx. the gallery is not public so I won't post a link here.

Quote from: kegobeer on October 09, 2004, 03:51:02 PM
What version of PHP are you running?

PHP 4.38 running..
Title: Re: Wrong datatype with vB3
Post by: kegobeer on October 10, 2004, 02:05:10 AM
Please list the details of your webserver - OS, MySQL, PHP.

Also, have you done any modifications to the Coppermine code, did you follow the installation instructions, did you receive any error messages during install, and did you follow the bridge instructions and/or have any problems during that process?
Title: Re: Wrong datatype with vB3
Post by: mccrusher on October 10, 2004, 12:35:39 PM
Quote from: kegobeer on October 10, 2004, 02:05:10 AM
Please list the details of your webserver - OS, MySQL, PHP.

Also, have you done any modifications to the Coppermine code, did you follow the installation instructions, did you receive any error messages during install, and did you follow the bridge instructions and/or have any problems during that process?

The Webserver is IIS 5.0 on Windows 2000 Advanced Server with mySQL 4.0.21 and PHP 4.3.8.

The Coppermine Gallery and the forum were running fully before integrating. when opening the gallery without login (anonymous) there are no errors. but when login (in the forum) and then goto the gallery there are the described errors.

I have nothing changed in the coppermine code except the integration files vbulletin30.inc.php and init.inc.php. I got no error messages during install. Both were fully functional. So I think I made a mistake in integrating the gallery. but I followed the instructions.

here are my integration settings:

Quote
vbulletin30.inc.php
[...]
// database configuration
define('VB_CUST_NO', 'xxxxxxxx'); // Your vBulletin license number (NOT your customer number)
define('VB_DB_NAME', 'forum'); // The name of the database used by the board
define('VB_BD_HOST', 'localhost'); // The name of the database server
define('VB_DB_USERNAME', 'xxxx'); // The username to use to connect to the database
define('VB_DB_PASSWORD', 'xxxx'); // 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', '/board/');
[...]

Quote
init.inc.php
[...]
define('COPPERMINE_VERSION', '1.3.2');
// User database integration
// Uncomment the applicable line if you want to use it
// 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');
if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');
[...]

hope you can help...
mfg
mcccrusher
Title: Re: Wrong datatype with vB3
Post by: mccrusher on October 12, 2004, 11:05:51 PM
Hi, it's me again. Today I found out that I am the only user that can login into the gallery. So probably you can't see the error messages.

I fixed it so you can see them now.

The gallery did not integrate the users from the board. I don't know why. Any expectations?

greetings
mccrusher
Title: Re: Wrong datatype with vB3
Post by: Nibbler on October 13, 2004, 01:13:11 PM
Do coppermine and the board have different cookie names set ?