PDA

View Full Version : Solved error message using full file cache for guests



chaoyueh
03-10-10, 23:59
I got following message after I turned on "use full file cache for guests" function. Please help!! Thanks



Warning: filemtime() [function.filemtime]: stat failed for [path]/vbet_guestcache/zh-TW/_forums_showthread_php_12642-天啊-這是真的,officedepot郵寄拿100-reward,還可寄國際郵件!!-(10-3-23)_goto_newpost2.html in [path]/includes/vbenterprisetranslator_functions_guestcache.php on line 53

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php:4551) in [path]/includes/functions.php on line 3902

kamilkurczak
05-10-10, 11:51
hello,

Can you turn on this option and paste here a url to the site with this issue?
do you have disabled a mod_deflate and mod_gzip option in your apache?
more about mod_deflate option: http://www.vbenterprisetranslator.com/forum/troubleshooting/967-guest-cache-issue.html#post4720

chaoyueh
06-10-10, 05:56
hello,

Can you turn on this option and paste here a url to the site with this issue?
do you have disabled a mod_deflate and mod_gzip option in your apache?
more about mod_deflate option: http://www.vbenterprisetranslator.com/forum/troubleshooting/967-guest-cache-issue.html#post4720

Here is my website

PuddingBuy~ (http://www.puddingbuy.com/forums/forum.php)

I turn off the the guest cache. Therefore, you won't see error message.

Thanks for the help

kamilkurczak
06-10-10, 08:10
I have solution for you.
1.Just edit file: includes/vbenterprisetranslator_functions_guestcache.php
2find line::

if ((time() - filemtime($vbet_readGuestCacheFileName) <= $timeAllowed) && !vbet_verify_ip_ban()) {
change it to:

@$fileTime = filemtime($vbet_readGuestCacheFileName);
if ((time() - $fileTime <= $timeAllowed) && !vbet_verify_ip_ban()) {

:)

vBET
06-10-10, 08:27
Yes - this is already known bug we corrected it in our code and it will be included in next release :)

webmastersite
06-10-10, 10:32
I fixed it as above given. But when i surf between translations browser makes endless loop. It stops when cache disabled.

chaoyueh
06-10-10, 17:54
Thanks for the help

It is working

kamilkurczak
07-10-10, 13:51
hello,
Cache for guest is working now or not?
if not please send to my by PM access details to your admincp adn FTP.
I will fix it.

Thanks!

kamilkurczak
14-10-10, 10:41
no answer - solved. If not please write here and I will open this thread again.
Thanks

chaoyueh
17-10-10, 20:22
hello,
Cache for guest is working now or not?
if not please send to my by PM access details to your admincp adn FTP.
I will fix it.

Thanks!

Thanks, it is working, now

kamilkurczak
18-10-10, 08:28
Thank you for your confirmation.

AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Languages translations delivered by vBET 4.10.1