All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

My upgrade failed with low variables 2.0

Amit 2 Jan 2012 05:51 problem, complete

@low,

I tried to upgrade on my live server by copying over and replacing existing files. When I go to the modules page, low variables .

But when I click on the link to access settings, my whole CMS crashes and I get a Error 330 (net::ERR_CONTENT_DECODING_FAILED): Unknown error.

What do I do now? I don't want to uninstall and re-install the module cause then I will end up losing data.

Replies

  1. Low 2 Jan 2012 07:46

    Hi Amit,

    That's a rather strange error message. Are you running a Windows server, by any chance? I'll also need to know your EE version and PHP version. Have you tried re-uploading the files and running the update again?

  2. Low 2 Jan 2012 07:53

    I googled the error message, which seems to have to do something with gzip. Can you try disabling gzip in your CP and see if the error persists?

  3. Amit 2 Jan 2012 13:53

    My EE version is 2.3.1 Build 20111017
    Browser Chrome 15.0.874.121
    Platform Mac OS X
    Running Apache/2.2.3 (CentOS) not windows
    MySQL 5.5.14
    PHP Version 5.3.3

    I did turn my gzip off. But the problem persists.

  4. Low 2 Jan 2012 13:55

    Can you email me login credentials for this site so I can take a look myself? You can send the details to hi at gotolow dot com.

  5. Amit 2 Jan 2012 13:56

    In firefox I get this error:
    Content Encoding Error

    The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.

  6. Low 2 Jan 2012 13:58

    Also take a look at this thread, as the problem seems to exist outside of EE, too:

    http://expressionengine.com/forums/vi...

    Amit 2 Jan 2012 14:10

    this made the error go away but new errors seem to be popping up - see below

  7. Amit 2 Jan 2012 14:09

    Have sent you login credentials.

    ok so I tried that config setting mentioned in the forum and the earlier error went away. Now I can access my low variable panel but I get new PHP errors:

    A PHP Error was encountered
    Severity: 8192
    Message: Call-time pass-by-reference has been deprecated
    Filename: low_select_entries/vt.low_select_entries.php
    Line Number: 320
    A PHP Error was encountered
    Severity: 8192
    Message: Call-time pass-by-reference has been deprecated
    Filename: low_select_entries/vt.low_select_entries.php
    Line Number: 326
    A PHP Error was encountered
    Severity: 8192
    Message: Call-time pass-by-reference has been deprecated
    Filename: low_select_entries/vt.low_select_entries.php
    Line Number: 333

  8. Low 2 Jan 2012 14:11

    Okay, that seems to be related to PHP5.3.3. I'll get a fix ready for you asap.

    Amit 2 Jan 2012 14:15

    thanks low :)

  9. Amit 2 Jan 2012 14:23

    The fix worked. Thanks for your quick response low

  10. Low 2 Jan 2012 14:26

    Cool, glad it's working. The fix sent will be incorporated in version 2.0.1 when it comes out.

  11. Amit 2 Jan 2012 14:35

    But does this mean, I won't be able to enable gzipping on my website? I hope not...

  12. Low 2 Jan 2012 14:50

    Not sure. Since I'm not able to reproduce the problem, it's hard to test. But I'll send you a freshly zipped version later today, which you can try and re-upload. Maybe that will help.

  13. stinhambo 4 Jan 2012 01:10

    Looking forward to 2.0.1. Strange that I didn't see that issue during the beta...

  14. Amit 5 Jan 2012 11:23

    The last batch of files low sent work with gzip turned on. Issue seems to have been resolved.

  15. Low 5 Jan 2012 11:54

    Cool, good to hear!

  16. Tim Kelty 5 Jan 2012 18:45

    If anyone needs a quick fix for the deprecation error, in vt.low_select_entries.php, around line 320 just change the channels, categories, and statuses blocks to look like (omitting the &):

    $settings['channels'] = array_filter($settings['channels']);
    if ($settings['channels'])

  17. kalqaatri 5 Jan 2012 19:39

    hey low i got the same deprecation error on my side , thanks tim for posting the quick fix.

  18. Low 5 Jan 2012 21:53

    I'll release version 2.0.1 tomorrow.

  19. Kevin Nicholson 6 Aug 2015 16:32

    Hi Low, I've had the same error, and suspect its likely a server issue, so any tips on debugging server set up would be greatly appreciated. Site worked fine, then added a NEW lv with grid field (worked fine with existing lv's and grid)

    {exp:low_variables:parse var="lv_accreditations"}
    {lv_accreditations:alt}
    {/exp:low_variables:parse}

    and got the 'ERR_CONTENT_DECODING_FAILED' message, tried gzip n (FL MC) and site comes back but error at top:

    'A PHP Error was encountered

    Severity: Notice

    Message: Array to string conversion

    Filename: assets/ft.assets.php

    Line Number: 1778'

    Its self-hosted site for an org. appreciate its not LV related in terms of functionality but rely on LV on all builds so be great to see if its just a simple server setting.

    Server is: Linux, PHP Version 5.4.16

    Cheers

  20. Kevin Nicholson 6 Aug 2015 16:41

    Aah actually just saw your solution here: http://expressionengine.stackexchange...
    Thanks!