Wrong datatype with vB3 Wrong datatype with vB3
 

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]

Main Menu

Wrong datatype with vB3

Started by mccrusher, October 06, 2004, 01:35:51 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

mccrusher

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

Joachim Müller


mccrusher

it's not public, so I need to send it to you per pm after your request.. hope that's no problem..?

Joachim Müller

I should have been more specific: of course we need a link that points to your coppermine page, not your forum.

Joachim

Joachim Müller

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

kegobeer

What version of PHP are you running?
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

mccrusher

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..

kegobeer

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?
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

mccrusher

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

mccrusher

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

Nibbler

Do coppermine and the board have different cookie names set ?