Signatures/Avatars don't show up

A signature and avatar generator addon

Moderator: zanix

Signatures/Avatars don't show up

Postby Maciste » Tue Feb 20, 2007 4:45 pm

Hey there,

I'm nearly going insane. Trying for over an hour to get Siggen 0.2.3 to work with my upgraded roster 1.7.3.

In preview mode, I only get a border with that red cross inside...typical for a broken image or broken link.
Trying this link in my browser, I get a blank screen:
Edit: Link removed, problem solved

When I try to access the sig/avatar directly, it shows up...nothing, again:
Edit: Link removed, problem solved

My webspace got one issue: it doesn't support gif creation. But I use the standard config of Siggen, creating png images. I also tried setting all options to jpeg, but no success.

There are also no images created on the server, although I enabled this option, and uploaded a profile including the whole guild (I also checked that "create all" option). Folder permissions of /ava, /sig, and img/members are set to 777...

I simply don't understand what I'm doing wrong. Except that gif create support and the missing support for XBM (whatever) at "GD Support" everything is green at the roster diag page (well, server_name_comp is also red).

I already deleted Siggen completely including the DB table, and reinstalled...but it doesn't work.

Please help my guys, I'm desperate -.-
And of course feel free to ask for additional infos if needed...

Ah, btw, here's the link to my roster: Edit: Link removed, problem solved
Last edited by Maciste on Tue Jun 10, 2008 1:50 pm, edited 2 times in total.
User avatar
Maciste
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Fri Jul 28, 2006 12:10 pm

Signatures/Avatars don't show up

Postby zanix » Tue Feb 20, 2007 6:21 pm

Look at your web server error logs
SigGen's error control isn't catching the error that is occuring
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

Re: Signatures/Avatars don't show up

Postby Maciste » Tue Feb 20, 2007 6:59 pm

Thanks for your reply.

Sadly, I don't have access to any logs on my webspace ... well, except the visitor log -.-

Maybe somebody else stumbled across this problem and solved it?
User avatar
Maciste
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Fri Jul 28, 2006 12:10 pm

Signatures/Avatars don't show up

Postby tuigii » Tue Feb 20, 2007 7:26 pm

When I strip down your preview link to a mere
http://www.jens-hebenstreit.de/orcz/roster/addons/siggen/siggen.php?name=Angromasch

then I receive a 'clear'
<br />
<b>Fatal error</b>: Call to undefined function: imagegif() in <b>/home/www/htdocs/jens-hebenstreit.de/orcz/roster/addons/siggen/siggen.php</b> on line <b>397</b><br />

One solid conclusion confirmation for saying 'no GIF support'.
So, make a cross on PNG and JPG also.....

These are enough reasons to move to a another supplier .... Min’is just great, for 15 Euro a year...

By the way : do you have an PHP 'capability page' like this one : http://60gp.ovh.net/test.php5 ?
Last edited by tuigii on Tue Feb 20, 2007 7:29 pm, edited 2 times in total.
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Signatures/Avatars don't show up

Postby PleegWat » Tue Feb 20, 2007 7:51 pm

http://www.jens-hebenstreit.de/orcz/ros ... erdiag.php

It looks like png/jpg support is fine but gif isn't supported.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Re: Signatures/Avatars don't show up

Postby Maciste » Tue Feb 20, 2007 9:16 pm

Yep :)

Maciste wrote:My webspace got one issue: it doesn't support gif creation. But I use the standard config of Siggen, creating png images. I also tried setting all options to jpeg, but no success.


But that shouldn't be the problem when image type is set to "png" or "jpeg", right? Currently I enabled "png" on all 4 settings (sig/ava output and file creation)...

It's just weird. But I guess it's my webspace, although I can't image why.
In an earlier version, when I used roster 1.7.0 or smth, it worked well...later, with 1.7.2., I got the same issue as described above. But I didn't care cause my guild didn't use the roster like they were supposed to :(
I just don't know what's different with 1.7.2 / 1.7.3 compared to the earlier version. Weird :(
User avatar
Maciste
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Fri Jul 28, 2006 12:10 pm

Signatures/Avatars don't show up

Postby PleegWat » Tue Feb 20, 2007 10:42 pm

Ah, got it. It's the debug mode itself causing the problem. It's hardcoded to use gif. Zanix, fix please,
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Signatures/Avatars don't show up

Postby zanix » Wed Feb 21, 2007 2:39 am

Ahhh, that may be it

siggen.php
function debugMode()
Find
Line 343
Code: Select all
        global $im

Replace
Code: Select all
        global $im$configData

Lines 396-397
Code: Select all
            header'Content-type: image/gif' );
            
imagegif$im ); 

Replace
Code: Select all
            switch ( $configData['image_type'] )
            {
                case 
'jpeg':
                case 
'jpg':
                    
header'Content-type: image/jpg' );
                    @
imageJpeg$im );
                    break;
            
                case 
'png':
                    
header'Content-type: image/png' );
                    @
imagePng$im );
                    break;
                
                case 
'gif':
                default:
                    
header'Content-type: image/gif' );
                    @
imagegif$im );
                    break;
            } 
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

Signatures/Avatars don't show up

Postby Maciste » Wed Feb 21, 2007 12:42 pm

Thanks for your hints.
But that wasn't the problem, as the images didn't show up in Debug mode AND in normal viewing mode...or did I get you wrong?

Anyway, I made your changes. And the problem was still there.
So I tried myself on the code, using my PHP knowledge ;)
After a lot of "trial and error"-ing, I found one of the things that caused the problem:
the PHP function imagesavealpha().
This one was introduced with PHP 4.3.2, and my d*mn webspace uses 4.3.0 .

I had to remove the "hide errors"-@ before some functions to find that out.
So I just commented this one out, and went on.
I secretly hoped this would be all, but it still didn't work. I reached the part with the exp bar output, and there had to be an error, since my debug output stopped there. I turned the display of that bar off in the settings, et voilà: it works!
Edit: Link removed, problem solved
I didn't explore this one any further, because I don't want that exp bar anyway.


Thank you guys for your hints, they made me try things I didn't try before, and so I solved this one. I'm glad I found a way to tweak Siggen :)
It's like I said...the fault of my webspace. Gonna change it soon, I guess. I mean, Safe_Mode=on ... that's hell on earth!
Last edited by Maciste on Tue Jun 10, 2008 1:53 pm, edited 1 time in total.
User avatar
Maciste
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Fri Jul 28, 2006 12:10 pm

Signatures/Avatars don't show up

Postby zanix » Wed Feb 21, 2007 5:51 pm

I just changed my page to reflect the fact that SigGen requires 4.3.2
I thought 4.3.0 would be enough, guess a few functions that require 4.3.2 slipped through
Thanks for figuring this out Maciste
http://www.wowroster.net/wiki/index.php ... don:SigGen
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

Signatures/Avatars don't show up

Postby niagairt » Wed Feb 21, 2007 7:51 pm

So to boil this down for the PHP Impaired. :)

What exactly do we need to do, step by step.....
Rogues may do it from behind, but mages do it hard and fast.
Image
User avatar
niagairt
WR.net Apprentice
WR.net Apprentice
 
Posts: 36
Joined: Wed Jan 10, 2007 7:16 am
Location: Forks, WA


Return to SigGen

Who is online

Users browsing this forum: No registered users and 1 guest

cron