Author |
Message |
m-weisel2
Regular


Joined: May 22, 2005
Posts: 78
|
Posted:
Tue Jun 14, 2005 5:23 pm |
|
ok I have a couple sites one runs phpnuke one runs just phpbb and one runs phpfusion. all of them have random question marks in certain places. and when I am on a linux browser it is random commas in certain places. how can I get rid of this and what is causing it.
M |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Tue Jun 14, 2005 7:49 pm |
|
A link would help us help you  |
|
|
|
 |
m-weisel2

|
Posted:
Tue Jun 14, 2005 7:52 pm |
|
|
|
 |
Raven

|
Posted:
Tue Jun 14, 2005 7:59 pm |
|
Everything I see is normal. Is it predictable? Always in the same places? If so, then you may be missing a font. What's your character encoding for your browser? It does appear localized though. Have you tried deleting your cookies and flushing your cache? |
|
|
|
 |
m-weisel2

|
Posted:
Tue Jun 14, 2005 8:32 pm |
|
yes I have done that don't you see them click on one of the forums like the linux one.
Max |
|
|
|
 |
Raven

|
Posted:
Tue Jun 14, 2005 8:44 pm |
|
As I said, check your character encoding in your browser. The theme is changing it to Unicode UTF=8. Switch it to Western (ISO-8859-1) and the image is correct. |
|
|
|
 |
m-weisel2

|
Posted:
Tue Jun 14, 2005 8:57 pm |
|
wow thanx it works how do I change it in my theme on phpnuke cause it does it in phpnuke how do I fix it on a phpnuke theme the theme I have is fiappleblue210 from nukemods |
|
|
|
 |
Raven

|
Posted:
Tue Jun 14, 2005 9:03 pm |
|
Look in includes/language/lang-english.php and see what this is set to:
define("_CHARSET","ISO-8859-1"); |
|
|
|
 |
m-weisel2

|
Posted:
Tue Jun 14, 2005 9:55 pm |
|
it is set to that could it be the theme. and do you mean language not includes/language
Max |
|
|
|
 |
m-weisel2

|
Posted:
Tue Jun 14, 2005 10:00 pm |
|
in my page when I look at it through firefox it says <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
but the browser picks it up at UTF
Max |
|
|
|
 |
Raven

|
Posted:
Tue Jun 14, 2005 10:05 pm |
|
Search your themes folder for UTF |
|
|
|
 |
m-weisel2

|
Posted:
Tue Jun 14, 2005 10:06 pm |
|
|
|
 |
m-weisel2

|
Posted:
Tue Jun 14, 2005 10:09 pm |
|
also on my phpnuke site it only happens in one module and on the administration block.
Max |
|
|
|
 |
m-weisel2

|
Posted:
Tue Jun 14, 2005 10:14 pm |
|
the UTF encoding is on all pages.
Max |
|
|
|
 |
Raven

|
Posted:
Tue Jun 14, 2005 10:15 pm |
|
Search your themes folder for UTF |
|
|
|
 |
m-weisel2

|
Posted:
Tue Jun 14, 2005 10:17 pm |
|
|
|
 |
m-weisel2

|
Posted:
Tue Jun 14, 2005 10:18 pm |
|
|
|
 |
m-weisel2

|
Posted:
Tue Jun 14, 2005 11:00 pm |
|
in phpMyAdmin it says UTF-8 Unicode (utf8) how do I change that if I need to |
|
|
|
 |
m-weisel2

|
Posted:
Tue Jun 14, 2005 11:00 pm |
|
in phpMyAdmin it says UTF-8 Unicode (utf8) how do I change that if I need to |
|
|
|
 |
64bitguy
The Mouse Is Extension Of Arm

Joined: Mar 06, 2004
Posts: 1164
|
Posted:
Tue Jun 14, 2005 11:01 pm |
|
Well, the example given is not php-nuke, it is an installation of phpbb stand-alone.
Can you give us a Nuke Example?
As for your phpbb forum, check:
languages/lang_english/lang_main.php for encodings.
It should say:
Code:$lang['ENCODING'] = "iso-8859-1";
|
As for phpMyAdmin, what exactly are you referring to?
If you are using the latest version of MySQL, you may find your database tables are utf8 encoded, but the issue at hand is presentation data that is being pushed by your defined OUTPUT character set (versus database character set, which is different). |
_________________ Steph Benoit
100% Section 508 and W3C HTML5 and CSS Compliant (Truly) Code, because I love compliance. |
|
|
 |
