Page 1 of 1

text embellisher module broken?

Posted: Thu May 24, 2007 8:40 pm
by deejmer
I am installing the TruetypeText module (Version: 2.0.0-RC2).  Upon initial installation, I go to the module in Admin and see the series of tabs, and content within each.  It says that the first thing I need to do is upload a TTF file.  I do so, and when I return to admin to look at the module, only the tabs show up, but no content beneath them that I can use to manipulate settings.  I have used version 1.1 successfully, but when installing this 2.0 version for a new site, I cannot seem to get it working.

Is there a known bug?  Any clue why I am not able to use it after I put a TTF file in the relevant folder?

Re: text embellisher module broken?

Posted: Sat May 26, 2007 4:59 am
by psy
I am having the same problem.  In addition, when I use any of the 'ajax' controls on the main page content list ( eg expand button), I get an XML error popup.  Uninstalling TruetypeText resolves the error.

psy

Re: text embellisher module broken?

Posted: Mon Jun 18, 2007 7:05 pm
by EMR53
Hello,

Anybody solved this problem yet  ???  i'm using TruetypeText 2.0.0-RC2 and having the same sort of problems. :'(

Maybe other modules are this cause? :P

Greets Eric

Re: text embellisher module broken?

Posted: Thu Jul 19, 2007 12:16 pm
by Martz
Fatal error
Cannot re-assign $this in .. /modules/TruetypeText/class.ttt.php on line 125

is the error message after you upload the first font amd set the directory permissions on the module to 777.

If I comment out the line, new errors spring up "imagettftext() expects parameter 1 to be resource, boolean given" which should be the $image returned. So I'm guessing on my install something is very broken.

Re: text embellisher module broken?

Posted: Mon Jul 23, 2007 3:17 pm
by usolis
I've been wrangling with a few thingswith this module - hope this answers a few questions
Martz wrote: Fatal error
Cannot re-assign $this in .. /modules/TruetypeText/class.ttt.php on line 125

is the error message after you upload the first font amd set the directory permissions on the module to 777.

If I comment out the line, new errors spring up "imagettftext() expects parameter 1 to be resource, boolean given" which should be the $image returned. So I'm guessing on my install something is very broken.

This is because the text embelisher does not work with PHP5
deejmer wrote: I am installing the TruetypeText module (Version: 2.0.0-RC2).  Upon initial installation, I go to the module in Admin and see the series of tabs, and content within each.  It says that the first thing I need to do is upload a TTF file.  I do so, and when I return to admin to look at the module, only the tabs show up, but no content beneath them that I can use to manipulate settings.  I have used version 1.1 successfully, but when installing this 2.0 version for a new site, I cannot seem to get it working.

Is there a known bug?  Any clue why I am not able to use it after I put a TTF file in the relevant folder?
PHP 5 issue again
psy wrote: I am having the same problem.  In addition, when I use any of the 'ajax' controls on the main page content list ( eg expand button), I get an XML error popup.  Uninstalling TruetypeText resolves the error.

psy
The AJAX issue is because the language file is in DOS format. I suspect there is a carriage return (but no line feed) at the end of  /modules/TruetypeText/lang/en_US.php

Running the file through dos2unix solves the problem:
http://www.freedownloadscenter.com/Util ... X2DOS.html

Hope it helps

Re: text embellisher module broken?

Posted: Mon Jul 23, 2007 4:09 pm
by deejmer
Is there something in the plans to update this module to work with PHP5?