My upgrade failed with low variables 2.0
@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
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?
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?
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.
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.
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.
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: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
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:23
The fix worked. Thanks for your quick response low
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.
Amit 2 Jan 2012 14:35
But does this mean, I won't be able to enable gzipping on my website? I hope not...
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.
stinhambo 4 Jan 2012 01:10
Looking forward to 2.0.1. Strange that I didn't see that issue during the beta...
Amit 5 Jan 2012 11:23
The last batch of files low sent work with gzip turned on. Issue seems to have been resolved.
Low 5 Jan 2012 11:54
Cool, good to hear!
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'])
kalqaatri 5 Jan 2012 19:39
hey low i got the same deprecation error on my side , thanks tim for posting the quick fix.
Low 5 Jan 2012 21:53
I'll release version 2.0.1 tomorrow.
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"}
{/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
Kevin Nicholson 6 Aug 2015 16:41
Aah actually just saw your solution here: http://expressionengine.stackexchange...
Thanks!