Messages can' t be viewed

Started by agridoc, February 13, 2005, 02:32:06 AM

Previous topic - Next topic

agridoc

Hi

I upgraded my site with a domain name and I want to build a forum as an upgrade to an active since 2001 Yahoo! group.

I tried PHBB with success. Simple Machines seemed attractive from reviews so I gave it a try.

Installation OK. Administration panel excellent but

I can' t view my messages. I can write them, preview them, list them but when I try to view the browser loops to
Web site found. Waiting for reply...  connecting to site...
and back again.

I am not sure if this is some sort of server problem but the database works otherwise OK.

Kind regards

agridoc
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.

[Unknown]


agridoc

  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.

[Unknown]

I'm able to view this page just fine:

http://www.aeromodelling.gr/ForumS/index.php?topic=1.0

Although it's quite clearly in the wrong encoding.  What browser are you using?

The text looks like windows-1253... the character set in index.english.php is by default ISO-8859-1.  You may wish to install the greek language files.

-[Unknown]

agridoc

Yes the messages are in Windows-1253, also ISO-8859-7 is almost the same.

The Greek files are installed from the beginning and work well. The only problem so far is viewing topics.

I began testing browsers after your message.

It seems to be a browser compatibility problem. The problem is with MS Internet Explorer 6 with MS Windows 98 and XP. Also I tried Netscape 4.79 (in W98) and hangs when trying to access the forum page.  Mozilla in W98 and Firefox in XP work well and I can see the messages.

But I can see and use this forum with MSIE and even with Netscape 4.79 without all the graphics.

Is there something I have to add in the code so MSIE can see the topics?

Regards

agridoc
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.

agridoc

Maybe I should make clear that I can view topics and use :) this forum (the SMF support forum) with MSIE and even with Netscape 4.79 without all the graphics but I can' t view my forum' s topics :( with MSIE 6 in either MS Windows 98 or XP.

Confirmed by a friend with different PC and connection.

Regards

agridoc
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.

[Unknown]

Quote from: agridoc on February 13, 2005, 08:25:26 AM
Netscape 4.79 (in W98)

Well, that browser isn't supported, and while it shouldn't hang, I wouldn't recommend using it.

As for IE, I still think this is probably a codepage issue.  Now that the forum's default language is Greek, though, it looks as if it may not be.  Can you see this topic now that I've posted Greek in it?

QuoteΚαλώς ορίσατε στο Simple Machines Forum!

Ελπίζουμε ότι θα απολαύσετε τη χρήση της δημόσιας συζήτησης σας.  Αν έχετε προβλήματα, μπορείτε ελεύθερα να μας ζητήσετε βοήθεια.

Ευχαριστούμε!
Simple Machines

-[Unknown]

agridoc

Netscape 4.79 was just tried to test the browser issue.

I think the problem has nothing to do with codepages. I can change easily them in source. I had tried PHBB and I had made changes to show the greek characters even when someone selects enlish language. I prefer english menus that' s why you found the default to english.

That' s why I didn' t post this to the Greek support page.

I also use the english version of W98 and XP.

Yes the greek characters are showing correctly when switching to greek. With Firefox and Mozilla I can see the message' s content. With MSIE only the listings. A friend of mine reported the some problem. Did you see the message contents with MSIE?

I am trying to find if this might be a server compatibility problem. I started to like SMF. I also have a problem with search, posted to http://www.simplemachines.org/community/index.php?topic=27795.0

I haven' t tried the solution proposed, unfortunately I have to leave

Thanks

agridoc

  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.

[Unknown]

I am able to view this topic and that topic with Internet Explorer 6.

I get an error trying to view it with Internet Explorer 4 and 5, at various points and times.  Seems like a bonified bug.

Aha.  I see it now with Opera 6.  Turn off mysql.trace_mode in php.ini or with .htaccess.  I would guess that'll fix it.

-[Unknown]

agridoc

I don' t have access to a php.ini file.

A search for "mysql.trace_mode" and "trace_mode " in SMF files gave no result.

So I must somewhat disable the tracing of the browser. I will try to find something in the configuration menu.

A search problem
http://www.simplemachines.org/community/index.php?topic=27795.0
was solved so, to the moment, the browser problem is the only one remaining.

Is there another way or how could I access php.ini or equivalent?

Many thanks for the help so far

agridoc
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.

[Unknown]

This is a server configuration problem, nothing to do with the browser.

Add this in Settings.php, before the ?>:

ini_set('mysql.trace_mode', 0);

-[Unknown]

agridoc

I did this and got the error


ini_set('mysql.trace_mode', 0);session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /...../ForumS/Settings.php:1)



Regards

agridoc
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.

[Unknown]

Are you certain you put it at the END of the file, just BEFORE the ?>?

In other words, the file should end like this:



?>


I'm asking you to change this to:



ini_set('mysql.trace_mode', 0);
?>


This *WILL* fix the issue, under MSIE.  You were right - it has nothing to do with encodings.

-[Unknown]

agridoc

OK problem solved.

I must apologize for my error. I had added the code IN THE BEGINNING before <? (PHP code start).

I had to put it INSIDE the code before ?> (PHP code end). It doesn' t matter if you do not put it before the end, as far as you don' t affect something else.

I am new to PHP, however my previous experience with other languages was overcomed by being in a hurry. I should' t have done such a silly thing.

Thanks a lot

agridoc
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.

agridoc

I upgraded to version 1.02 from 1.01.

The new version can view messages without any modification. I searched for the code you suggested but I could not find it in the new files.

I left the new version as is. However I will keep your solution as an alternative.

I also changed the index.english.php and greek characters are now viewed correctly even if the language selection is english. I think I am going to stay with SMF. Excellent administrator interface and help, many possibilities and excellent support too.

Regards

agridoc

  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.

Advertisement: