Broken signature and avatar

A signature and avatar generator addon

Moderator: zanix

Broken signature and avatar

Postby lamyun13 » Sat Aug 26, 2006 8:36 pm

What's the problem?

My avatar and signature is broken...

So, GD Error?

Error Message is here.

Error - [GD Info]
Line 358: Unable to find a CharMap that I can handle

But my server support GD...

GD support: yes
GD Version: bundled (2.0.28 compatible)
FreeType Support: yes
FreeType Linkage: with freetype
T1Lib Support: no
GIF Read Support: yes
GIF Create Support: yes
JPG Support: yes
PNG Support: yes
WBMP Support: yes
XPM Support: no
XBM Support: yes
JIS-mapped Japanese Font Support: no


My site... in Korean
http://lamyun13.mireene.com/roster2/cha ... 4%EB%82%98

Siganture Url..
http://lamyun13.mireene.com/roster2/add ... saveonly=0
Last edited by lamyun13 on Sat Aug 26, 2006 8:39 pm, edited 2 times in total.
lamyun13
WR.net Apprentice
WR.net Apprentice
 
Posts: 6
Joined: Tue Aug 15, 2006 1:36 pm

Broken signature and avatar

Postby zanix » Sun Aug 27, 2006 4:56 am

Try choosing another font in SigGen Config
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Broken signature and avatar

Postby lamyun13 » Mon Aug 28, 2006 1:46 pm

I tried to choose another font in Sig Config.

So, GD Error is not occured.

But see this...

http://lamyun13.mireene.com/roster2/add ... y=0&etag=0

Is this Unicode Problem?
lamyun13
WR.net Apprentice
WR.net Apprentice
 
Posts: 6
Joined: Tue Aug 15, 2006 1:36 pm

Broken signature and avatar

Postby zanix » Mon Aug 28, 2006 1:54 pm

Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Broken signature and avatar

Postby lamyun13 » Mon Aug 28, 2006 2:12 pm

if( isset($_GET['name']) )
{
$char_name = urldecode($_GET['name']);
}
else // Try pulling from a "path_info" request
{
$char_name = urldecode(substr( $_SERVER['PATH_INFO'],1,-4 ));
}

I replace "utf8_encode(urldecode(...)" with "urldecode(..".
But same result...

"function utf8_to_nce" is not problem?
lamyun13
WR.net Apprentice
WR.net Apprentice
 
Posts: 6
Joined: Tue Aug 15, 2006 1:36 pm

Broken signature and avatar

Postby lamyun13 » Mon Aug 28, 2006 2:16 pm

hmm...

If the font that I changed can't support, that result may occur?
lamyun13
WR.net Apprentice
WR.net Apprentice
 
Posts: 6
Joined: Tue Aug 15, 2006 1:36 pm

Broken signature and avatar

Postby zanix » Mon Aug 28, 2006 2:17 pm

Don't use notepad to edit the file
Use a real text editor, or try wordpad
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Broken signature and avatar

Postby lamyun13 » Mon Aug 28, 2006 2:26 pm

I didn't use notpad.
lamyun13
WR.net Apprentice
WR.net Apprentice
 
Posts: 6
Joined: Tue Aug 15, 2006 1:36 pm

Re: Broken signature and avatar

Postby Exerladan » Mon Aug 28, 2006 2:44 pm

When you edited your config file with your editor (notepad or wathever) you have added character to standard output (html). It may be (generally) 2 or 3 lines after the ?> in your config file

Supress these lines with another editor and try again.
Exerladan
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 101
Joined: Tue Jul 25, 2006 2:47 pm

Broken signature and avatar

Postby lamyun13 » Mon Aug 28, 2006 2:51 pm

I install SigGen with 'koKR' localization file.

Code: Select all
   if( $make_image )
   {
      // Set the header

      header( 'Content-type: image/'.$configData['image_type'] );

      switch ( $configData['image_type'] )
      {
         case 'gif':
            makeImageGif( $im,$configData['main_image_size_w'],$configData['main_image_size_h'],$configData['gif_dither'] );
            break;

         case 'jpg':
            @imageJpeg( $im,'',$configData['image_quality'] )
               or debugMode( (__LINE__),$php_errormsg );
            break;

         case 'png':
            @imagePng( $im )
               or debugMode( (__LINE__),$php_errormsg );
            break;
      }
   }


Header can't modify.

Because header has sent by 'koKR.php'.

So, I think Header can't modify Image_type.

Is right?

ㅠㅠ
lamyun13
WR.net Apprentice
WR.net Apprentice
 
Posts: 6
Joined: Tue Aug 15, 2006 1:36 pm

Re: Broken signature and avatar

Postby Exerladan » Mon Aug 28, 2006 3:00 pm

Code: Select all
Warning: Cannot modify header information - headers already sent by (output started at /web/home/lamyun13/html/roster2/addons/siggen/siggen.php:1) in /web/home/lamyun13/html/roster2/addons/siggen/siggen.php on line 1135


You have output a character BEFORE the call to header function. Use the powerful "vi" and you'll find it.
Exerladan
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 101
Joined: Tue Jul 25, 2006 2:47 pm


Return to SigGen

Who is online

Users browsing this forum: No registered users and 0 guests

cron