Jump to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

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.

Featured Replies

Hallo,

ich versuche gerade Domains über eine csv zu importieren und suche das Feld für den Error und Access Log. In der Dokumentation ist es nicht aufgeführt. Wenn ich die Bezeichnung aus der API Doku nehme funktioniert es leider nicht.

LG,

Afox

Seit 0.10.x übergibt er eigentlich 1:1 die header als api-parameters, du solltest alles übergeben können was die API funktion hergibt. Was genau meinst du denn mit "feld für error und access log"? Wenn du das meinst, das für die Domain eine eigene/separate log erstellt wird dann ist das:

	 * @param bool $speciallogfile
	 *        	optional, whether to create an exclusive web-logfile for this domain, default 0 (false)

 

  • Author

Danke, ich habe folgende Header auf 0 gesetzt:

  • speciallogfile
  • writeaccesslog
  • writeerrorlog
  • sslenabled

Jedoch wird bei allen der Haken trotzdem gesetzt.

 

  • Author

Siehe Anhang (temp)

 

 

 

Jau, gefunden, der 0-Wert ist für PHP bei einer Abfrage auf empty() leider gleichbedeutend wie leer...versuche folgenden Patch:

diff --git a/lib/Froxlor/Bulk/BulkAction.php b/lib/Froxlor/Bulk/BulkAction.php
index fdfca799..9f946b38 100644
--- a/lib/Froxlor/Bulk/BulkAction.php
+++ b/lib/Froxlor/Bulk/BulkAction.php
@@ -133,7 +133,7 @@ abstract class BulkAction
 
                $new_data = array();
                foreach ($this->api_params as $idx => $param) {
-                       if (isset($data_array[$idx]) && ! empty($data_array[$idx])) {
+                       if (isset($data_array[$idx])) {
                                $new_data[$param] = $data_array[$idx];
                        }
                }

 

  • Author

Danke aber jetzt erhalte die folgende Meldung:

Quote

Selected admin cannot have any more domains or could not be found

Nach dem Setzen der ID für den Admin lief es aber durch.

 

Create an account or sign in to comment

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.