Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin Whos online and using the cache.


Guest

Recommended Posts

Posted

I get this error in the admin section of whos online:

 

Warning: Bad arguments to implode() in /home/virtual/site2/fst/var/www/html/Venom-Store/admin/whos_online.php on line 107

What is this?

 

I also would like to know more about using the cache.

Do differnt users create different of the same cache files?

What i mean is one user may see the exact same thing as the other so thus would 2 cache files be made or would one that are the same be used as one?

 

How much space can a cache take up?

say 5000 products result in 10 times the size of the store itself?

 

Anymore info on using the cache would be cool.

Thanks

Posted
Anymore info on using the cache would be cool.

 

The cache functionality uses the built in php functionality.

 

See here

 

http://www.php.net/manual/en/ref.outcontrol.php

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

 

---------------------------------------

Software is like sex: It's better when it's free. (Linus Torvalds)

Posted

Umm that php site leave me almost brainless like trying to read an alien language. :shock:

 

Thanks anyway

Posted
I also would like to know more about using the cache.

Do differnt users create different of the same cache files?

No, different languages do. Look at the filenames in your cache directory to understand this better ;-)

What i mean is one user may see the exact same thing as the other so thus would 2 cache files be made or would one that are the same be used as one?

If both useres use the same language they will use the same cache file. But thing are more complex ;-) There are dynamic elements even in the cached files. Harald did an awful job on this piece of code.

 

How much space can a cache take up?

A lot, but not dramatic. It depends. The cache files contain no images and stuff, so it's merely some html stuff. Look at the cached files in your favourite editor.

 

HTH

You can't have everything. That's why trains have difficulty crossing oceans, and hippos did not adapt to fly. -- from the OpenBSD mailinglist.

Posted

Just one language will be used and i guess ill use it for a while and see if it does any performance improvement.

 

Thanks

Posted
Just one language will be used and i guess ill use it for a while and see if it does any performance improvement.

 

There is a function called "store page parse time" in osCommerce. You can use it to check the advantages fo teh cache system. Trust me, you will be impressed ;-)

 

Using the cache system saves a lot of database queries. Mostly the queries cause performance issues. The cache system is designed for exactly that reason.

 

HTH and have fun with osCommerce.

 

Hey, illicious, you have asked an awful lot and must have your head smoking by now! Hope we are not feeding you with too much information ;-)

You can't have everything. That's why trains have difficulty crossing oceans, and hippos did not adapt to fly. -- from the OpenBSD mailinglist.

Posted
Hey, illicious, you have asked an awful lot and must have your head smoking by now! Hope we are not feeding you with too much information ;-)

 

Lmao sorry loloooooo :lol: :lol: :lol:

 

Its just ive been working on this osC store and will hope to go live soon cus i have a deadline before this month ends.

 

Im ok, im doing just fine with all the info.

 

Many thanks to all.

  • 2 weeks later...
Posted

I don't get / see any files in my cache directory. Here are the steps I followed:

1) I have /tmp/ as my cache directory.

2) I also have "Use Cache" set to true in the Admin module.

3) I go to the web site and click on the "Product Categories" and "Manufacturers"

4) In Admin, Tools, Cache Control I get a date and time stamp for "Categories Box" and "Manufacturers Box"

5) Then in FTP I go to my /tmp/ directory and I don't see any files

 

Do you know if there is something else I need to check???

According to other posts I should have some files here.....

 

Thanks,

 

Just one language will be used and i guess ill use it for a while and see if it does any performance improvement.

 

There is a function called "store page parse time" in osCommerce. You can use it to check the advantages fo teh cache system. Trust me, you will be impressed ;-)

 

Using the cache system saves a lot of database queries. Mostly the queries cause performance issues. The cache system is designed for exactly that reason.

 

HTH and have fun with osCommerce.

 

Hey, illicious, you have asked an awful lot and must have your head smoking by now! Hope we are not feeding you with too much information ;-)

Posted

Not sure but i think when ya go to Admin - Tools - Cache Control and the click refresh it should delete the old cache files to update the news ones.

Archived

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

×
×
  • Create New...