Skip 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.

Accessing Error Logs over FTP

Featured Replies

Hello,

I am trying to give customers access to the PHP error log from their FTP account. I have been experimenting with the error_log statement in the php.ini setting under PHP > PHP Configurations > [User PHP Config], however it only seems to work if the destination file has already been created. Obviously, this is not ideal as users could accidentally delete the file or the process I would have to setup to create the file could fail.

Leaving the statement blank sends the data to Froxlor's error logging system. Since I passed 1 for the option "speciallogfile", the user seems to have their own dedicated log file in the system (Please correct me if either of these statements are wrong). Is there a way to get this log file accessible to the user over FTP without manually creating systemlinks?

I want the customer to be able to access their php error logs via FTP. Where that file is stored I don't really have a preference as long as it is easily accessible.

I took a look at past forum posts and the documentation, but did not see anything relevant.

Thank you!

Solved by d00p

  • Solution

Currently not intended this way. Customers can see logs in the UI if allowed by the admin

Can see the logs? Sure? Not only the last few lines?

it's currently only the last 1000 lines iirc, depending on the customer, these logs can get HUGE and froxlor won't be able to load them (or php timeouts etc.).

Maybe we will think of a better solution for froxlor3, this is unlikely to change in 2.x

  • Author

For future reference, I managed to resolve this by setting error_log = {CUSTOMER_HOMEDIR}error_logs/php_errors.log in php.ini and chown <user>:www-data the error_logs folder.

Create an account or sign in to comment

Account

Navigation

Search

Search

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.