Help - Search - Members - Calendar
Full Version: IPB WARNING [2] in_array() [function.in-array]: Wrong datatype for sec
Asia Finest Discussion Forum > AsiaFinest.com > Talk about AsiaFinest
sniff
i get lines and lines and lines and lines and lines and lines and lines and lines of that at the top of my window when i try to view my subbed topics. what is going on...!?
VietSk8rGUI
why do ppl subscribe topics....fuken gay
sniff
thanks for the help, numbnuts! beerchug.gif
VietSk8rGUI
well glad to know dat my handicap nut sack can be of some help to you

http://www.asiafinest.com/forum/index.php
sniff
biggthumpup.gif
Ben
anyone else getting that error?
Ralf
QUOTE(Ben @ Jan 28 2009, 02:40 PM) [snapback]4104635[/snapback]
anyone else getting that error?

I just checked my control panel and yes I am also getting that error.
The window displays my subscriptions and the menu correctly, but added at the top of the window are these lines :

IPB WARNING [2] in_array() [function.in-array]: Wrong datatype for second argument (Line: 2728 of /sources/action_public/usercp.php)
IPB WARNING [2] in_array() [function.in-array]: Wrong datatype for second argument (Line: 2728 of /sources/action_public/usercp.php)
IPB WARNING [2] in_array() [function.in-array]: Wrong datatype for second argument (Line: 2728 of /sources/action_public/usercp.php)
IPB WARNING [2] in_array() [function.in-array]: Wrong datatype for second argument (Line: 2728 of /sources/action_public/usercp.php)
IPB WARNING [2] in_array() [function.in-array]: Wrong datatype for second argument (Line: 2728 of /sources/action_public/usercp.php)
IPB WARNING [2] in_array() [function.in-array]: Wrong datatype for second argument (Line: 2728 of /sources/action_public/usercp.php)
IPB WARNING [2] in_array() [function.in-array]: Wrong datatype for second argument (Line: 2728 of /sources/action_public/usercp.php)
IPB WARNING [2] in_array() [function.in-array]: Wrong datatype for second argument (Line: 2728 of /sources/action_public/usercp.php)
IPB WARNING [2] in_array() [function.in-array]: Wrong datatype for second argument (Line: 2728 of /sources/action_public/usercp.php)
IPB WARNING [2] in_array() [function.in-array]: Wrong datatype for second argument (Line: 2728 of /sources/action_public/usercp.php)
IPB WARNING [2] in_array() [function.in-array]: Wrong datatype for second argument (Line: 2728 of /sources/action_public/usercp.php)
IPB WARNING [2] in_array() [function.in-array]: Wrong datatype for second argument (Line: 2728 of /sources/action_public/usercp.php)
IPB WARNING [2] in_array() [function.in-array]: Wrong datatype for second argument (Line: 2728 of /sources/action_public/usercp.php)
IPB WARNING [2] in_array() [function.in-array]: Wrong datatype for second argument (Line: 2728 of /sources/action_public/usercp.php)
IPB WARNING [2] in_array() [function.in-array]: Wrong datatype for second argument (Line: 2728 of /sources/action_public/usercp.php)
IPB WARNING [2] in_array() [function.in-array]: Wrong datatype for second argument (Line: 2728 of /sources/action_public/usercp.php)
utarah
error reporting should be turn off for security reasons

CODE
error_reporting(0);


Ben
QUOTE(utarah @ Apr 13 2009, 04:48 AM) [snapback]4197974[/snapback]
error reporting should be turn off for security reasons

CODE
error_reporting(0);


Do you know where i can turn that off?
utarah
QUOTE(Ben @ Apr 13 2009, 10:26 PM) [snapback]4198762[/snapback]
Do you know where i can turn that off?


by examining that link (http://www.asiafinest.com/forum/index.php), you have to find the index.php and then open it in a notepad. Inside the index.php, find

CODE
<?PHP


if there is a session_start(); below the <?PHP you need to add


CODE
error_reporting(0);


below it.

That will suppress all the errors by turning off the error reporting. You will no longer see any error messages (ex: Warning, Notice, Fatal Error) like for example if something bad might happen to the IPB core files.

By the way, save a copy of your index.php before you edit it.
Ralf
Utarah you desrve a promotion for your technical insights ! beerchug.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.