Code: Select all
//**********************************
//GET FORUM USERNAME
//******************************It had "//*" originally so I put a space in there but that did not solve the problem either.
I will just run that part of the script on its own to see if it messes up..
EDIT:
Works on its own. Do not get it.
Could be because that particular file is included from another file. Maybe php just does not like REM stuff on the start of a include file.. god knows.
EDIT2:
Nope, not the include either.
will have to just put it down to another screwy fault which makes no sense.
EDIT3:
Just to clarify line 3 had a missing slash to start with, which was the original cause of the error. And when I uploaded the fixed file, the error remained in the store, BUT the error in the log did not appear again..
I even refreshed the page multiple times because I know the error log does not always update in real-time and it takes a few lines before it is actually written to the error log file, but even so, the error never showed up again in the logs. It normally shows up after two or three lines in general. It is when I just dumped the V2 file on the server instead, and it worked again. I did wonder if it was a evil browser caching issue, but as far as I know it should not be caching php scripts. I did hold various keys down refreshing the page did not help either.
EDIT4:
oh I did delete the problematic file The server and re-upload from the "problem file" again just to make sure it was actually uploading properly.. In case someone things I had the wrong folder selected on the server, I dragged and dropped the V2 file in the same window, so it was definitely being uploaded onto the correct server path and being written.
Even so, the V3 file error was not logged in the error log file at any put after adding the extra slash or adding the spaces after the slashes.
