https://www.icyphoenix.com/viewtopic.php?f=2&t=9590
-----------------------------------
Cristianita
Mon 13 Jun, 2016 10:17

A Line Of Error Appeared In The Top Of My Website
-----------------------------------
Hi, everyone!

I'd just set my forum, but this message appears in the top of the site:

[quote][Icy Phoenix Debug] PHP Notice: in file /includes/functions.php on line 4357: ob_start(): output handler 'ob_gzhandler' conflicts with 'zlib output compression'[/quote]

I read some answer, recommending reupload this file from my PC to my FTP, but it didn't work. The message still there.

There was any errors uploading, so I don't know what to do. The site doesn't open normally now.
This is the link:
[spoiler]http://www.plantandoeternidad.hol.es/ip/index.php[/spoiler]

Thank you in advance, God bless you!!


-----------------------------------
mort
Mon 13 Jun, 2016 14:51

Re: A Line Of Error Appeared In The Top Of My Website
-----------------------------------
try searching your error message or parts of it here as this question has been answered before.


-----------------------------------
Informpro
Mon 13 Jun, 2016 18:10

Re: A Line Of Error Appeared In The Top Of My Website
-----------------------------------
You can try these topics:

http://www.icyphoenix.com/viewtopic.php?f=35&t=8589&highlight=obgzhandler

@MG It'd be interesting to have a [topic] bbcode, that'd display the title and bits of the first post maybe?
EDIT: well, I guess with no more releases...


-----------------------------------
Cristianita
Tue 14 Jun, 2016 03:22

Re: A Line Of Error Appeared In The Top Of My Website
-----------------------------------
I was loocking for an answer yesterday, but I couldn't

Besides I had to formatted (I don't know how to write this) my laptop and going to start all again...

I hope no have any problems at this time :) We'll see ;)


-----------------------------------
mort
Tue 14 Jun, 2016 03:46

Re: A Line Of Error Appeared In The Top Of My Website
-----------------------------------
Hi Cristianita,

I suggested you search because sometimes / most times that's the quickest way to get answers here.

And probably the best way is to use "Advanced" Search because there are not an over-abundance of helpers here..

Anyway, if you change your .htaccess as advised in the "other" post, you should be good to go..

 :mrgreen:


-----------------------------------
Cristianita
Tue 14 Jun, 2016 07:20

Re: A Line Of Error Appeared In The Top Of My Website
-----------------------------------
Hi, Mort! 

I understand, trust me... I used the search but my English is not good, and it's very hard to me to use this option. I participate in a Spanish Forum and I usually find help just using the search.

But here I am, trying to use an English forum  :shock: 

Ok, my friend.... I installed the forum again, and the line appears:

[Icy Phoenix Debug] PHP Notice: in file /includes/functions.php on line 4357: ob_start(): output handler 'ob_gzhandler' conflicts with 'zlib output compression'

I read the post with the answer, and tried to add this line:
php_value zlib.output_compression off 

into the .htaccess file, but I'm not sure where... There are many lines, and I have to be sure to add the line in the correct place.

[hr]Well, I added this line at the first place, saved the file, reuploaded it, but it is the same, the line still there.


-----------------------------------
mort
Tue 14 Jun, 2016 07:29

Re: A Line Of Error Appeared In The Top Of My Website
-----------------------------------
Just make it the first line. :)

Add it before this:

[code linenumbers=false]#php_flag register_globals 0[/code]

It should have been put in there and commented out for this release - [i]just to make things easier,[/i] but it appears that it was overlooked. :(

Maybe MG will add it once he catches up with this thread.  :mrgreen:

[b]Edit:[/b]

Mmmmm! You must have been editing your last post while I posted this.

Try adding it as the last line after:

##################################
#       Errors Pages - END       #
##################################

[b]php_value zlib.output_compression off[/b]


-----------------------------------
Cristianita
Tue 14 Jun, 2016 07:39

Re: A Line Of Error Appeared In The Top Of My Website
-----------------------------------
[quote user="mort" post="60504"]Just make it the first line. :)

Add it before this:

[code linenumbers=false]#php_flag register_globals 0[/code]
[/quote]With or without "#"?

I mean... This "[u]php_value zlib.output_compression off [/u]" or this "[u]#php_value zlib.output_compression off [/u]"?

And there is more... When I come into the ACP, appears this line:

[Icy Phoenix Debug] PHP Notice: in file /adm/page_header_admin.php on line 49: ob_start(): output handler 'ob_gzhandler' conflicts with 'zlib output compression'

And other line (in Spanish):

Version information: The version checking is disabled. Visit the official forum for more information

[hr][quote]Edit:

Mmmmm! You must have been editing your last post while I posted this.

Try adding it as the last line after:

##################################
#       Errors Pages - END       #
##################################

php_value zlib.output_compression off[/quote]
I did it, but it's the same, nothing happened. The line is here yet.


