-
Notifications
You must be signed in to change notification settings - Fork 14
Bug - config.php does not load on windows #15
Comments
Apologies the code in master isn't particularly resilient to Windows web servers and I've not had a chance to test and update. In this file and line: https://github.com/alexcroox/R3-Web/blob/master/dist/inc/bootstrap.php#L7 Try changing to |
Dev server in question: http://149.56.106.43/aar/ Okay, so it seems we just get a white screen with However, with |
That link 500's, what do your web server error logs say? |
Im changing max execution time now to see if it changes anything. |
It's terrible advice and a horrible fix but you could temporarily add
to the top of that class. Sounds like it has a lot of events and missions to initially cache at once and is timing out. Adding that should give it the time to work it out all then cache the result (future reloads should be faster). |
That seems to have fixed it. Extremely weird. This is why I choose to stay away from php 🤐. Thanks a bunch alex and keep on with R3. It is invaluable. |
The issue here isn’t with php but my poorly thought out initial version of R3 :) That’s why in the rewrite branch I started with an established framework and a more scalable approach to data fetching. |
One more issue, as I believe it's in relation to this: All playbacks return a 404. Example: Specifically, it's pointing to a dir that doesn't exist for some raisin. Not sure why this would be. |
I don't know much about IIS but someone in Discord converted htaccess to webconfig(?)
|
Perfect. Now the replays just aren't playing due to timeout it seems. Waited about ~10minutes for this link to load to no avail: The only issue seems to be |
In your php config do you have |
Yes it does. |
We had problems with allow_url_fopen that was set false with our hosting provider, I resolved this by loading the json files via javascript on frontend
We also had problems with filenames in inc/classes/, they were lowercased via ftp upload. But we got it all working now, and it works great! |
Issue:
We've been using R3 for a year now and recently switched from a linux to a windows server. After installing new R3 files and new db's to the new server, the web interface is no longer working.
Versions:
Apache 2.4 from https://httpd.apache.org/
PHP7
Files:
Httpd.conf attached
PHP.ini attached
config.php attached
The text was updated successfully, but these errors were encountered: