Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

can someone please help with category error!


Guest

Recommended Posts

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

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

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

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

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

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

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...