Ulysses Stuff > Releases
ULX log viewer
Decicus:
--- Quote from: hubbabubbagum on January 07, 2015, 10:27:34 PM ---I have tried multiple paths to get this to work, but my efforts have been fruitless.
I keep getting
--- Code: ---Parse error: syntax error, unexpected '$path' (T_VARIABLE) in /usr/www/ccaot/public/ULXLogviewer-master/config.php on line 10
--- End code ---
My log folder is located in "public/serverlogs" and my host is NFOservers
My config looks like:
--- Code: ---<?php
// Here you set your FTP information
$host = "hosted29.nfoservers.com";
$user = "*******";
$password = "******";
$port = "27015"; // Default 21, some hosts have different
$passiveftp = "0" // 1 = Yes , 0 = No, Default 0. Try enabling this if it fails to show directory
// Log Directory
$path = "/public/serverlogs/";
// Other
$community = "Server Logs";
?>
--- End code ---
What am I doing wrong? Any help would be appreciated.
--- End quote ---
You're missing a semicolon after:
--- Code: ---$passiveftp = "0"
--- End code ---
It should look like this:
--- Code: ---$passiveftp = "0"; // 1 = Yes , 0 = No, Default 0. Try enabling this if it fails to show directory
--- End code ---
hubbabubbagum:
--- Quote from: Decicus on January 08, 2015, 04:30:56 AM ---You're missing a semicolon after:
--- Code: ---$passiveftp = "0"
--- End code ---
It should look like this:
--- Code: ---$passiveftp = "0"; // 1 = Yes , 0 = No, Default 0. Try enabling this if it fails to show directory
--- End code ---
--- End quote ---
Oh god, I feel quite stupid now. Thank you for catching that. I must've deleted that by accident.
iViscosity:
Sorry for this being very old, but I've tried to fix this myself a bunch of times but I just can't.
--- Code: ---<?php
// Here you set your FTP information
$host = "****";
$user = "****";
$password = "****";
$port = "21"; // Default 21, some hosts have different
$passiveftp = "1"; // 1 = Yes , 0 = No, Default 0. Try enabling this if it fails to show directory
// Log Directory
$path = '72.5.102.25_27015/garrysmod/data/';
// Other
$community = "Iodine Gaming";
?>
--- End code ---
Every time I load up the logs.iodinegaming.com I get:
--- Code: ---Warning: ftp_chdir(): The system cannot find the path specified. in /usr/www/iodinegaming/logs/index.php on line 68
Couldn't access log folder
--- End code ---
I've tried:
Changing $host (and $password respectively)
Chaning $port
Changing $passiveftp
Chaning $path first param (IP)
and nothing has worked. I really want to get this working, and again sorry for this being really old.
Also, I'd like to point out that my gameserver and webserver are on two different FTPs, if that affects anything.
An Error Has Occurred!
array_keys(): Argument #1 ($array) must be of type array, null given
[0] Board index
Go to full version