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.

Awstats-icon problem with update to 0.9.14

Featured Replies

Hi Froxlor Team,

 

I've been testing several tools like Froxlor and finally decided to use Froxlor.

 

As there are some features I miss in Froxlor I want to dig into Froxlor and help with the development.

 

When I updated to 0.9.14 I noticed that the icons in awstats are not shown anymore. Looking through the code the problem seems to be in the getStats() method in scripts/jobs/cron_tasks.inc.http.10.apache.php. In my case line 495 is relevant as it checks if $domain['customerroot'] has a different value than $domain['customerroot'] and only then the alias for the stats is inserted.

 

The values for both keys come directly from the database around line 800. Printing out the $domain variable shows both keys with the exact same value in all cases. And isn't that default for the document root, to always be the one set for that customer? So in that case the alias will never be set, as in my case.

 

What is the reason for comparing the documentroot of the customer with the one for the domain and only setting the alias if they differ?

 

Best Regards,

Severin Leonhardt

a subdomain/other domain of that customer can have a different docroot, i cant check the relevent code right now but it has been tested several times, if you are sure this is a bug report it to our bugtracker

Archived

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

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.