-----------------------------------
mort
Tue 14 Jun, 2016 07:45

Re: A Line Of Error Appeared In The Top Of My Website
-----------------------------------
I've edited my prior post - we're running pretty close together here.  :mrgreen: 

Ignore this

[b]Version information: The version checking is disabled. Visit the official forum for more information[/b]

As the 2.2 version ([i]the one you have)[/i] is the last version anyway. ;)

You may need to clear your cache's even if you have to do it manually.


-----------------------------------
Cristianita
Tue 14 Jun, 2016 07:50

Re: A Line Of Error Appeared In The Top Of My Website
-----------------------------------
[quote]You may need to clear your cache's even if you have to do it manually.[/quote]I did it. But the problem still there...

There is in the FTP another .htaccess file, not in the forum directory, but in the public_html directory. 

The content of this another file is:
[quote]# Do not remove this line or mod_rewrite rules and search engine friendly URLs will stop working
RewriteBase /
[/quote]


-----------------------------------
mort
Tue 14 Jun, 2016 07:59

Re: A Line Of Error Appeared In The Top Of My Website
-----------------------------------
Then we'll try this:

make a file [b]php.ini[/b] and add this line to it

[b]php_value zlib.output_compression off[/b]

And upload it to the root folder of icy phoenix.

Silly questions I know - But I have to ask.

Did you upload everything in binary only?

If you are using FTP to make the edits - Are you re-uploading your edits?


-----------------------------------
Cristianita
Tue 14 Jun, 2016 08:10

Re: A Line Of Error Appeared In The Top Of My Website
-----------------------------------
[quote user="mort" post="60508"]Then we'll try this:

make a file [b]php.ini[/b] and add this line to it

[b]php_value zlib.output_compression off[/b][/quote]Should I make the file with the note bloc? And how can I save this file, if this is a text file with .txt extension? I made it and saved in my pc, but I can't find it in the folder that I saved it.


[quote]Silly questions I know - But I have to ask.

Did you upload everything in binary only?

If you are using FTP to make the edits - Are you re-uploading your edits?[/quote]
No, it's ok, you ask, please...

Did you upload everything in binary only?.... I don't know  :?  What do you mean? (I'm sorry, I'm very neophyte  :cry: )
If you are using FTP to make the edits - Are you re-uploading your edits?.... Yes, FTP show me this window:
 [img]http://www.icyphoenix.com/files/images/11561/ftp.png[/img] (Do you understand a bit Spanish?)

[hr]This is my ACP:
[img]http://easycaptures.com/fs/uploaded/966/5435448387.png[/img]


-----------------------------------
mort
Tue 14 Jun, 2016 08:27

Re: A Line Of Error Appeared In The Top Of My Website
-----------------------------------
[i]"Should I make the file with the note bloc?"[/i]

You should be able to make the file with notepad or wordpad and actually the proper way is to do it like this, not like I suggested the first time.

So make the contents like so..

[code linenumbers=false][PHP]

zlib.output_compression=Off[/code]

And I can't duplicate this error? So I really don't know what is happening?   :? 

Can you contact your IP and ask them what the status of this php_value zlib.output_compression is in their php.ini configuration?

The only other option is to see if MG or Informpro have any other ways of fixing it?


-----------------------------------
Cristianita
Tue 14 Jun, 2016 08:31

Re: A Line Of Error Appeared In The Top Of My Website
-----------------------------------
Well... it seems that I'm not able to set the forum   :shock: 

Thank you very much for your help, see you tomorrow, God willing!!


-----------------------------------
mort
Tue 14 Jun, 2016 08:49

Re: A Line Of Error Appeared In The Top Of My Website
-----------------------------------
Can you change your site language to English while we test this because the Spanish language files would not be up to date for this version of Icy Phoenix yet.

Or make it in the ACP so that language files can be selected in the portal.

And if you want to you can PM me your FTP details so that I can see what is what there.


-----------------------------------
Cristianita
Tue 14 Jun, 2016 08:56

Re: A Line Of Error Appeared In The Top Of My Website
-----------------------------------
Well, I tried both ways:

With this line → zlib.output_compression=Off

And this another one → php_value zlib.output_compression off

Anything doesn't work, the errors lines still there.

But when I added the phpi.ini file, and typed my forum URL in the browser, the first windows was this:

[img]http://easycaptures.com/fs/uploaded/966/8770512881.png[/img]

And then click in the IcyPhoenix link, I can come into the forum.

[hr][quote] 
Can you change your site language to English while we test this because the Spanish language files would not be up to date for this version of Icy Phoenix yet.

Or make it in the ACP so that language files can be selected in the portal.

And if you want to you can PM me your FTP details so that I can see what is what there.[/quote]

My friend, I couldn't find where could I change the language  :oops:


