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.
Results 1 to 8 of 8

Thread: XCACHE warnings if not logged in

  1. #1
    Junior Member
    Join Date
    Apr 2011
    Posts
    14

    Default XCACHE warnings if not logged in

    vBET 4.3.0

    When trying the XCACHE function, I get warnings when viewing the site without being logged in. But I get no warnings if I am logged in.


    Warning: xcache_get() [function.xcache-get]: xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/vbenterprisetranslator_class_cache.php on line 125

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

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

    Warning: xcache_set() [function.xcache-set]: xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/vbenterprisetranslator_class_cache.php on line 128

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

    Default

    hello,

    What about your guest cache? do you have enabled it or not?
    Please disable Xcache and test it on the file guest cache only - and write that the issue is still there or not
    Thanks

  3. #3
    Junior Member
    Join Date
    Apr 2011
    Posts
    14

    Default

    The warnings disappear immediately when I disable XCACHE for vBET.

    Guest cache is active (Use Full File Cache For Guests: Yes)

    I have not found a good way to verify if I have set up XCACHE properly (it is installed with the apt package on a Debian). So it is a possibility I have a general XCACHE issue on my installation.

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

    Default

    ok so I will try to reproduce it on my test forum.

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

    Default

    hello,

    this notice: Warning: Cannot modify header information is caused by the first issue. You need to check you xcache configuration. maybe you need to set xcache.var_size to the higher value (and reset apache after that).

    secondly, I found a article which describes the same issue, so according to this article you need to check by phpini() that you may not have saved the cache twice - please check here: php - Xcache var_size error - Stack Overflow

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

    Default

    no answer - solved. If not - please write here and I will open this thread again

  7. #7
    Junior Member
    Join Date
    Apr 2011
    Posts
    14

    Default

    weird... I saw your first reply, but not the second one.

    Just tried it, and it worked

    I changed xcache.var_size to the same value as xcache.size

    So now it is confirmed solved instead of closed due to no response.

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

    Default

    Great thanks for your confirmation

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
  •