text embellisher module broken?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
deejmer
Forum Members
Forum Members
Posts: 69
Joined: Thu Jan 11, 2007 7:32 pm

text embellisher module broken?

Post 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?
psy
Power Poster
Power Poster
Posts: 463
Joined: Sat Jan 22, 2005 11:19 am

Re: text embellisher module broken?

Post 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
EMR53
Forum Members
Forum Members
Posts: 31
Joined: Tue Aug 01, 2006 6:09 pm

Re: text embellisher module broken?

Post 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
Martz

Re: text embellisher module broken?

Post 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.
usolis
New Member
New Member
Posts: 6
Joined: Mon Jul 23, 2007 1:23 pm

Re: text embellisher module broken?

Post 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
User avatar
deejmer
Forum Members
Forum Members
Posts: 69
Joined: Thu Jan 11, 2007 7:32 pm

Re: text embellisher module broken?

Post by deejmer »

Is there something in the plans to update this module to work with PHP5?
Post Reply

Return to “CMSMS Core”