Page 1 of 1

Content Encoding Error [Solved]

PostPosted: 26. February 2013 21:39
by gadget069
Not sure where to go, a little above my head but have used xampp a few years back. My web host is down and wanted to do a little work updating my forum, I installed xampp successfully, restored my backup with phpmyadmin, i visit 127.0.0.1/portal and 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.



Please contact the website owners to inform them of this problem.


I did a couple of search and am not finding an answer.
Thanks

Re: Content Encoding Error

PostPosted: 26. February 2013 23:53
by JonB
You have probably 'something' that was set to use gzip or bzip2 compression (which was running on a Linux host probably)

Re: Content Encoding Error

PostPosted: 27. February 2013 00:18
by gadget069
For output on exporting the file, compression was set to none. I've restored this test database a few times without issues on my web server.

I took a look at the php error log and get this

HP Warning: file_get_contents(lang.tmp): failed to open stream: No such file or directory in F:\xampp\htdocs\xampp\index.php on line 2

[26-Feb-2013 20:09:07 UTC] PHP Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in F:\xampp\htdocs\portal\includes\utf\utf_tools.php on line 1804

[26-Feb-2013 20:09:07 UTC] PHP Strict Standards: Non-static method AJAXChatFileSystem::getFileContents() should not be called statically, assuming $this from incompatible context in F:\xampp\htdocs\portal\chat\lib\class\AJAXChatTemplate.php on line 37

[26-Feb-2013 20:09:07 UTC] PHP Strict Standards: Non-static method AJAXChatEncoding::htmlEncode() should not be called statically, assuming $this from incompatible context in F:\xampp\htdocs\portal\chat\lib\class\AJAXChat.php on line 2862

[26-Feb-2013 20:09:07 UTC] PHP Strict Standards: Non-static method AJAXChatEncoding::encodeSpecialChars() should not be called statically, assuming $this from incompatible context in F:\xampp\htdocs\portal\chat\lib\class\AJAXChatEncoding.php on line 53

[26-Feb-2013 20:09:07 UTC] PHP Strict Standards: Non-static method AJAXChatEncoding::getSpecialChars() should not be called statically, assuming $this from incompatible context in F:\xampp\htdocs\portal\chat\lib\class\AJAXChatEncoding.php on line 81

[26-Feb-2013 20:09:07 UTC] PHP Strict Standards: Non-static method AJAXChatEncoding::htmlEncode() should not be called statically, assuming $this from incompatible context in F:\xampp\htdocs\portal\chat\lib\class\AJAXChat.php on line 2862

Re: Content Encoding Error

PostPosted: 27. February 2013 02:28
by JonB
What exactly do you want us to advice you on with a 3rd party script? Other than its likely a version issue...

:?:

Re: Content Encoding Error

PostPosted: 28. February 2013 02:15
by gadget069
I'll try a different version I guess and see if that solves my issue. I've used this before with xampp and never had this issue.

Thanks

Re: Content Encoding Error

PostPosted: 28. February 2013 04:08
by JonB
With version 1.8 - XAMPP began providing PHP 5.4 - many scripts are not ready for that, You should check with the developers of the forum software.

Good Luck

Re: Content Encoding Error

PostPosted: 04. March 2013 11:42
by gadget069
I did finally get things working, went with an earlier version. Thanks.

Re: Content Encoding Error

PostPosted: 04. March 2013 17:22
by JonB
Good, I am glad its working -

Good luck with XAMPP

8)