Erorr !! Line 1028

A signature and avatar generator addon

Moderator: zanix

Erorr !! Line 1028

Postby emorr339 » Thu Jan 15, 2009 2:27 am

Hi,
I keep getting "Erorr !! Line 1028" messege and can't even preview.

Now my line 1026-1030 looks like this :
Code: Select all
// Generate background first
   if( $configData['backg_disp'] && !is_dir($im_back_file) && file_exists($im_back_file) )
   {
      combineImage( $im,$im_back_file,(__LINE__),0,0 );
   }


{ being line 1028


Thanking you in advance
emorr339
WR.net Apprentice
WR.net Apprentice
 
Posts: 15
Joined: Sat Sep 02, 2006 7:49 am

Erorr !! Line 1028

Postby zanix » Thu Jan 15, 2009 12:40 pm

I think your default background selection may be empty
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

Re: Erorr !! Line 1028

Postby tuigii » Thu Jan 15, 2009 3:34 pm

..... and place this
debugMode((__LINE__)," => ".$im_back_file)." <= ";
on line 1025 so you can check if that file ($im_back_file) really exists. And if its readable.

Edit : anyway, if $configData['backg_disp'] is true, then $im_back_file should be assigned a valid file name.
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

Re: Erorr !! Line 1028

Postby emorr339 » Fri Jan 16, 2009 1:19 am

tuigii wrote:..... and place this
debugMode((__LINE__)," => ".$im_back_file)." <= ";
on line 1025 so you can check if that file ($im_back_file) really exists. And if its readable.

Edit : anyway, if $configData['backg_disp'] is true, then $im_back_file should be assigned a valid file name.


Thanks

I added the line. now the error is :
Code: Select all
Error!
line : 1024
=> /home/kfgguild/public_html/armory/addons/siggen/img/background/defaultsig/orgimmar.png


I did make sure the bg images exist. Line 1024 is :
Code: Select all
// Merge the background into the main image, with this hande, dandy merging script
debugMode((__LINE__)," => ".$im_back_file)." <= ";

   // Generate background first
   if( $configData['backg_disp'] && !is_dir($im_back_file) && file_exists($im_back_file) )
   {
      combineImage( $im,$im_back_file,(__LINE__),0,0 );
   }



1024 being the 1st line.
Thanks so much guys
emorr339
WR.net Apprentice
WR.net Apprentice
 
Posts: 15
Joined: Sat Sep 02, 2006 7:49 am

Re: Erorr !! Line 1028

Postby emorr339 » Tue Jan 20, 2009 6:09 am

any ideas?

Thanks
emorr339
WR.net Apprentice
WR.net Apprentice
 
Posts: 15
Joined: Sat Sep 02, 2006 7:49 am

Erorr !! Line 1028

Postby zanix » Tue Jan 20, 2009 1:47 pm

In SigGen, under Import/Export/Reset
Expand "Reset to Defaults" check the box, and click Default Settings

Then see if it works

If that fails, then I think I need access to your Roster install so I can debug myself
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

Re: Erorr !! Line 1028

Postby tuigii » Tue Jan 20, 2009 3:07 pm

Between :
zanix wrote:Then see if it works

and
zanix wrote:If that fails, then I think I need access to your Roster install so I can debug myself

Re-up all your SigGen file.

Another thing : line 1024, or just the line afterwards, is the first call to combineImage(...) and that's the one that fails.

Some debugging statements as I mentionned above should be placed in that function to check out on which line thing go wrong.

Your Image Libs are still present for your web server ? Use phpinfo and search for GD2 references. If YOU didn't change anything, maybe you're host did.

Check you roster diag also, it must be showing something like this :

Image
Last edited by tuigii on Tue Jan 20, 2009 3:10 pm, edited 1 time 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


Return to SigGen

Who is online

Users browsing this forum: No registered users and 0 guests

cron