problems with company an GT hack

If you've problems with unsupported - non official ;-) - functionalities use this forum please.
User avatar
sustia
Posts: 651
Joined: Fri 2. Apr 2004, 22:29
Location: Lecce (Italy)
Contact:

Post by sustia »

Hi Jérôme :)

So you think is better that I ask to my hoster to resolve this problem?
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

No, first I would say: let us debug the code together - perhaps we get to a solution ;).

I can't provide special solutions for everyone, but perhaps there is a mistake in my code that prevents it working on your server and is just tolerated by other servers.
User avatar
sustia
Posts: 651
Joined: Fri 2. Apr 2004, 22:29
Location: Lecce (Italy)
Contact:

Post by sustia »

Ok, thanks a lot :)
If you wants can tell me what you need to debug it.
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

Tests (with the friendly help of Sustia) have shown that you need freetype support enabled in PHP to get this MOD to work. This is one obvious fact that was so obvious that we haven't thought of... I am sorry that it was not because of an error in my code.

- Jérôme
snobba
Posts: 166
Joined: Sat 6. Mar 2004, 12:41
Location: Sweden
Contact:

Post by snobba »

AHHHAAA!!! That's the reason it works like a charm on the offline server but not on my online ones! And that is also the reason why it suddenly worked for some people when they upgraded their php to a newer version(and indirect with a GD with freetype on)..

Thanks for solving where the problem is - then I do not have to try for hours and hours...Just have to give my hostingprovider a call on monday saying: '-Hey I need the kickass GT-mod! Turn GD freetype on! NOW!'

/ Martin
User avatar
sustia
Posts: 651
Joined: Fri 2. Apr 2004, 22:29
Location: Lecce (Italy)
Contact:

Post by sustia »

Jérôme wrote:Tests (with the friendly help of Sustia) have shown that you need freetype support enabled in PHP to get this MOD to work. This is one obvious fact that was so obvious that we haven't thought of... I am sorry that it was not because of an error in my code.

- Jérôme
I'm glad to say to Jérôme (thanks for dedicating me some of your time) that my hoster enabled me the freetype support, and now everything works well :D

You can see the results at the bottom of this page:

http://www.realtanuove.org/index.php?id=35,65,0,0,1,0
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

Great!! I am glad that this worked so quickly (and that your hoster even does things for you on sundays ;). Until I got on the server of a friend, I had not so much luck with my webspace providers...
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post by cyrano »

hi there, now i am happy i had trouble with the path and i changed it, but now i can see dei index of the modul, and when i click on the second link "fonts", i got some rows with this
Warning: imagejpeg() [function.imagejpeg]: Unable to open '/www/htdocs/xxxxxx//content/images/gt/933a5c9a8a2f4d9ec5b6d2f3ca6fcaf5.jpg' for writing in /www/htdocs/xxxxxx/include/inc_module/mod_graphical_text/inc_front/gt.func.inc.php on line 70
From where comes the double //? I checked but i can't find it...
also the images are not rendered....
Thanx for advise.

added:

do I write:
case "modules": //Modules
case 2: // Graphical Text MOD
include_once "/www/htdocs/akadoku/include/inc_module/mod_graphical_text/main.inc.php";
break;
or
case "modules": //Modules
switch ($p) {

case 2: // Graphical Text MOD
include_once "./include/inc_module/mod_graphical_text/main.inc.php";
break;

default: echo '';
break;
}
break;
within the phpwcms.php files?
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

Why don't you just copy and paste what is written in the installation instructions? Then it should be like it is written in your second part.

For your first problem, I am sorry, I can't reproduce this...
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post by cyrano »

Hi Jérôme,

i fixed all without the first lines described.

It's not possible to make the graphics....

still produces the errors, unable to open the graphic... i think because of the double //, but I don't know where they are, I searched the code but could not find such a written code....

when i click on modules, i get a blank area and left the Linkto the graphic mod. after clicking on it I get the start or index page for the graphic mod, beginning with the characters

.

May be this give a conclusion of the written errors?
[/quote]
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

I am sorry to say that I think that you made a copy paste error. Please send me your phpwcms.php to the email address you know from me and I will have a look at it.

Concerning the double slash: Can someone reproduce that? I can't - everything is fine on my installation. Do you know someone on another server who could test the MOD for you? I'd say there is a configuration problem of phpwcms, but I am not sure. I will have to wait until others have the same problem, because until now it is my word against yours. :)

Cyrano, please check your config.inc.php file for the variable $phpwcms["root"]. Is there a slash at the beginning of the string?

One other question: have you changed the permissions on the "gt"-folder to 777 as said in the installing instructions?
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post by cyrano »

hi Jérôme,

I fix it. was a wrong writen name...... that's all. stupid :oops:

I don't know where to set the handle first...:-)

Now it's nice and the kind of install instruction works well.

Thank you Jérôme.
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

Haaaa, I am relieved. True.

Wonderful.
Post Reply