0.7.1 -> 0.8: only the main page loads, nothing else

Having trouble installing serendipity?
Lain

Post by Lain »

So, mgroeninger, thanks a lot, i'll test your idea tomorrow, and tell you what ! Thanks !
Lain

Post by Lain »

Hi again ! Well...

I changed "machine.config" as you said, it didn't change the problem. I also removed the ISAPI filter, still the same... Rebooting the IIS services between tests, of course.

I'm not sure it has something to do with ASP.NET, since i have many other sites hosted on this server and s9y is the only one buggy.

Something weird: when i wanna change the coding of the page while browsing inside IE, UTF-8 is selected by default, and if i try to change (for ISO, or for another coding), the page reloads... And UTF-8 is still selected.
Looks like IE sees the source code is full of ࠦ鯲 etc, and forces the UTF-8.

... :cry: :cry: :cry:
Lain

Post by Lain »

Thinking there was a wrong coding somewhere, i commented the utf8_encode functions...
function serendipity_utf8_encode($string) {
// if (strtolower(LANG_CHARSET) != 'utf-8') {
// if (function_exists('iconv')) {
// return iconv(LANG_CHARSET, 'UTF-8', $string);
// } else {
// return utf8_encode($string);
// }
// } else {
return $string;
// }
}

But the problem remains. What is more weird even: Firefox displays the page with the good characters !!! God i'm mad...
On one of my IE, all the spec chars are little squares, and on another there are half squares, half japanese signs !!!!! :shock:
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hehe, the full beauty of MS IE and MS IIS cooperating ;-)

(Sorry, I don't use IIS, can't help you)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Lain

Post by Lain »

:cry:

It has to come from somewhere in s9y 0.8 code... All was ok in 0.7.1 ! And all my other sites run fine too !

Please... :oops:

*i guess i'll have to switch back to the old version otherwise...*
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

I'm really sorry, I cannot help you further. Maybe it's related to the Smarty templating and wrong charset infos in the HTML.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Lain

Post by Lain »

Do you have a SQL script to restore 0.7.1 DB schema ?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

No, this will not be possible.

I can offer you to look at your server if you provide me with FTP and HTTP access to your installation and try to see if I can find the error...?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

I just am seeing a problem in your install: There's a UTF-8 BOM sequence at the first chars of your HTML page output. ("")

This may not be there!

Try to see which file or process is showing those 2 characters, firefox for example displays those.

It seems you edited a file manually and this program inserted UTF-8 code to your files.

So it's easily fixable after all :-)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Lain

Post by Lain »

I don't see those symbols in IE... :?

I send you a private msg :) thx
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Yes, I said that firefox displays them! So just IE hides them for you, it still means the files are sent.

Read you later then ;)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

You saved the "index.php" file with UTF-8 BOM header at the beginning. Teach your editor to not do such a thing.

I removed the first three bytes and everything seems to be in order now. :)

Have fun,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Lain
Posts: 1
Joined: Fri May 13, 2005 1:55 pm

Post by Lain »

:shock:

I'll never use UltraEdit again so... :oops:

Thaaaaaaaaaaaaaaaaaaaaaaaanks ! :D
salnet
Regular
Posts: 16
Joined: Thu Aug 04, 2005 1:25 am
Location: Bad Godesberg (bei Bonn)
Contact:

Post by salnet »

Hello!
I've the same problem with the curious chars at the beginning (http://www.salnet.de) With which tool can I remove them? I've used Windows Notepad and PSpad, but none of them show these chars.
salnet
Regular
Posts: 16
Joined: Thu Aug 04, 2005 1:25 am
Location: Bad Godesberg (bei Bonn)
Contact:

Post by salnet »

Ah, I got it. I had default Savesetting in Notepad UTF-8, now I changed it to ANSI it it works fine without this symbols.
Post Reply