Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Warnings in Guest Cache

  1. #1
    Junior Member
    Join Date
    Apr 2010
    Posts
    26

    Default Warnings in Guest Cache

    I've got warnings on my guest cache"
    Warning: filemtime() [function.filemtime]: stat failed for [path]/vbet_guestcache/pl/_showthread_php_t_295527.html in [path]/includes/vbenterprisetranslator_functions_guestcache.php on line 53
    To resolve it I've changed line 53:
    if ((time() - filemtime($vbet_readGuestCacheFileName) <= $timeAllowed) && !vbet_verify_ip_ban()) {
    to:
    @$fileTime = filemtime($vbet_readGuestCacheFileName);
    if ((time() - $fileTime <= $timeAllowed) && !vbet_verify_ip_ban()) {
    Hope that helps.

    PS.
    Grate thing that Guest Cache is. Now there is no need of buying vB Optimize Pro :P I think I'll get another vBET for my second forum. Cheers.
    Last edited by kamilkurczak; 06-10-10 at 08:08.

  2. #2
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    hmm. This option was tested and everything was ok. I will check it again and I will try your code.

    I would like to reproduce this issue so - can you describe here what I should do to have this issue on my test forum? Can you explain it?

    Thanks

  3. #3
    Junior Member
    Join Date
    Apr 2010
    Posts
    26

    Default

    Try PHP 5.3.3 with "error_reporting = E_ERROR | E_WARNING", that would be my guess. I also use LiteSpeed but i think it's irrelevant.

  4. #4
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    I checked your code and I compared with vBET code. Your code is working: cache are written and readed. vBET code is working good of course.
    I still cant reproduce this issue on our test forum. If you can - you can describe it better.
    May be this is specific to your forum.

  5. #5
    Junior Member
    Join Date
    Apr 2010
    Posts
    26

    Default

    Warning: filemtime() [function.filemtime]: stat failed for [path]/vbet_guestcache/pl/_showthread_php_t_295527.html in [path]/includes/vbenterprisetranslator_functions_guestcache.php on line 53
    It's a warning so it must be related to error_repporting settings and should not be PHP version specific (or let say 5.x).

    If you want more feedback contact me via GG: 1701610.

  6. #6
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    Thanks for that.

  7. #7

    Default

    Have the same problem

  8. #8
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Please just use solution proposed in first post This will be corrected in next release.

  9. #9
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Corrected and will be officially included in next release

  10. #10
    Junior Member
    Join Date
    Apr 2010
    Posts
    26

    Default

    When would that be? :>

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •