madfitz

  • Elite Class Non Coder
  • Posts: 97
Subs.php
« 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... :)

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Subs.php
« Reply #1, on February 20th, 2014, 12:40 AM »
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!

madfitz

  • Elite Class Non Coder
  • Posts: 97
Re: Subs.php
« Reply #2, on February 20th, 2014, 10:10 AM »
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.

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Subs.php
« Reply #3, on February 20th, 2014, 01:29 PM »
- 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..?

madfitz

  • Elite Class Non Coder
  • Posts: 97
Re: Subs.php
« Reply #4, on February 20th, 2014, 02:01 PM »
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: