Sign in to follow this  
darkie

XLRStats Webfront V3 issue

Recommended Posts

XLRStats Version: xlrstats-web-v3-3.0.0-beta.10NL
B3 Version: B3 v1.12 Iron Pigeon
OS Version: Ubuntu 16.04
PHP Version: 5.3
Cod4 Version: COD4x 18.0 (Linux)
 

Exact issue as the user here (*except for me it's not opening form any machine/browser)
https://github.com/BigBrotherBot/big-brother-bot/issues/406

Stats are getting collected so all other details but under player_stats view "Achievements/Activity/History/Weapons/Maps/Hit Zones/Opponents) are not loading..
Under map_stats/weapon_stats the map stats/weapon_stats are not loading either.
B3 is connected and syncing properly.

 

If anyone has any solution on this/have faced such issue?
 

map_stats_x1.png

player_stats_x1.png

Edited by darkie

Share this post


Link to post
Share on other sites

Update:

These tabs "Achievements/Activity/History/Weapons/Maps/Hit Zones/Opponents" are not opening directly. But can be accessed by right click and "Open link in new tab". Perhaps these are not opening/loading up dynamically. 

 

Share this post


Link to post
Share on other sites
18 minutes ago, Kreator said:

Check your htaccess and redirects

I haven't made any changes to .htaccess files (there exits 3, one resides in the root app folder, one inside app folder and the last one inside app/webroot )
Neither any changes were made to redirects, in fact i don't see any such file.

/var/www/html/app .htaccess contents:

<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteRule    ^$ app/webroot/    [L]
   RewriteRule    (.*) app/webroot/$1 [L]
</IfModule>


/var/www/html .htaccess contents:

<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteRule    ^$    webroot/    [L]
    RewriteRule    (.*) webroot/$1    [L]
</IfModule>

/var/www/html/app/webroot .htaccess contents

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>

 

Edited by darkie

Share this post


Link to post
Share on other sites

I am no expert on apache and htaccess, but if you followed the tutorials provided by webxlr you shouldn't have those problems. Altough that project is not under support anymore and its not even complete so it will take some time and knowledge to make it in good shape, maybe someone else can help here.

Be sure to clear the logs, restart apache and check for errors, but idk if its loading via new tab, I suspect redirecting via htaccess or the code redirect is not working properly, can't think of any other reason, also if the website is loading fast via the new tab, mysql should be out of question.

Share this post


Link to post
Share on other sites

Thank you for trying and guide. Indeed i did set it up just the way it said in the github guide of webxlr. To my belief, i haven't done any changes/redirect in the codes. The only issue is it's not loading tabs directly or stuck with "Loading....." , only can be accessed by direct link/open in new tab. Pages/website loads fast without any issue either.

Indeed, can't find any support anywhere else either so this is the only place of further guide/knowledge :D

Edited by darkie

Share this post


Link to post
Share on other sites

Well try checking the logs very carefully, maybe something will pop out, try loading, entering links etc, see what happends. 

You could try using this htaccess in the root of xlr web part, or parts of it.

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^(.*)$  $1.html [L]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.*)$  $1.php [L]
Allow From All

 

Share this post


Link to post
Share on other sites

Tried it but unfortunately no luck.
Apache2 log errors (although this seems to be out of scope)
 