-----------------------------------
mort
Tue 14 Jun, 2016 09:12

Re: A Line Of Error Appeared In The Top Of My Website
-----------------------------------
ACP/Main Settings/Various Settings/Change Lang = yes


-----------------------------------
Cristianita
Tue 14 Jun, 2016 09:17

Re: A Line Of Error Appeared In The Top Of My Website
-----------------------------------
Right now I can't do anything...

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at admin@main-hosting.eu to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

[hr]Ok, I could do this, I changed the option  :roll:


-----------------------------------
mort
Tue 14 Jun, 2016 09:47

Re: A Line Of Error Appeared In The Top Of My Website
-----------------------------------
[quote user="Cristianita" post="60515"]Right now I can't do anything...

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.[/quote]

That could have been me..  :oops: 

That host you have doesn't have much of a reputation..

https://www.quora.com/Is-hostinger-co-uk-a-real-hosting-site


-----------------------------------
Cristianita
Tue 14 Jun, 2016 10:01

Re: A Line Of Error Appeared In The Top Of My Website
-----------------------------------
oooh, maybe this is the problem... Tomorrow morning I will looking for another hosting.


-----------------------------------
mort
Tue 14 Jun, 2016 10:14

Re: A Line Of Error Appeared In The Top Of My Website
-----------------------------------
I honestly think that they have it set that the "global ini" file can't be modified because what we tried should have worked.

Their "FREE" is how much they can make out of it and I can't see them hosting something like an icyphoenix forum without you actually paying for it.

I could be wrong - I hope I am.

[i][b]But I doubt it[/b][/i]..  :mrgreen:


-----------------------------------
Cristianita
Tue 14 Jun, 2016 20:12

Re: A Line Of Error Appeared In The Top Of My Website
-----------------------------------
Hi, Mort, good morning!!

Good news!! I changed the hosting (free also, the byethost) and you know what???? It worked!!! 

You can see my forum WITHOUT the ugly error line  :mryellow:

[spoiler]http://plantandoeternid.byethost32.com/forum.php[/spoiler]

Thank you!! You'll see me very often here, I'm affraid, because this matter is just begining  :mrorange: I have to learn about manage this forum that I'd ever known  :shock: 

See you!!


-----------------------------------
mort
Wed 15 Jun, 2016 02:12

Re: A Line Of Error Appeared In The Top Of My Website
-----------------------------------
I suspected it was a hosting problem as those type of sites limit very much what you can do.

So that's good news!

:mrgreen:


-----------------------------------
Mighty Gorgon
Wed 22 Jun, 2016 20:47

Re: A Line Of Error Appeared In The Top Of My Website
-----------------------------------
So everything is fine now? :mri:


-----------------------------------
mort
Thu 23 Jun, 2016 03:38

Re: A Line Of Error Appeared In The Top Of My Website
-----------------------------------
Well yes and no,  :mrgreen: 

Errors on one free server - Ajax Chat doesn't work on another one. :(

Cristianita is trying to get IP to run on free servers and I advised her that Limun and I tried some free-servers and that every one of them was a problem one way or another.

So she's re-thinking her priorities.


-----------------------------------
Informpro
Thu 23 Jun, 2016 14:01

Re: A Line Of Error Appeared In The Top Of My Website
-----------------------------------
@MG Maybe we need to use ini_get to detect zlib output compression, and call ob_start() without an argument in that case?


-----------------------------------
Mighty Gorgon
Fri 24 Jun, 2016 18:53

Re: A Line Of Error Appeared In The Top Of My Website
-----------------------------------
[quote user="Informpro" post="60547"]@MG Maybe we need to use ini_get to detect zlib output compression, and call ob_start() without an argument in that case?[/quote]
That should be debugged... can you do that?


-----------------------------------
Informpro
Sat 25 Jun, 2016 00:01

Re: A Line Of Error Appeared In The Top Of My Website
-----------------------------------
No, sorry. Investing time trying to debug a weird condition in some cheap/misconfigured hosts for IP isn't very interesting, especially since we tell people with that kind of issue to use other software...


-----------------------------------
mort
Sat 25 Jun, 2016 04:06

Re: A Line Of Error Appeared In The Top Of My Website
-----------------------------------
I agree with Informpro :P

I think that adding this line ([b][i]# php_value zlib.output_compression off[/i][/b]) to the beginning of .htaccess would be enough just to make it easier in future should someone want to try a free server and the same problem comes up.

[b]But I think it would be wise to avoid support for Free-Servers full stop![/b] Because from what I've read about them they utilise "Old" versions of PHP and SQL because that's what their free crap runs under and they are very reluctant to modernize anything because they would kill most of their [strike]victims[/strike] customers.

In some situations I believe that the "Global" [b]ini[/b] is set so that it can't be modified, else what we tried with Christianita should have worked - But - - - I can't say definitely as I really don't know enough about it.


