VM LiveView Lite for rFactor & rFactor2

everything seems correct, but web page "almost" blank
What could it be?
 

Attachments

  • server2.jpg
    server2.jpg
    835.6 KB · Views: 856
  • server.jpg
    server.jpg
    289.7 KB · Views: 974
how did you solve the php problem?
What kind of Problem with PHP do you have?
Sometimes it's only the Server that has updated the used PHP Version.
Check that and if that is the Case, you can adapt the VL Lifeview Lite Files to the new PHP Version or maybe the Server offers the Possibility to switch back to an older PHP Version.
 
Hi guys.

I hope this plugin still have some kind of support.
I managed to run the plugin. All the communication between plugin, server and mysql is OK. The problem is from web-based side, where I can't manage to run that thing properly. I mean, web pages are displayed but looks like CSS can't be loaded or it's missing. Can't get mapview on the track and trackdata page as well. Things like that. All the pages looked like a plain text and nothing else.

From Devs Console I have these errors:

Blocked loading mixed active content "http://xxx/xxx/live/htdocs/vmliveview/styles.css"
track.php
Blocked loading mixed active content "http://xxx/xxx/live/htdocs/vmliveview/css.errors.js"
track.php
Blocked loading mixed active content "http://xxx/xxx/live/htdocs/vmliveview/css.trackdata.js"
track.php
Blocked loading mixed active content "http://xxx/xxx/live/htdocs/vmliveview/styles.css"
track.php
Blocked loading mixed active content "http://xxx/xxx/live/htdocs/vmliveview/css.errors.js"
track.php
Loading failed for the <script> with source “http://xxx/xxx/live/htdocs/vmliveview/css.errors.js”. track.php:16:1
Blocked loading mixed active content "http://xxx/xxx/live/htdocs/vmliveview/css.trackdata.js"
track.php
Loading failed for the <script> with source “http://xxx/xxx/live/htdocs/vmliveview/css.trackdata.js”. track.php:24:1
ReferenceError: requestStatus is not defined

Website is running on SSL (httpS) and looks like the plugin is trying to reach css, js, etc over httP.

Please help. :)
 
What kind of Problem with PHP do you have?
Sometimes it's only the Server that has updated the used PHP Version.
Check that and if that is the Case, you can adapt the VL Lifeview Lite Files to the new PHP Version or maybe the Server offers the Possibility to switch back to an older PHP Version.

Hello, what is the recommended PHP version?
 
Hello, what is the recommended PHP version?
The last Time i did use VM LiveView Lite was some Years ago and i did use php 5.5 when i remember it right.
I would recommend a newer php Version, but if you can use 5.5, you can use that, to check if it still works and if it works, try to get it working with a newer php Version.
 
Hello. Last php version is 8.X ...
I think it is a big gap from 5.X. It will probably need a few modifications.
Maybe i will give it a try and see if it works.
Best options is to use some old Wamp on php5 and try it.
I already revived another livetiming and it was still working without any modifications.
https://github.com/mbeader/rf2livetiming
This one is a lot more portable and modern, using node.
Running example here : http://rf2.dedicated.danrazor.net:8080/

And i can't test it, but it will probably work on Le Mans Ultimate if we get the dedicated server.
 
Last edited:
......I think it is a big gap from 5.X. It will probably need a few modifications......
Not necessarily.
I made my online Tools when Version 5 was the latest Version and it wasn't difficult/much to do, to get them working with 6-8 too.
I think that one Problem could be, that the Plugins aren't working anymore.
Frank did update them several Times, when the rF2 Build got Updates.
But i haven't tested it.
 
Hello. Last php version is 8.X ...
I think it is a big gap from 5.X. It will probably need a few modifications.
Maybe i will give it a try and see if it works.
Best options is to use some old Wamp on php5 and try it.
I already revived another livetiming and it was still working without any modifications.
https://github.com/mbeader/rf2livetiming
This one is a lot more portable and modern, using node.
Running example here : http://rf2.dedicated.danrazor.net:8080/

And i can't test it, but it will probably work on Le Mans Ultimate if we get the dedicated server.

Thank you DanRZ, it looks cool. I am testing it but browser shows "no active server" in the upper left corner, so it seems there is a problem in the communication between plugin and application. Both rF2 and LiveTiming are in the same server, and I have run rf2 server after nodejs. In rf2livetiming.ini is set destination ip 127.0.0.1 and destination port 6789 (default). In the other hand, config/index.js looks like this:

HTTP_LISTEN_PORT: 88, // port to listen for HTTP clients
RF2_LISTEN_PORT: 6789, // port to which the rF2 plugin sends data
RF2_SRC_ADDR: '127.0.0.1', // IP address of rF2 server
IPV4_LOOPBACK: '127.0.0.1', // if loopback IP for some reason is different, change this
RF2_PUBLIC_ADDR: 'AAA.BBB.CCC.DDD' // public IP of rF2 server for join link

So plugin is sending data to port 6789 and application is listening at 6789. Where am I wrong?
 
I think plugin is not working, because creator sais in his github that log is stored in UserData\Log\rf2livetiming.log, but in my case nothing is writing there. And I have tested in powershell ports that are listening (Get-NetTCPConnection) and nobody is listening at 6789. I have put this in CustomPluginVariables.json, but with no changes:
Code:
"rf2livetiming.dll":{
    " Enabled":1
  }
 
Thanks for share this.
By me, it don't work on a local machine.
Node is starting and shows the Webside
View attachment upload_2024-3-22_8-14-40.png

and the node window
View attachment upload_2024-3-22_8-15-12.png

Daytona is not on the rF2 Dedicated Server!
Firewall is open, but we are in localhost Mode with 127.0.0.1
Config

module.exports = {
HTTP_LISTEN_PORT: 8080, // port to listen for HTTP clients
RF2_LISTEN_PORT: 6789, // port to which the rF2 plugin sends data
RF2_SRC_ADDR: '127.0.0.1', // IP address of rF2 server
IPV4_LOOPBACK: '127.0.0.1', // if loopback IP for some reason is different, change this
RF2_PUBLIC_ADDR: 'aa.bb.cc.dd' // public IP of rF2 server for join link
};

rF2livetiming.ini

USE LOCALHOST="1"
DEST IP="127.0.0.1"
DEST PORT="6789"
SEND RESULTS="1"

Has anybody an idea please?
Thank you



EDIT
I check the custom Plugin setting, the Plugin was off grrrr
But if i makes on, the node is closing.

"rf2livetiming.dll":{
" Enabled":1
}
 
Last edited:
Ok news
After i take the Package from Github and install onesmore and copy your new compiled dll in rF2, the node is now running!
Only the map und the db can't found for my track.

How can i fix this one please?
 
Back
Top