Capture erzeugen

Alles, was PHP betrifft, kann hier besprochen werden.

Capture erzeugen

Postby TTP » 02. March 2009 17:10

Hallo,

ich versuche ein Capute zu generieren.

Auf meinem XAMPP läuft es auch, nur auf dem Webspace von meinem Provider erhalte ich einen Error 500 und in der Error.log steht dazu nur:

PHP Notice: Undefined variable: AngezeigterCode in D:\Programme\Apache 2.2\htdocs\picgen.php on line 13
PHP Fatal error: Call to undefined function imagecreatefrompng() in D:\Programme\Apache 2.2\htdocs\picgen.php on line 29
PHP Notice: Undefined variable: AngezeigterCode in D:\Programme\Apache 2.2\htdocs\picgen.php on line 20
PHP Notice: Undefined offset: 8 in D:\Programme\Apache 2.2\htdocs\picgen.php on line 18
PHP Fatal error: Call to undefined function imagecreatefrompng() in D:\Programme\Apache 2.2\htdocs\picgen.php on line 30


Muss man in der PHP.ini eine bestimmt extension haben?
Place
ohne Apachefriends wär ich in meiner Entwicklung weiter zurück ;)
User avatar
TTP
 
Posts: 310
Joined: 30. August 2003 19:38
Location: Wolfsburg

Re: Capture erzeugen

Postby Wiedmann » 02. March 2009 17:14

Muss man in der PHP.ini eine bestimmt extension haben?

Siehe PHP manual:
http://de.php.net/manual/en/function.im ... rompng.php
--> gehört zur GD Extension.

Und die benötigt dann halt noch Unterstützung für PNG:
http://de.php.net/manual/en/image.requirements.php
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Capture erzeugen

Postby TTP » 02. March 2009 18:20

gd2 hab ich eingebunden...
ähm fehler erhalte ich nicht, nur error 500 und in den logs steht nichts außer der zeile oben :(
Place
ohne Apachefriends wär ich in meiner Entwicklung weiter zurück ;)
User avatar
TTP
 
Posts: 310
Joined: 30. August 2003 19:38
Location: Wolfsburg

Re: Capture erzeugen

Postby TTP » 07. March 2009 08:52

I´ve reinstalled PHP and now it run´s good :)
Thanks to all of you guys.
Place
ohne Apachefriends wär ich in meiner Entwicklung weiter zurück ;)
User avatar
TTP
 
Posts: 310
Joined: 30. August 2003 19:38
Location: Wolfsburg


Return to PHP

Who is online

Users browsing this forum: No registered users and 11 guests