Author |
Message |
codsniper
Regular


Joined: Feb 19, 2007
Posts: 61
Location: Almost at the north-pole
|
Posted:
Thu Sep 20, 2007 10:33 am |
|
Why do I see the following signs in upper left corner of all the pages on my site?
 |
|
|
|
 |
Gremmie
Former Moderator in Good Standing

Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA
|
Posted:
Thu Sep 20, 2007 10:51 am |
|
Providing a link to your site would help. |
_________________ Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module |
|
|
 |
codsniper

|
Posted:
Thu Sep 20, 2007 11:01 am |
|
Sent a pm, its no way near public, not even the adress.... |
|
|
|
 |
codsniper

|
Posted:
Thu Sep 20, 2007 2:47 pm |
|
Any luck? It seems like its a Firefox only problem.. |
|
|
|
 |
Gremmie

|
Posted:
Thu Sep 20, 2007 3:06 pm |
|
I can only use IE6 at work (grrrrr). I will look in FF when I get home. |
|
|
|
 |
evaders99
Former Moderator in Good Standing

Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Thu Sep 20, 2007 4:08 pm |
|
Usually its a compression problem. You have gzip compression enabled on your server already and the PHP script tries to compress it again |
_________________ - Only registered users can see links on this board! Get registered or login! -
Need help? Only registered users can see links on this board! Get registered or login! |
|
|
 |
Gremmie

|
Posted:
Thu Sep 20, 2007 4:32 pm |
|
Yeah, the funny characters are coming out even before the !DOCTYPE...they are the first thing in the output. evaders99, what does he have to do to turn that off? |
|
|
|
 |
codsniper

|
Posted:
Thu Sep 20, 2007 5:44 pm |
|
pretty please  |
|
|
|
 |
evaders99

|
Posted:
Thu Sep 20, 2007 11:34 pm |
|
I believe deleting the gzip_compress line in mainfile.php will solve the problem. phpNuke tries to detect it, but it seems to fail in some occasions. I don't have enough servers to really see where the code is failing. |
|
|
|
 |
codsniper

|
Posted:
Thu Sep 20, 2007 11:44 pm |
|
set this to false?
$do_gzip_compress = true;
Would i loose something else? |
|
|
|
 |
evaders99

|
Posted:
Fri Sep 21, 2007 1:27 am |
|
Oh if there's a variable there, yes turn it off. GZip compression will save you kilobytes on downloading HTML pages, but it sounds like your server is already doing it. Thus you don't need to do it twice |
|
|
|
 |
codsniper

|
Posted:
Fri Sep 21, 2007 2:06 am |
|
Didnt help to set it to false or to comment out all the code snippet... Any other suggestions? Remember I see this on all pages and only in Firefox it seems.. |
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Fri Sep 21, 2007 5:55 am |
|
Ok, now I am not certain about this any longer, but I'll throw out my "guess". I suspect that when you edited a file your editor did not encode the file properly.
You posted this same question under the Coppermine thread which led me to believe the issue was only when you installed that module and that it was specific to Coppermine. But, now it is the entire site? Did you have to add or change anything in one of the core files such as config.php or mainfile.php when you installed Coppermine? |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
evaders99

|
Posted:
Fri Sep 21, 2007 10:32 am |
|
Look for any line of code that involves gzip_compress function and comment them out |
|
|
|
 |
codsniper

|
Posted:
Fri Sep 21, 2007 11:02 am |
|
Tryed all that... Its a clean 20.10.01 install, no modules or blocks installed.. |
|
|
|
 |
Loki
Worker


Joined: Oct 05, 2003
Posts: 107
Location: Illinois
|
Posted:
Fri Sep 21, 2007 4:05 pm |
|
Is it appearing on all your themes? |
|
|
|
 |
codsniper

|
Posted:
Fri Sep 21, 2007 5:02 pm |
|
|
|
 |
Gremmie

|
Posted:
Fri Sep 21, 2007 5:22 pm |
|
Make a simple php file and run that...off the top of my head:
<?php
echo 'This is a test';
?> |
|
|
|
 |
montego

|
Posted:
Sat Sep 22, 2007 7:27 am |
|
codsniper, I would try replacing all your core RN files again and seeing if the issue is still there. Like I said above, I suspect that your editor is not encoding the file correctly (check to see if it is saving in UTF-8 as default but with BOM information). That is the EXACT issue that I had with my includes/dynamic_titles.php script awhile back, but I don't think that version was ever released. |
Last edited by montego on Mon Sep 24, 2007 6:11 am; edited 1 time in total |
|
|
 |
codsniper

|
Posted:
Mon Sep 24, 2007 4:08 am |
|
Tryed to make a test file, no error in viewing that..
Uploaded all files again, no change - still see those darn signs in upper left corner  |
|
|
|
 |
montego

|
Posted:
Mon Sep 24, 2007 6:13 am |
|
Then I wonder if its your updates to config.php and/or rnconfig.php. Again, please make absolutely certain your editor is NOT changing the charset encoding.
If this doesn't work, then you are back to this being a gzip compression issue...  |
|
|
|
 |
codsniper

|
Posted:
Mon Sep 24, 2007 7:21 am |
|
but its only in firefox i get this error... I use crimson editor to change config.php.. rnconfig I havent opened..
EDIT:
I did not use Crimson first time I edited the config.php.. when I copied all files over again I just copied back the old config.php (stupid me takinf shortcuts).
Anyways, I opened a new config.php in crimson and edited the file again, save and uploaded --> All ok now  |
|
|
|
 |
montego

|
Posted:
Tue Sep 25, 2007 6:09 am |
|
|
|
 |
|