Sigx

We are the future in the past.
It is currently Tue Mar 19, 2024 2:14 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Meh, GD 2.0.22 and blank php files
PostPosted: Thu Apr 08, 2004 10:30 pm 
Offline

Joined: Thu Apr 08, 2004 10:19 pm
Posts: 14
Location: Texas
Hello there, I'm running into some problems. Not sure if my problems are with GD or something I'm missing. Here's the details...

I had to start from scratch because I had an older version of GD, so when I ran the config for GD 2 the summary turned out like this:

Code:
** Configuration summary for gd 2.0.22:

   Support for PNG library:
   Support for JPEG library:         yes
   Support for Freetype 2.x library: no
   Support for Xpm library:          no
   Support for pthreads:             yes


For PNG there's no yes or no, so i figured it'd either work, or if it didn't I could try to use jpg just to test. I continued with make install and the build finished with no errors.

Anyhow, you can see my php configs at http://terrormachine.com/sigtest/ When trying to access the actual php files, I just get a blank screen. (there's one to test png, and another to test jpg) You can check the .php.txt and see how I have it set up. I didn't change the xy because I'm just trying to get it to work first :)

Any help with this is appreciated, sorry if I seem vague. I'm still a newb at this.

-Megan


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 08, 2004 10:52 pm 
Offline

Joined: Mon Apr 05, 2004 8:37 pm
Posts: 335
Location: /home/chair/sitting down/
i'm going to take a look at the code in just a sec

also, next time just save it as a .phps file (php source - works nicely too!)

first, instead of using $backIMG = "http://www.terrormachine.com/sigtest/pngtest.png";

try just $backIMG = "pngtest.png";

_________________
Image
My Site: www.dh5.us
I'll kill you Brian Anderson


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 09, 2004 5:21 am 
Offline

Joined: Thu Apr 08, 2004 10:19 pm
Posts: 14
Location: Texas
Ahh I tried, it didn't work. But I'll keep looking into it. I'm starting to feel like it's a problem with GD.

_________________
Image
SigX makes internet radio better


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 09, 2004 9:54 am 
Offline

Joined: Mon Apr 05, 2004 8:37 pm
Posts: 335
Location: /home/chair/sitting down/
yeah, cuz the rest of the code seems to be default

maybe your php was built wrong or something, or without some of the tools required to generate images

_________________
Image
My Site: www.dh5.us
I'll kill you Brian Anderson


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 09, 2004 9:56 am 
Offline

Joined: Mon Mar 15, 2004 1:48 pm
Posts: 1397
Location: Los Angeles
try replacing imagecreatetruecolor with imagecreate

_________________
Image

Image

Image


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 09, 2004 10:00 am 
Offline

Joined: Thu Apr 08, 2004 10:19 pm
Posts: 14
Location: Texas
WEEEEEEEEEEEEEEEEEE <3 Yuriy!!!!!!! It works. I'm in your debt~

Thanks for the help also DH :)

_________________
Image
SigX makes internet radio better


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 09, 2004 10:11 am 
Offline

Joined: Mon Apr 05, 2004 8:37 pm
Posts: 335
Location: /home/chair/sitting down/
Glad ya got it working

Yuriy usually knows exactly whats wrong, i mean, he wrote the code :D

_________________
Image
My Site: www.dh5.us
I'll kill you Brian Anderson


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 09, 2004 10:41 am 
Offline

Joined: Mon Mar 15, 2004 1:48 pm
Posts: 1397
Location: Los Angeles
writing the code and knowing whats wrong is 2 different things... people have different configurations and stuff, its just trial and error. :)

_________________
Image

Image

Image


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 09, 2004 11:39 am 
Offline

Joined: Sat Mar 06, 2004 4:17 pm
Posts: 276
its called troubleshooting.

_________________
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group