Wedge
Public area => Bug reports => The Pub => Archived fixes => Topic started by: madfitz on February 19th, 2014, 09:11 PM
-
As I was about to FTP the latest files I noticed the error.log file with entries dated today and yesterday. I deleted the log and uploaded the new files and the error.log has been rewritten.
[19-Feb-2014 15:04:59 America/New_York] PHP Notice: Use of undefined constant SCRIPT - assumed 'SCRIPT' in /home/me/public_html/mydomain/gz/app/Subs.php on line 1107
It's the same error that I previously deleted. Honestly, I have no idea what it means or what (if any) problem it could cause - I haven't noticed any issues!
Anyway, there it is... :)
-
This would happen if redirectexit() was called before we::getInstance() in index.php... Any reasons for this to happen?
I could store $scripturl somewhere safe and only call it there, but.. Sounds kinda boring!
-
LOL you're talking another language!
But seriously... does "boring" matter if it eliminates the error? Would the boring method adversely effect anything else?
Edit: Not sure if things will correct themselves but up there ^ says this post, Reply #2, was made 61 minutes ago - it was actually just 1 minute ago.
-
- Just let me know if the error shows up again, because I fixed a related issue sometime ago, maybe before you updated, etc.
- Hmmmmm... A timezone problem? Normally, JavaScript should be able to calculate the proper zone..?
-
Hmmm... well it *was* there *after* yesterday's updates were applied - but it hasn't reoccurred today.
What I am seeing now is: PHP Parse error: syntax error, unexpected ')' in .../app/Register.php on line 271
But that would be a whole new bug report!
Edit: I see Register.php is updated in the latest commit so scrub that :eheh: