Printable Version of Topic

Click here to view this topic in its original format

AMIP Community _ Support _ Dynamic sig problems.

Posted by: Colonel Skills May 16 2006, 09:27 AM

Hello, I'm hoping you guys can help with my problem with using this dynamic sig thing.

My PHP knowledge is not that great, I'll get that out in the open right now just so you all know.

Anyway, I have tried uploaidng the script to some webspace I have that a buddy of mine hosts, and so far I only have one of the two required files working. I did not edit either of them, these are the results I get "straight out of the box", so to speak.

The NPVARS.TXT file works fine and dandy. See: http://colonelskills.eleochan.org/np/npvars.txt for proof.

However, the signature.php/sig.png file produces the error of "No Input File Specified", as seen here: http://colonelskills.eleochan.org/np/signature.php/sig.png

And I'm at a loss for what to do to fix it. Any help?

http://colonelskills.eleochan.org/np/signature.php has a bunch of error codes, if that helps any. I dunno why those are like that though

I think it might have something to do with the home/.dolby/colonelskills part of the file path but I dunno what variable could be suppling that part of the address so I don't know what to edit. Any help please?

In addition, please excuse any typos. It's 4 AM when I write this. ;_;

Posted by: Serge May 16 2006, 10:03 AM

Have you uploaded font .ttf files coming with the signature script? Looks like yes, but the script can't calculate absolute path and open them.

Open signature.php,

Find the line:

CODE
$config['font_file'] = "$script_dir/impact.ttf";

Add the line before this line:
CODE
$script_dir = "/home/.dolby/colonelskills/colonelskills.eleochan.org/np";

Posted by: Colonel Skills May 16 2006, 05:24 PM

Yup, that did it. It's almost working 100 percent now.

I can now view the image in http://colonelskills.eleochan.org/np/signature.php, which is extremely awesome.

However, for image linking purposes, I tried to use the http://colonelskills.eleochan.org/np/signature.php/sig.jpg or http://colonelskills.eleochan.org/np/signature.php/sig.png link, and unfortunately those don't quite work.

I get a "No Input File Specified" error. Any ideas?

Sorry to keep annoying you like this, I wish my knowledge was good enough to torubleshoot this on my own. sad.gif

Posted by: Serge May 16 2006, 05:33 PM

Your server doesn't support such linking, the workaround is to enable static image generation and link directly to produced image.

Inside signature.php change:
$config['static'] = false;
to
$config['static'] = true;

Then update song, then link to: http://colonelskills.eleochan.org/np/sig.png

Posted by: Colonel Skills May 16 2006, 05:42 PM

That did it, thanks for all the help! It's seriously much appreciated. I wish I could thank you more in some way, but I don't know how.

Thanks again though. =D

Powered by Invision Power Board
© Invision Power Services