Guest Posted March 29, 2003 Share Posted March 29, 2003 HellO! Can someone please help me with this error? Warning: Wrong datatype for second argument in call to in_array in /home/virtual/site26/fst/var/www/html/includes/boxes/categories.php on line 31 Warning: Wrong datatype for second argument in call to in_array in /home/virtual/site26/fst/var/www/html/includes/boxes/categories.php on line 38 Warning: Wrong datatype for second argument in call to in_array in /home/virtual/site26/fst/var/www/html/includes/boxes/categories.php on line 31 Warning: Wrong datatype for second argument in call to in_array in /home/virtual/site26/fst/var/www/html/includes/boxes/categories.php on line 38 Warning: Wrong datatype for second argument in call to in_array in /home/virtual/site26/fst/var/www/html/includes/boxes/categories.php on line 31 Warning: Wrong datatype for second argument in call to in_array in /home/virtual/site26/fst/var/www/html/includes/boxes/categories.php on line 38 It appears on the default.php page.. .:( Link to comment Share on other sites More sharing options...
Guest Posted March 29, 2003 Share Posted March 29, 2003 anyone ever encountered this before? Link to comment Share on other sites More sharing options...
Guest Posted March 29, 2003 Share Posted March 29, 2003 Courtney, Please read the FAQ/Rules for the forum....Bumping your post is against the rules.......Second, it has only been a couple of hours since your initial post. Patience. Take a look at the documentation at http:wiki.oscommerce.com. Do a search on the forums for part of your error code. It's also easier to diagnose a problem if we know what version of the program you're using, what you were doing before the error occurred, if you have installed any contributions, etc. Link to comment Share on other sites More sharing options...
Guest Posted March 29, 2003 Share Posted March 29, 2003 okay.... sorry... :( ummm....i checked the wiki community site, but it didn't help at all...and I searched through the forum already for anything that had categories error. is there anything else i can do? Link to comment Share on other sites More sharing options...
Ajeh Posted March 29, 2003 Share Posted March 29, 2003 Do you have a URL we can peek at on this? What snapshot are you using and did you add any add-on for your categories box? Link to comment Share on other sites More sharing options...
Guest Posted March 29, 2003 Share Posted March 29, 2003 hi! yes...thank you! http://www.greekretreat.com/default.php Link to comment Share on other sites More sharing options...
Guest Posted March 29, 2003 Share Posted March 29, 2003 snapshot? okay.....I'm KIND OF a newbie...well at least for osCommerce...i'm used to things like PHPNUKE.... I'm lost on the whole snapshot thing I just installed it so nothing is added. I didnt even know there were add ons... :shock: Link to comment Share on other sites More sharing options...
Ajeh Posted March 29, 2003 Share Posted March 29, 2003 Umm ... what screen are you on when you see this error? So far I have not tripped it on your site. :shock: Link to comment Share on other sites More sharing options...
Guest Posted March 29, 2003 Share Posted March 29, 2003 hi! it's just the http://www.greekretreat.com/default.php it has it in the left hand corner......is it not there when you view it? Link to comment Share on other sites More sharing options...
Guest Posted March 29, 2003 Share Posted March 29, 2003 that's weird..... IT WAS JUST THERE!!!! I PROMISE!!! :shock: GRRRRR :evil: :evil: I'm mad I've been stressing over this for three hours...:( Link to comment Share on other sites More sharing options...
Ajeh Posted March 29, 2003 Share Posted March 29, 2003 Looks normal to me ... For giggles and grins ... Close all your browsers ... clear your cache ... open a new browser see if it goes away. Link to comment Share on other sites More sharing options...
Guest Posted March 29, 2003 Share Posted March 29, 2003 Thank you to everyone who ventured to help! I really appreciate it! thank you thank you thank you...... probably something retarded that I did *hitting forehead*.....grrrrr..had to be thanks again, Courtney Elizabeth Link to comment Share on other sites More sharing options...
Ajeh Posted March 29, 2003 Share Posted March 29, 2003 Don't think you are the only one this happens to. That is the thrill of the hunt ... er ... coding experience ... 8) Link to comment Share on other sites More sharing options...
Ajeh Posted March 29, 2003 Share Posted March 29, 2003 Note: you need to put a .htaccess file in your root directory. http://www.greekretreat.com/default.php works but not http://www.greekretreat.com This can be done by creating a file called: .htaccess Add to it: DiRectoryindex index.shtml index.html index.htm index.php default.php /missing.html AddHandler server-parsed .shtml AddHandler server-parsed .html AddHandler server-parsed .htm Then create a nice page called missing.html and put that in the root for the lost souls that try to go to addresses that are not there and add some links on places they can go ... :D Link to comment Share on other sites More sharing options...
Ajeh Posted March 29, 2003 Share Posted March 29, 2003 That will also fix the broke link when Top is clicked on the navigation bar Link to comment Share on other sites More sharing options...
zaphod Posted March 29, 2003 Share Posted March 29, 2003 I was getting the same thing on my site, once i cleared my cookie it stopped but then came back again. What snapshot are you using? Anyways from what i found i am thinking that if you declare the variables on the give error lines as global it may get you around this error, it has something to do with the funtction embedded in the array i think. Also I am going to switch my sessions to being handled in the database and see if that gets rid of it, but it is definately a cache issue. Link to comment Share on other sites More sharing options...
moyashi Posted March 30, 2003 Share Posted March 30, 2003 But even if this were a browser cache problem why would it happen? I just posted my errors in another thread that area the same as above. NewsDesk(934) / FAQDesk(1106) / OrderCheck(1168) ::: Link to comment Share on other sites More sharing options...
moyashi Posted March 30, 2003 Share Posted March 30, 2003 http://www.oscommerce.com/forums/viewtopic.php...der=asc&start=0 that's the url for the other thread. I'm on OSX 10.2.4 using camino 0.7.0 was using MS1 and Loaded 5 at the time things went on the fritz. So this isn't just something like a bad error in file which I've "never" touched. :roll: NewsDesk(934) / FAQDesk(1106) / OrderCheck(1168) ::: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.