Crëscendø
Veteran Member
Posts: 3,168
| Likes: 1,254
|
Post by Crëscendø on Aug 5, 2017 23:19:07 GMT
I have installed XAMPP and ran Apache- as well as MySQL. I've created a database named "log_users" and imported the SQL file into the database. After setting up the MySQL database- I dragged the PHP files into a folder in my htdocs folder in C:\XAMPP (I also edited index.php and mysql_settings.php). When I try to use the log viewer it shows a solid screen and the reload button doesn't work. Any fix?
|
|
Madgeek
Veteran Member
Steven Lawson
Posts: 2,674
| Likes: 1,460
|
Post by Madgeek on Aug 5, 2017 23:29:24 GMT
open the pull logs.php file in a browser and look at the source code view - see if you see any errors.
|
|
Crëscendø
Veteran Member
Posts: 3,168
| Likes: 1,254
|
Post by Crëscendø on Aug 5, 2017 23:39:00 GMT
open the pull logs.php file in a browser and look at the source code view - see if you see any errors. No errors as of currently- I'll see if I find any and I will let you know. <br />
<b>Notice</b>: Undefined index: application in <b>C:\xampp\htdocs\TFLogViewer\pull_log.php</b> on line <b>25</b><br />
<p>You must log in to access the logviewer data.</p>
<form id="frm_login" name="frm_login" action="index.php" method="post">
<input name="mode" type="hidden" value="doLogin" />
<table width="300" border="0" cellspacing="2" cellpadding="2">
<tr>
<td><label for="frm_password">Password:</label></td>
<td><input name="frm_password" id="frm_password" type="password" /></td>
</tr>
</table>
<input name="login" type="submit" value="Log In" />
</form>
EDIT: Once I typed in the incorrect password just to check- and I try accessing it, it prompts me with this:
|
|
rylie.
Veteran Member
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Posts: 3,932
| Likes: 5,664
IGN: breedingslave/breedme
Old IGN: Typhlosion147
Discord: Xeoda#2839
Birthdate (MM/DD): 04/26
Timezone: UTC-05:00
|
Post by rylie. on Aug 6, 2017 0:11:46 GMT
open the pull logs.php file in a browser and look at the source code view - see if you see any errors. No errors as of currently- I'll see if I find any and I will let you know. <br />
<b>Notice</b>: Undefined index: application in <b>C:\xampp\htdocs\TFLogViewer\pull_log.php</b> on line <b>25</b><br />
<p>You must log in to access the logviewer data.</p>
<form id="frm_login" name="frm_login" action="index.php" method="post">
<input name="mode" type="hidden" value="doLogin" />
<table width="300" border="0" cellspacing="2" cellpadding="2">
<tr>
<td><label for="frm_password">Password:</label></td>
<td><input name="frm_password" id="frm_password" type="password" /></td>
</tr>
</table>
<input name="login" type="submit" value="Log In" />
</form>
EDIT: Once I typed in the incorrect password just to check- and I try accessing it, it prompts me with this: You've got to be running a TFM-based server first. The TFM itself comes with logviewer configuration stuff as well.
|
|
Madgeek
Veteran Member
Steven Lawson
Posts: 2,674
| Likes: 1,460
|
Post by Madgeek on Aug 6, 2017 0:15:00 GMT
Crëscendø Which version of TFM are you running? The current "devel" branch of TFM isn't compatible with the old logviewer (and I've got that on my to-do list to update the logviewer repo).
|
|
Crëscendø
Veteran Member
Posts: 3,168
| Likes: 1,254
|
Post by Crëscendø on Aug 6, 2017 0:31:23 GMT
Crëscendø Which version of TFM are you running? The current "devel" branch of TFM isn't compatible with the old logviewer (and I've got that on my to-do list to update the logviewer repo). I didn't connect the TFM server yet- and I'm not using the devel branch. Some configurations were left empty- but I just wanted to troubleshoot some things before I started connected it to the HTTPD. Also, is the FTP link required?
|
|
Madgeek
Veteran Member
Steven Lawson
Posts: 2,674
| Likes: 1,460
|
Post by Madgeek on Aug 6, 2017 0:36:44 GMT
Crëscendø Which version of TFM are you running? The current "devel" branch of TFM isn't compatible with the old logviewer (and I've got that on my to-do list to update the logviewer repo). I didn't connect the TFM server yet- and I'm not using the devel branch. Some configurations were left empty- but I just wanted to troubleshoot some things before I started connected it to the HTTPD. Also, is the FTP link required? FTP isn't required, and I took that out of the latest version. If the logviewer http server is hosted on the same machine as the minecraft server you could actually make it much quicker by loading the file directly. But you probably need to serve *something* that looks like a log file so the logviewer can retrieve it if you're just testing.
|
|
Crëscendø
Veteran Member
Posts: 3,168
| Likes: 1,254
|
Post by Crëscendø on Sept 28, 2017 23:27:13 GMT
I attempted to connect my localhosted server to the logviewer, and when I try to connect to the logviewer- it's still frozen.
I'm currently using the 1.11 Branch to connect to the logviewer.
|
|