m-weisel2

|
Posted:
Tue Jun 14, 2005 11:12 pm |
|
ok on my phpnuke site where the ? marks show up is in the admin block and on a module that isn't active so...
Max |
|
|
|
 |
m-weisel2

|
Posted:
Tue Jun 14, 2005 11:13 pm |
|
I have phpnuke 7.7 patch 3.0 I don't see some of the files you are referring to.
Max |
|
|
|
 |
64bitguy

|
Posted:
Tue Jun 14, 2005 11:25 pm |
|
Okay... Let's slow down a tad to help clear things up.
First.... The example link that you provided is NOT PHP-Nuke. It is phpbb which is an entirely different animal altogether.
The solution I provided was for phpbb AND NOT PHP-Nuke. That is where you define the character set for phpbb.
As for your Nuke 7.7 Patched 3.0 domain:
1) Please provide a link to the domain so we can see what you are talking about and determine if there is a problem with character set encoding for that domain.
2) What is the name of the module in question where this problem occurs in PHP-Nuke?
3) Where exactly in the admin block do the ? marks show up?
3A) If possible, take a screen shot of the admin block (Hit ALT-PRINT SCRN on your keyboard), then "paste" the image into "Paint" or some other image editor and crop it (so we only see the admin block itself) and save it as a .gif file (like admin.gif). Then upload the admin.gif to your server..... and finally post the link (of where the admin.gif file is) as an image here so we can take a look at it (using the "Img" function) That might help us actually see what you are seeing.
Thanks
Steph |
|
|
|
 |
m-weisel2

|
Posted:
Tue Jun 14, 2005 11:39 pm |
|
64bitguy wrote: | Okay... Let's slow down a tad to help clear things up.
First.... The example link that you provided is NOT PHP-Nuke. It is phpbb which is an entirely different animal altogether.
The solution I provided was for phpbb AND NOT PHP-Nuke. That is where you define the character set for phpbb.
As for your Nuke 7.7 Patched 3.0 domain:
1) Please provide a link to the domain so we can see what you are talking about and determine if there is a problem with character set encoding for that domain.
2) What is the name of the module in question where this problem occurs in PHP-Nuke?
3) Where exactly in the admin block do the ? marks show up?
3A) If possible, take a screen shot of the admin block (Hit ALT-PRINT SCRN on your keyboard), then "paste" the image into "Paint" or some other image editor and crop it (so we only see the admin block itself) and save it as a .gif file (like admin.gif). Then upload the admin.gif to your server..... and finally post the link (of where the admin.gif file is) as an image here so we can take a look at it (using the "Img" function) That might help us actually see what you are seeing.
Thanks
Steph |
1. http://www.redhatresources.com
2. Tutorials (not active) occurs next to installation when you are looking at my only main category.
3. where the bullets should be.
3. a.
also everything is fixed when I change the encoding back to western. |
|
|
|
 |
64bitguy

|
Posted:
Tue Jun 14, 2005 11:44 pm |
|
Everything there is normal IF there is a different definition for the bullet or if the bullet definition beyond the restrictions of the encoding/character set.
Check the bullets and I think that you will find that they are not properly defined somewhere or are illegal characters.
The Compliant version of /blocks/block-Administration.php should be:
Code:<?php
/* Steph's (64bitguy) 100% W3C Compliant Administration Block */
/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2002 by Francisco Burzi */
/* http://phpnuke.org */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/
/* Additional security & Abstraction layer conversion */
/* 2003 chatserv */
/* http://www.nukefixes.com -- http://www.nukeresources.com */
/************************************************************************/
if ( !defined('BLOCK_FILE') ) {
Header("Location: ../index.php");
die();
}
$content .= "<font class=\"content\"><strong><big>·</big></strong> <a href=\"admin.php\">Administration</a></font><br>";
$content .= "<font class=\"content\"><strong><big>·</big></strong> <a href=\"admin.php?op=adminStory\">NEW Story</a></font><br>";
$content .= "<font class=\"content\"><strong><big>·</big></strong> <a href=\"admin.php?op=create\">Change Survey</a></font><br>";
$content .= "<font class=\"content\"><strong><big>·</big></strong> <a href=\"admin.php?op=content\">Content</a></font><br>";
$content .= "<font class=\"content\"><strong><big>·</big></strong> <a href=\"admin.php?op=logout\">Logout</a></font><br>";
?>
|
|
|
|
|
 |
|