Cannot Initialize new GD image stream

A signature and avatar generator addon

Moderator: zanix

Cannot Initialize new GD image stream

Postby Pyrii » Sun Mar 11, 2007 9:27 pm

or debugMode( (__LINE__),'Cannot Initialize new GD image stream','',0,'Make sure you have the latest version of GD2 installed' );


Seems I somehow broke the avatar section of siggen, I was only playing with the avatar settings and now I get a returned picture with the above statement.

My Avatar DB row:
Code: Select all
`config_id`,avatar
`db_ver`,1.4
`trigger`,1
`guild_trigger`,1
`main_image_size_w`,100
`main_image_size_h`,0
`image_dir`,img/
`char_dir`,character/default/
`class_dir`,class/rounded/
`backg_dir`,background/pack4/
`user_dir`,members/
`pvplogo_dir`,pvp/default/
`frame_dir`,frame/
`level_dir`,level/
`border_dir`,border/
`font_dir`,fonts/
`image_order`,char:frames:border:class:lvl:pvp
`default_message`,Anonymous
`save_images`,1
`save_only_mode`,1
`uniup_compat`,0
`save_prefix`,
`save_suffix`,_ava
`save_images_dir`,/home/tanyoko/public_html/banished/siggen/
`save_images_format`,png
`etag_cache`,1
`image_type`,png
`image_quality`,85
`gif_dither`,1
`backg_disp`,1
`backg_fill`,0
`backg_fill_color`,#000000
`backg_default_image`,bg_shimmeringFlats.png
`backg_force_default`,0
`backg_data_table`,players
`backg_data`,race
`backg_translate`,1
`backg_search_1`,Night Elf
`backg_search_2`,Human
`backg_search_3`,Gnome
`backg_search_4`,Dwarf
`backg_search_5`,Orc
`backg_search_6`,Troll
`backg_search_7`,Tauren
`backg_search_8`,Undead
`backg_search_9`,Draenei
`backg_search_10`,Blood Elf
`backg_search_11`,
`backg_search_12`,
`backg_file_1`,bg_stormwindDeath.png
`backg_file_2`,bg_stormwindDeath.png
`backg_file_3`,bg_stormwindDeath.png
`backg_file_4`,bg_stormwindDeath.png
`backg_file_5`,bg_orgrimmarCity.png
`backg_file_6`,bg_zulGurub.png
`backg_file_7`,bg_thunderbluffDistance.png
`backg_file_8`,bg_undercityAltar.png
`backg_file_9`,bg_stormwindDeath.png
`backg_file_10`,bg_redridgeSkyline.png
`backg_file_11`,
`backg_file_12`,
`font_fullpath`,1
`outside_border_image`,
`frames_image`,
`charlogo_disp`,1
`charlogo_default_image`,
`charlogo_loc_x`,0
`charlogo_loc_y`,0
`class_img_disp`,1
`class_img_loc_x`,65
`class_img_loc_y`,51
`pvplogo_disp`,0
`pvplogo_loc_x`,3
`pvplogo_loc_y`,25
`lvl_disp`,1
`lvl_font_name`,trebuc.ttf
`lvl_font_color`,#FF9900
`lvl_font_size`,11
`lvl_text_shadow`,#000000
`lvl_loc_x`,77
`lvl_loc_y`,68
`lvl_text_loc_x`,13
`lvl_text_loc_y`,15
`lvl_image`,
`expbar_disp`,1
`expbar_disp_bdr`,0
`expbar_disp_inside`,1
`expbar_max_disp`,1
`expbar_max_level`,70
`expbar_max_hidden`,1
`expbar_disp_text`,0
`expbar_string_before`,[
`expbar_string_after`,]
`expbar_max_string`,Max XP
`expbar_loc_x`,2
`expbar_loc_y`,79
`expbar_length`,62
`expbar_height`,3
`expbar_color_border`,#000000
`expbar_color_bar`,#0B9BFF
`expbar_color_inside`,#FFFFFF
`expbar_color_maxbar`,#0B9BFF
`expbar_trans_border`,0
`expbar_trans_bar`,20
`expbar_trans_inside`,80
`expbar_trans_maxbar`,0
`expbar_font_name`,VERANDA.TTF
`expbar_font_color`,#FFFFFF
`expbar_font_size`,6
`expbar_text_shadow`,#000000
`expbar_align`,center
`expbar_align_max`,center
`skills_disp_primary`,0
`skills_disp_secondary`,0
`skills_disp_mount`,0
`skills_disp_desc`,1
`skills_disp_level`,1
`skills_disp_levelmax`,0
`skills_desc_loc_x`,3
`skills_desc_loc_y`,48
`skills_level_loc_x`,65
`skills_level_loc_y`,48
`skills_desc_length`,10
`skills_desc_length_mount`,20
`skills_align_desc`,left
`skills_align_level`,right
`skills_desc_linespace`,7
`skills_level_linespace`,7
`skills_gap`,2
`skills_shadow`,#000000
`skills_font_name`,VERANDA.TTF
`skills_font_color`,#FF9900
`skills_font_size`,6
`text_name_disp`,1
`text_name_loc_x`,3
`text_name_loc_y`,22
`text_name_align`,left
`text_name_shadow`,#000000
`text_name_font_name`,trebuc.ttf
`text_name_font_color`,#FF9900
`text_name_font_size`,14
`text_honor_disp`,0
`text_honor_loc_x`,3
`text_honor_loc_y`,53
`text_honor_align`,left
`text_honor_shadow`,#000000
`text_honor_font_name`,GREY.TTF
`text_honor_font_color`,#FFCC00
`text_honor_font_size`,7
`text_class_disp`,0
`text_class_loc_x`,97
`text_class_loc_y`,35
`text_class_align`,right
`text_class_shadow`,#000000
`text_class_font_name`,trebuc.ttf
`text_class_font_color`,#FFCC00
`text_class_font_size`,7
`text_guildname_disp`,1
`text_guildname_loc_x`,1
`text_guildname_loc_y`,70
`text_guildname_align`,left
`text_guildname_shadow`,#000000
`text_guildname_font_name`,RINGBEAR.TTF
`text_guildname_font_color`,#CB983A
`text_guildname_font_size`,9
`text_guildtitle_disp`,1
`text_guildtitle_loc_x`,12
`text_guildtitle_loc_y`,8
`text_guildtitle_align`,left
`text_guildtitle_shadow`,#000000
`text_guildtitle_font_name`,trebuc.ttf
`text_guildtitle_font_color`,#FFCC00
`text_guildtitle_font_size`,7
`text_servername_disp`,1
`text_servername_loc_x`,2
`text_servername_loc_y`,82
`text_servername_align`,left
`text_servername_shadow`,#000000
`text_servername_font_name`,trebuc.ttf
`text_servername_font_color`,#FFCC00
`text_servername_font_size`,7
`text_sitename_disp`,0
`text_sitename_remove`,1
`text_sitename_loc_x`,50
`text_sitename_loc_y`,82
`text_sitename_align`,center
`text_sitename_shadow`,#000000
`text_sitename_font_name`,trebuc.ttf
`text_sitename_font_color`,#FFFFFF
`text_sitename_font_size`,6
`text_custom_disp`,0
`text_custom_loc_x`,3
`text_custom_loc_y`,84
`text_custom_text`,Custom Text
`text_custom_align`,left
`text_custom_shadow`,#000000
`text_custom_font_name`,VERANDA.TTF
`text_custom_font_color`,#FFFFFF
`text_custom_font_size`,6
Pyrii
WR.net Apprentice
WR.net Apprentice
 
Posts: 8
Joined: Sun Jul 23, 2006 3:50 am

Cannot Initialize new GD image stream

Postby zanix » Sun Mar 11, 2007 10:56 pm

Code: Select all
`main_image_size_h`,0

Change this to something other than 0

Or hit "Reset to Defaults" in SigGen Config
http://www.wowroster.net/wiki/index.php ... eneral_FAQ
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: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Cannot Initialize new GD image stream

Postby Pyrii » Mon Mar 12, 2007 7:35 pm

Hmm, I now seem to be getting script errors regarding reading filesize, I might have to debug and see which picture is causing the problem.
Pyrii
WR.net Apprentice
WR.net Apprentice
 
Posts: 8
Joined: Sun Jul 23, 2006 3:50 am


Return to SigGen

Who is online

Users browsing this forum: No registered users and 1 guest

cron