Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 20 Sep 2011, 15:41
DjEddie DjEddie is offline
 
Join Date: Nov 2007
Wrong Datatype Error - Need a lil help :)

Hi ..

On my cms page... some people have informed me that an error comes up at the top of the page:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/packages/vbcms/item/content.php on line 2245

I personally have never seen this .. i've been told it shows sometimes and other times doesn't.

I haven't added anything majorily different to the cms side that could cause this, if anything at all ...

Has anyone else had this problem? or does anyone know how to fix it?

Thanks
__________________

~IBass-Radio.com~
Reply With Quote
  #2  
Old 20 Sep 2011, 17:31
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Hmmm. Line 2245 in content.php:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

It looks like it has something to do with their permissions to download attachments in the cms. Have you modified these lately?
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #3  
Old 20 Sep 2011, 18:03
DjEddie DjEddie is offline
 
Join Date: Nov 2007
Hi Lynne..

Nope not changed anything on there really as of late....only thing changed before was the layour and an article added ..no permissions of any sort

1 person says sometimes the error shows.. other times it doesn't .. like I said . i've never seen it myself .so its puzzling me on how to fix it ..
__________________

~IBass-Radio.com~
Reply With Quote
  #4  
Old 20 Sep 2011, 18:08
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Hmm, those are the ones that are hard to pin down. You could turn display_errors off and then they wouldn't see the error (although, that doesn't mean it doesn't exist).

Add to config.php:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #5  
Old 20 Sep 2011, 18:12
DjEddie DjEddie is offline
 
Join Date: Nov 2007
well it all works ok .. nothing on that page is broken from what I can tell at least...

I know that doesn't fix it .. but like you say ..hard to work out .... i'll stick that on for now n have a play with things..

Thanks for your help Lynne



quick noob question ... where in the config would I put that?
__________________

~IBass-Radio.com~
Reply With Quote
  #6  
Old 20 Sep 2011, 18:14
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Do you see the errors in your errors_log? You can always look in there to see if the problem continues.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #7  
Old 20 Sep 2011, 18:21
DjEddie DjEddie is offline
 
Join Date: Nov 2007
ahh.. ill check the logs later tonite when im back in see if I can see anything thru them ..

thanks
__________________

~IBass-Radio.com~
Reply With Quote
  #8  
Old 20 Sep 2011, 19:16
doctorsexy's Avatar
doctorsexy doctorsexy is offline
 
Join Date: Apr 2011
Real name: Chris
Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/packages/vbcms/item/content.php on line 2245

that what im getting.... wasnt there last time i looked.. its in the background at the top
__________________
http://sandstormradio.org
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 10:10.

Layout Options | Width: Wide Color: