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.

MySQL Query for correcting wrong assoziation of subdomains to php configs (see bug #107)

Featured Replies

When using fcgdi or a similar wrapper and using custom PHP Configurations for some domains there is a bug in 0.93 (fixed in SVN), were created subdomains are not using the desired custom config but the standard config.

 

As i said, this was fixed in the svn version, but this fix does not change any subdomains created until now. Espacially if there is a large amount of Subdomains, this is a problem.

 

Here is my solution, a little MySQL-Query, which changes the phpconfig to the one of the parent domain directly in database for all subdomains at once.

 

Please use this only, if you know what you're doing, and backup your data before. Use at own risk!

Simply execute this query in froxlor database:

 

UPDATE `panel_domains` AS p1, `panel_domains` AS p2 SET p1.phpsettingid = p2.phpsettingid WHERE p1.parentdomainid = p2.id AND p1.parentdomainid != 0;

 

If you are using a prefix, you might want to add this to the query, this was just my way of handling the mistakes done by the bug.

Archived

This topic is now archived and is closed to further replies.

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.