Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
m-weisel2
Regular
Regular



Joined: May 22, 2005
Posts: 78

PostPosted: Tue Jun 14, 2005 5:23 pm Reply with quote

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
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Tue Jun 14, 2005 7:49 pm Reply with quote

A link would help us help you Wink
 
View user's profile Send private message
m-weisel2







PostPosted: Tue Jun 14, 2005 7:52 pm Reply with quote

[ Only registered users can see links on this board! Get registered or login! ]
 
Raven







PostPosted: Tue Jun 14, 2005 7:59 pm Reply with quote

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







PostPosted: Tue Jun 14, 2005 8:32 pm Reply with quote

yes I have done that don't you see them click on one of the forums like the linux one.


Max
 
Raven







PostPosted: Tue Jun 14, 2005 8:44 pm Reply with quote

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







PostPosted: Tue Jun 14, 2005 8:57 pm Reply with quote

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







PostPosted: Tue Jun 14, 2005 9:03 pm Reply with quote

Look in includes/language/lang-english.php and see what this is set to:

define("_CHARSET","ISO-8859-1");
 
m-weisel2







PostPosted: Tue Jun 14, 2005 9:55 pm Reply with quote

it is set to that could it be the theme. and do you mean language not includes/language


Max
 
m-weisel2







PostPosted: Tue Jun 14, 2005 10:00 pm Reply with quote

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







PostPosted: Tue Jun 14, 2005 10:05 pm Reply with quote

Search your themes folder for UTF
 
m-weisel2







PostPosted: Tue Jun 14, 2005 10:06 pm Reply with quote

folder???
 
m-weisel2







PostPosted: Tue Jun 14, 2005 10:09 pm Reply with quote

also on my phpnuke site it only happens in one module and on the administration block.


Max
 
m-weisel2







PostPosted: Tue Jun 14, 2005 10:14 pm Reply with quote

the UTF encoding is on all pages.


Max
 
Raven







PostPosted: Tue Jun 14, 2005 10:15 pm Reply with quote

Search your themes folder for UTF
 
m-weisel2







PostPosted: Tue Jun 14, 2005 10:17 pm Reply with quote

ok
 
m-weisel2







PostPosted: Tue Jun 14, 2005 10:18 pm Reply with quote

nothing that I see

Max
 
m-weisel2







PostPosted: Tue Jun 14, 2005 11:00 pm Reply with quote

in phpMyAdmin it says UTF-8 Unicode (utf8) how do I change that if I need to
 
m-weisel2







PostPosted: Tue Jun 14, 2005 11:00 pm Reply with quote

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

PostPosted: Tue Jun 14, 2005 11:01 pm Reply with quote

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. 
View user's profile Send private message
m-weisel2







PostPosted: Tue Jun 14, 2005 11:12 pm Reply with quote

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







PostPosted: Tue Jun 14, 2005 11:13 pm Reply with quote

I have phpnuke 7.7 patch 3.0 I don't see some of the files you are referring to.

Max
 
64bitguy







PostPosted: Tue Jun 14, 2005 11:25 pm Reply with quote

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







PostPosted: Tue Jun 14, 2005 11:39 pm Reply with quote

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. [ Only registered users can see links on this board! Get registered or login! ]
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.
Image

also everything is fixed when I change the encoding back to western.
 
64bitguy







PostPosted: Tue Jun 14, 2005 11:44 pm Reply with quote

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>&nbsp;<a href=\"admin.php\">Administration</a></font><br>";
$content .= "<font class=\"content\"><strong><big>·</big></strong>&nbsp;<a href=\"admin.php?op=adminStory\">NEW Story</a></font><br>";
$content .= "<font class=\"content\"><strong><big>·</big></strong>&nbsp;<a href=\"admin.php?op=create\">Change Survey</a></font><br>";
$content .= "<font class=\"content\"><strong><big>·</big></strong>&nbsp;<a href=\"admin.php?op=content\">Content</a></font><br>";
$content .= "<font class=\"content\"><strong><big>·</big></strong>&nbsp;<a href=\"admin.php?op=logout\">Logout</a></font><br>";
?>
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©