Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 28. Mar 2024, 11:47

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 20. Sep 2006, 17:25 
Offline

Joined: 6. Sep 2006, 23:32
Posts: 12
Location: karlsruhe
Benutze Version 1.5.1, habe aber den inc-folder durch 1.5.1.2 ausgetauscht.

Fast alles klappt jetzt, nur noch folgender, immer wieder auftretender Fehler in der "_mydebug.out":

Quote:
9.20.2006 17:16:02 - ERROR 2 in ies.com/twg15/inc/imagefunctions.inc.php, line 252: imagettftext() [<a href='http://www.php.net/function.imagettftext'>function.imagettftext</a>]: Could not find/open font


Zeile 252 der "imagefunctions.inc.php" steht ja:

Code:
imagettftext($dst, $fontsize, 0, 7, $height-7, $color, $font, $text);


und die variable $font wird ja in config.php definiert:

Code:
$font = "./verdana.ttf"; // this are the settings for the image text


das file "verdana.ttf" liegt bei mir im twg-root folder. sollte doch eigentlich stimmen...? was koennte das problem sein?

meine seite: #removed_broken_link

gruss, alex


Top
 Profile  
 
 Post subject:
PostPosted: 20. Sep 2006, 17:46 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
komisch - weil aufgerufen wird das von der image.php - da wo die font auch liegt.

blöd ist die Fehlermeldung - du kannst ja mal ./ wegmachen. bzw. dort

(dirname(__FILE__) . "/verdana.ttf");

verwenden.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 21. Sep 2006, 02:31 
Offline

Joined: 6. Sep 2006, 23:32
Posts: 12
Location: karlsruhe
TinyWebGallery wrote:
komisch - weil aufgerufen wird das von der image.php - da wo die font auch liegt.

blöd ist die Fehlermeldung - du kannst ja mal ./ wegmachen. bzw. dort

(dirname(__FILE__) . "/verdana.ttf");

verwenden.

/Michael


mmh, hab ich mal ergaenzt, bringt aber leider nix. hab jetzt also in der myconfig.php folgendes stehen:

Code:
$font = (dirname(__FILE__)."./verdana.ttf");


noch nen tip?


Top
 Profile  
 
 Post subject:
PostPosted: 21. Sep 2006, 08:31 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
das ist auch nicht o.k. so - da ist noch ein zusätzlicher . drin!


Top
 Profile  
 
 Post subject:
PostPosted: 27. Sep 2006, 13:07 
Offline

Joined: 6. Sep 2006, 23:32
Posts: 12
Location: karlsruhe
TinyWebGallery wrote:
das ist auch nicht o.k. so - da ist noch ein zusätzlicher . drin!


ah, mist. uebersehen. danke, das wars, jetzt klappt alles fehlerfrei!

gruss, alex


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 7 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
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy