Could somebody help me with couple of issues?

magnetas / 2012-10-17 07:58:10   

Hey guys,

I get this all the time: "Warning: ob_start(): output handler 'ob_gzhandler' conflicts with 'zlib output compression' in /home/gmphoto/domains/gmphoto.lt/public_html/ndxzstudio/index.php on line 10";

The other issue I have when I upload the photos: it is being written "Error SyntaxError: JSON Parse error: Unrecognized token '

arsondpi / 2012-10-17 15:07:10   

hmmm... I searched the web using the error message...
What version of PHP is your server running on?

magnetas / 2012-10-18 06:17:44   

Php 5.2.17..

arsondpi / 2012-10-18 14:00:49   

...on a Windows server? Indexhibit runs on Apache machines... Have you tried contacting your host about this?

magnetas / 2012-10-18 14:30:02   

the server information says: "Apache 1.3.42 running."...

arsondpi / 2012-10-18 14:30:51   

That's good. But did you ask your host about this errror?

Vaska A / 2012-10-18 15:33:28   

1. You could disable the ob_start function. It's not great that they are running other compression like that.

2. This indicates that something is not right with the server. Either the tmp directory has the wrong permissions or they have a mod_security blocking things (they can check their logs).

If you are running on a Windows server, I recommend you ask the host to switch you to a Linux/Apache setup. Windows is not listed as a system requirement...

magnetas / 2012-10-19 05:26:55   

hey guys,

sent all of the questions to the host, wonder what they will tell.
thank you for your help, i will keep posted if i will get any fresh info..

magnetas / 2012-10-19 07:11:38   

so i got an answer: the server runs on linux with apache on it.;
the thing they wrote is to write into htaccess: "SecFilterEngine Off".
that is all i have got.. is that a right thing?.. what do you think guys?

magnetas / 2012-10-19 07:14:32   

it is supposed to switch off the "mod_security"

magnetas / 2012-10-19 09:04:16   

the problem persists..
Warning: ob_start(): output handler 'ob_gzhandler' conflicts with 'zlib output compression' in /home/gmphoto/domains/gmphoto.lt/public_html/ndxzstudio/index.php on line 10

Vaska A / 2012-10-19 12:42:41   

You need to comment that line out to disable it. This is the first time I've seen a host have an issue with that...

Simply go to line 10 of that file and insert two forward slashes before the code //.

magnetas / 2012-10-19 14:27:00   

that is what i have in the file..

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [PT,L]
RewriteRule ^(.+) index.php

//SecFilterEngine Off

Vaska A / 2012-10-19 14:31:12   

No, the file with the error message...

/ndxzstudio/index.php

magnetas / 2012-10-19 14:40:12   

index.php:

magnetas / 2012-10-19 14:40:53   

i do not know where to correct smthng there..

magnetas / 2012-10-19 14:43:16   

may i mail you the file, so you could just correct it? so that i will know?

magnetas / 2012-10-25 11:08:52   

the problem persists..

magnetas / 2012-10-25 11:37:01   

that is kinda frustrating: we cannot use the indexhibit.. so it means we bought it for nothing?.. sad...

magnetas / 2012-10-25 11:42:28   

Warning: ob_start(): output handler 'ob_gzhandler' conflicts with 'zlib output compression' in /home/gmphoto/domains/gmphoto.lt/public_html/ndxzstudio/index.php on line 10

while uploading the pictures we get:
Error SyntaxError: JSON Parse error: Unrecognized token '

Vaska A / 2012-10-25 14:36:16   

I have already answered this question above (a week ago - it was my first post in this thread):

1. You could disable the ob_start function. It's not great that they are running other compression like that.

2. This indicates that something is not right with the server. Either the tmp directory has the wrong permissions or they have a mod_security blocking things (they can check their logs).

magnetas / 2012-10-26 06:40:48   

the CMS was not working with php 5.4 they had. the server info said they were using 5.2, but that was a mistake obviously.
they changed php version to 5.2 and everything works fine!

This thread has been closed, thank you.