Jump to content

Recommended Posts

Posted
On 9/22/2024 at 2:53 PM, garrigue said:

I would like to test the new server my username is garrigue

You're on the new server now.

Posted
On 9/23/2024 at 7:33 AM, niemen said:

I would also like to be a V2 tester, if possible.

Username:  niemen

Your account will be moved shortly.

Posted
On 9/21/2024 at 12:28 AM, Krydos said:

Comparing the two images, good:

image.png.02cdb9208343b618f6c516011a60c26e.png

and bad:

image.png.f114f9aea006f268bc5342faa3f41c61.png

It looks like the only thing that is wrong is the text is missing. Do you know where your script is getting these fonts? Is there a font file that is missing?

I did some superficial research in the foreign php code. I noticed the following:
In the /mybo/includes/functions_image.inc.php (I made a copy of the /blitzortung directory) the following line is called: exec(“/usr/bin/optipng -o ‘.BO_OPTIPNG_LEVEL.’ ‘$file’”);
Is it possible that the exec() function was active on tommy2 and not on the new tommy? If so, can it be activated for my account?

Posted
24 minutes ago, fdevillalobos said:

Can't seem to connect to my Tommy databases.

You have to request remote access again for PostgreSQL database after being moved. If you want to be able to enable remote connections yourself you can use MariaDB instead.

Remote access enabled.

host=65.19.154.90
port=5432
username=fudobi_admin_strange
dbname=fudobi_strange
password=<set in Plesk>

 

Posted
12 minutes ago, dl5ark1 said:

Is it possible that the exec() function was active on tommy2 and not on the new tommy? If so, can it be activated for my account?

Exec() is disabled on shared hosting, Tommy, Johnny, and Morty. If you need exec() you'll need to get a VPS https://heliohost.org/vps/

Posted
14 hours ago, Krydos said:

Exec() is disabled on shared hosting, Tommy, Johnny, and Morty. If you need exec() you'll need to get a VPS https://heliohost.org/vps/

Thank you so far.

I am experiencing an issue with generating images using a PHP script from the MyBlitzortung project (https://github.com/tobiasv/MyBlitzortung/tree/master) after moving my website from the old tommy2 server to the new tommy server. The script uses the GD library to render images with text, but after the move, no text is displayed in the images.

To investigate, I ran two simple test scripts:

gd.php (https://dl5ark.heliohost.org/gd.php): This test creates a blank image with a black background and attempts to display text using a specific TTF font, but only a white rectangle is shown without the text.
gd1.php (https://dl5ark.heliohost.org/gd1.php): Similarly, this script also fails to display the text.
The PHP script in question (functions_image.inc.php) relies on the GD library with FreeType support to render the text, and the path to the TTF font seems to be correctly configured. The issue persists even though:
- FreeType support is enabled on the server.
- The font files are present and accessible with appropriate permissions.

I kindly request your help to:
1. Verify if the GD library with FreeType is functioning correctly on the new server.
2. Check for any potential issues with the PHP configuration (e.g., paths, library versions, or limitations) that might prevent the text rendering from working properly.

I appreciate your assistance in resolving this issue, as it affects the proper functioning of image generation on the website.

Best regards!

Posted

It's a path, PHP version, or account issue. That gd1 script works on my account under PHP 7.4: https://wolstest.helioho.st/gd1.php (Note that I didn't use an absolute path for the font file either, I used ./DejaVuSansMono-Oblique.ttf )

Here it is on 5.6 on my account, but I'm waiting on an Apache restart to see if this version works: https://php56.wolstest.helioho.st/gd1.php 

If it turns out it works on my 5.6 link once Apache restarts, Krydos is probably going to say the fix is to reset your account and rebuild it. You're on a legacy cPanel account, those are well known to be full of bugs.

Posted
4 hours ago, wolstech said:

It's a path, PHP version, or account issue. That gd1 script works on my account under PHP 7.4: https://wolstest.helioho.st/gd1.php (Note that I didn't use an absolute path for the font file either, I used ./DejaVuSansMono-Oblique.ttf )

Here it is on 5.6 on my account, but I'm waiting on an Apache restart to see if this version works: https://php56.wolstest.helioho.st/gd1.php 

If it turns out it works on my 5.6 link once Apache restarts, Krydos is probably going to say the fix is to reset your account and rebuild it. You're on a legacy cPanel account, those are well known to be full of bugs.

Hello wolstech, this is the last and only known remaining error with my migrated homepage. It would be very nice if you could take care of the problem. A complete reinstallation of my account seems a bit excessive. It would be a great pity if I could no longer use php just because of this. Especially for a test phase of the transition from tommy2 to tommy I would appreciate your support. Thank you for your efforts.

Posted

It doesn't work on 5.6 for me either. I'm going to assume GD is broken on 5.6 considering 7.4 works. Krydos would need to fix this, as I don't have the ability to do so.

Posted
20 hours ago, wolstech said:

It doesn't work on 5.6 for me either. I'm going to assume GD is broken on 5.6 considering 7.4 works. Krydos would need to fix this, as I don't have the ability to do so.

Thank you for your support. Let's hope that @Krydos finds time to look into the problem.

Posted
On 9/25/2024 at 11:22 PM, wolstech said:

It doesn't work on 5.6 for me either. I'm going to assume GD is broken on 5.6 considering 7.4 works. Krydos would need to fix this, as I don't have the ability to do so.

Friendly query: Is it necessary to open a ticket in Customer Service or is Krydos also aware of the problem here?

Guest
This topic is now closed to further replies.
×
×
  • Create New...