![]() |
|
Thread Tools |
#1
|
|||
|
|||
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 ![]() No members have liked this post.
|
#2
|
||||
|
||||
Hmmm. Line 2245 in content.php:
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.) No members have liked this post.
|
#3
|
|||
|
|||
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 .. No members have liked this post.
|
#4
|
||||
|
||||
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:
__________________
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.) No members have liked this post.
|
#5
|
|||
|
|||
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? No members have liked this post.
|
#6
|
||||
|
||||
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.) No members have liked this post.
|
#7
|
|||
|
|||
ahh.. ill check the logs later tonite when im back in see if I can see anything thru them ..
thanks ![]() No members have liked this post.
|
#8
|
||||
|
||||
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 No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 22:46.