Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Dynamic sig problems., Can only get it half working or so.
Colonel Skills
post May 16 2006, 09:27 AM
Post #1


Newbie
*

Group: Members
Posts: 3
Joined: 16-May 06
Member No.: 52



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. ;_;
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Serge
post May 16 2006, 10:03 AM
Post #2


AMIP Developer
***

Group: Root Admin
Posts: 935
Joined: 12-March 06
Member No.: 1



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";
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Colonel Skills
post May 16 2006, 05:24 PM
Post #3


Newbie
*

Group: Members
Posts: 3
Joined: 16-May 06
Member No.: 52



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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Serge
post May 16 2006, 05:33 PM
Post #4


AMIP Developer
***

Group: Root Admin
Posts: 935
Joined: 12-March 06
Member No.: 1



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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Colonel Skills
post May 16 2006, 05:42 PM
Post #5


Newbie
*

Group: Members
Posts: 3
Joined: 16-May 06
Member No.: 52



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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: