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.

Fehler beim Upload eines Bilder mit 4images

Empfohlene Antworten

Veröffentlicht

Hallo zusammen,

ich benutze 4images um ein paar Bilder auf einer Seite zum Download anzubieten. 4images habe ich laut der beigefügten Installationsanleitung richtig installiert und alle notwendigen Verzeichnisse und Dateien korrekt berechtigt. Nun bekomme ich die folgende Fehlermeldung:

Warning: file_exists() [function.file-exists]: SAFE MODE Restriction in effect. The script whose uid is 50791 is not allowed to access /home/www/htdocs/psp-fantasy.de/4images/data/media/1 owned by uid 30 in /home/www/htdocs/psp-fantasy.de/4images/includes/upload.php on line 109

Warning: move_uploaded_file() [function.move-uploaded-file]: SAFE MODE Restriction in effect. The script whose uid is 50791 is not allowed to access /home/www/htdocs/psp-fantasy.de/4images/data/media/1 owned by uid 30 in /home/www/htdocs/psp-fantasy.de/4images/includes/upload.php on line 114

wenn ich eine Bilddatei aus 4images hochladen möchte. Ich bin mir aber sicher, die Berechtigungen auf die notwenigen Verzeichnisse sind gesetzt. Habe ich mit meinem FTP-Programm überprüft. Wo könnte der Fehler liegen?

Du hast den PHP Safe aktiviert.

Entweder in der httpd.conf (falls du Zugriff drauf hast):

<Directory "/home/www/htdocs/psp-fantasy.de"> 
php_admin_value safe_mode Off
</Directory>
[/PHP]

Andere Möglichkeit wäre einfach eine .htaccess mit:

[PHP]php_admin_value safe_mode off

IMHO kann man das aber auch unterbinden, sprich dein Hoster muß das unterstützen.

Verschoben -> Rootserver - Vserver - Webspace

Ich habe weder die httpd.conf noch dir .htaccess auf meinem Webspace gefunden. Kann ich die Dateien einfach anlegen? Und wenn ja wo?

Ich habe weder die httpd.conf noch dir .htaccess auf meinem Webspace gefunden. Kann ich die Dateien einfach anlegen? Und wenn ja wo?

Die httpd.conf ist die Konfigurationsdatei vom Apache, da kommst du nur dran, wenn du root-Zugriff auf den Server hast.

Die .htaccess kannst du einfach anlegen. Die kannst du IMHO in dein oberstes Verzeichnis legen, das müßte dann für alle Unterverzeichnisse gelten.

Aber wie gesagt, kann sein, das dein Hoster das nicht zu läßt.

Habe leider keinen root-Zugriff auf der Server. Eine .htaccess-Datei bewirkte leider einen "Internal Server Error". Habe mit mal die FAQ-Datei von 4images angesehen. Musste den Mediaordner und aller Unterordner manuell anlegen und mit 777 berechtigen. Es geht nun. Danke trotzdem für die Hilfe. :)

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.