[Wed Aug 12 18:11:46.524754 2020] [:notice] [pid 2393] FastCGI: process manager initialized (pid 2393)
[Wed Aug 12 18:11:46.546398 2020] [mpm_prefork:notice] [pid 2390] AH00163: Apache/2.4.18 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 configured -- resuming normal operations
[Wed Aug 12 18:11:46.546459 2020] [core:notice] [pid 2390] AH00094: Command line: '/usr/sbin/apache2'
[Wed Aug 12 18:34:35.374829 2020] [mpm_prefork:notice] [pid 2390] AH00169: caught SIGTERM, shutting down
[Wed Aug 12 18:34:36.418438 2020] [:notice] [pid 2887] FastCGI: process manager initialized (pid 2887)
[Wed Aug 12 18:34:36.433239 2020] [mpm_prefork:notice] [pid 2884] AH00163: Apache/2.4.18 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 configured -- resuming normal operations
[Wed Aug 12 18:34:36.433297 2020] [core:notice] [pid 2884] AH00094: Command line: '/usr/sbin/apache2'
[Wed Aug 12 18:34:55.287886 2020] [mpm_prefork:notice] [pid 2884] AH00169: caught SIGTERM, shutting down
[Wed Aug 12 18:34:56.316221 2020] [:notice] [pid 2942] FastCGI: process manager initialized (pid 2942)
[Wed Aug 12 18:34:56.332126 2020] [mpm_prefork:notice] [pid 2939] AH00163: Apache/2.4.18 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 configured -- resuming normal operations
[Wed Aug 12 18:34:56.332181 2020] [core:notice] [pid 2939] AH00094: Command line: '/usr/sbin/apache2'
[Wed Aug 12 18:35:56.659355 2020] [mpm_prefork:notice] [pid 2939] AH00169: caught SIGTERM, shutting down
[Wed Aug 12 18:35:57.738683 2020] [:notice] [pid 3049] FastCGI: process manager initialized (pid 3049)
[Wed Aug 12 18:35:57.773181 2020] [mpm_prefork:notice] [pid 3046] AH00163: Apache/2.4.18 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 configured -- resuming normal operations
[Wed Aug 12 18:35:57.773244 2020] [core:notice] [pid 3046] AH00094: Command line: '/usr/sbin/apache2'
[Wed Aug 12 18:35:59.435008 2020] [mpm_prefork:notice] [pid 3046] AH00169: caught SIGTERM, shutting down
[Wed Aug 12 18:36:00.575366 2020] [:notice] [pid 3107] FastCGI: process manager initialized (pid 3107)
[Wed Aug 12 18:36:00.590678 2020] [mpm_prefork:notice] [pid 3104] AH00163: Apache/2.4.18 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 configured -- resuming normal operations
[Wed Aug 12 18:36:00.590734 2020] [core:notice] [pid 3104] AH00094: Command line: '/usr/sbin/apache2'
[Wed Aug 12 18:36:44.500698 2020] [mpm_prefork:notice] [pid 3104] AH00169: caught SIGTERM, shutting down
[Wed Aug 12 18:36:45.559700 2020] [:notice] [pid 3173] FastCGI: process manager initialized (pid 3173)
[Wed Aug 12 18:36:45.574646 2020] [mpm_prefork:notice] [pid 3170] AH00163: Apache/2.4.18 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 configured -- resuming normal operations
[Wed Aug 12 18:36:45.574714 2020] [core:notice] [pid 3170] AH00094: Command line: '/usr/sbin/apache2'
[Wed Aug 12 18:38:02.046852 2020] [mpm_prefork:notice] [pid 3170] AH00169: caught SIGTERM, shutting down
[Wed Aug 12 18:38:03.124702 2020] [:notice] [pid 3279] FastCGI: process manager initialized (pid 3279)
[Wed Aug 12 18:38:03.152974 2020] [mpm_prefork:notice] [pid 3276] AH00163: Apache/2.4.18 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 configured -- resuming normal operations
[Wed Aug 12 18:38:03.153057 2020] [core:notice] [pid 3276] AH00094: Command line: '/usr/sbin/apache2'

 

Share this post


Link to post
Share on other sites
6 hours ago, BHCMax said:

Thanks, any specific file ? 

all sorted thank you, did a complete reinstall using those files, also used my custom cod4.php for my mods weapons and maps, and a modified XlrFunctionComponent.php (which cancells out the checks)

ps also found that after adding server, i got errors until i edited the servers servername_a internal structure ?

everything works great now 

http://www.bhcrangers.com/xlrstats-web-v3/1

  • Thanks 1

Share this post


Link to post
Share on other sites
On 12/15/2020 at 11:08 PM, flatsix said:

Hi 

Use the files from this Fork https://github.com/frasermolyneux/xlrstats-web-v3, works for us at http://stats.oghf.org.uk fixed lots of issues.

Cheers

Hi m8, just a heads up i noticed your using that cool cod4.php ? you have to edit the weapons names to their proper names, as on your stats pages they are showing the names for my custom weapons

ie

 'p90_acog_mp' => array('FELINE ACOG', 'description', 'weapon_p90.png'),

should be 

'p90_acog_mp' => array('P90 ACOG', 'description', 'weapon_p90.png'),   for stock weapons :)

Share this post


Link to post
Share on other sites

Cheers

Will do, just moved every thing to a new server and upgraded stuff. So still tweaking.

Thanks for the info.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this