PDA

View Full Version : Php_psio Problems -


ButtersRugby
03-06-2004, 09:39 PM
226-Parse error: parse error, unexpected '*' in D:\ioFTPD\php_psio\config.php on line 36

i get this error everytime someone uploads a file.
I opened the config into word and line 36 is

$group_dirs = "";

I dont know what the problem is. I deleted what was there becuase i have no group needs.

If anyone can help that would be great.


And yes im registered.

Mouton
03-06-2004, 09:45 PM
if u paste line 30 to 40 of config.php, i could probably point the error.

ButtersRugby
03-06-2004, 09:48 PM
Originally posted by Mouton
if u paste line 30 to 40 of config.php, i could probably point the error.

$ioftpd_log = "d:\\ioftpd\\logs\\ioftpd.log";
$group_dirs = "";
$zip_dirs = "/Incoming/SVCD/ /Incoming/VCD";
$sfv_dirs = "/Request/ /Incoming/Music_Vids/ /Incoming/VCD/ /Incoming/SVCD/ /Incoming/Games/ /Incoming/Apps/";
*/
*/
$nocheck_dirs = "/Incoming/Audio/Sorted.by.Day/";

/* This defines section cookie , its case-sensitive
*/
$sections = "MP3 VCD SVCD GAMES APPS Music_Vids REQUEST";
$section["MP3"] = /Incoming/Audio/Sorted.by.Day/";
$section["VCD"] = "/Incoming/VCD/";
$section["SVCD"] = "/Incoming/SVCD/";
$section["Music_Vids"] = "/Incoming/Music_Vids/";
$section["GAMES"] = "/Incoming/Games/";
$section["APPS"] = "/Incoming/Apps/";
$section["REQUEST"] = "/Request/";


There is a bunch from the Config.
When i posted what i had for 36 , that was according to MS Word. I dont know if that is really the line 36 it is referring to. Does the debug count the lines that are commented out towards its number or no? Jus a side q.

Mouton
03-06-2004, 10:17 PM
*/
*/

those are end of comments...
u need a start of comment /* to go with it...
probably removing one of the two would fix it. or both if u got no start of comment higher....