Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

JpGraph Error Font

Empfohlene Antworten

Hallo

ich habe einige PHP-Seite mit Diagrammen (JpGraph). Ich habe sie unter Windows entwickelt.

Ich habe sie jetzt auf dem Server (Linux) von 1&1 hochgeladen. Da bekomme ich die Fehlermeldung von JpGraph:

JpGraph Error Font file "/usr/X11R6/lib/X11/fonts/truetype/arialbd.ttf" is not readable or does not exist.

Wie kann ich dieses Problem lösen???

ist die datei denn vorhanden und lesbar?

s'Amstel

Also beim 1&1 Linux Server gibt die Datei in dieses Phad nicht:

"/usr/X11R6/lib/X11/fonts/truetype/arialbd.ttf"

Ich habe mir gadacht die Datei arialbd.ttf herunter zu laden und einfach unter meine Dateien einzüfügen:

Also statt:

(jpgraph_config.php)

// UNIX:

DEFINE("CACHE_DIR","/tmp/jpgraph_cache/");

DEFINE("TTF_DIR","/usr/X11R6/lib/X11/fonts/truetype/");

DEFINE("MBTTF_DIR","/usr/share/fonts/ja/TrueType/");
So was zu machen: (jpgraph_config.php)
// UNIX:

DEFINE("CACHE_DIR","/tmp/jpgraph_cache/");

DEFINE("TTF_DIR","/fonts/");

DEFINE("MBTTF_DIR","/fonts/");

Geht leider nicht, ich bekomme diegleiche Fehlermeldung wie vorher:

JpGraph Error Font file "/onts/arialbd.ttf" is not readable or does not exist.

du gibst /fonts als TTF_DIR an - JpGraph verlangt da meines wissens einen absoluten pfad im dateisystem, welcher vom httpd auch gelesen werden kann - chmod og+x fürs verzeichnis, og+r für die datei oder ähnlich.

s'Amstel

ich habe auch die Absulute Phad probiert geht nicht !!!!!!!!!!!!!

(jpgraph_config.php)


// UNIX:


DEFINE("TTF_DIR",$_SERVER['DOCUMENT_ROOT']."/fonts/");

DEFINE("MBTTF_DIR",$_SERVER['DOCUMENT_ROOT']."/fonts/");

Was kann ich noch tum ???

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.