Wedge

Public area => Bug reports => The Pub => Archived fixes => Topic started by: CerealGuy on March 23rd, 2014, 02:19 PM

Title: Undefined index & Undefined Constant
Post by: CerealGuy on March 23rd, 2014, 02:19 PM
Looks like this commit:
https://github.com/Wedge/wedge/commit/8da1e8078ffc9345e4b5213945bc33215d20ef38

Throws some errors.
8: Use of undefined constant AJAX - assumed 'AJAX'
8: Use of undefined constant SKINS_DIR - assumed 'SKINS_DIR'
8: Use of undefined constant TEMPLATES_DIR - assumed 'TEMPLATES_DIR'

Im sure there are more but looks like a general problem.

Aaaand theres another but looks a bit different:
url: xxx/index.php?action=notification;sa=unread
Kann das "Errors" Template nicht laden.
Title: Re: Undefined index & Undefined Constant
Post by: Nao on March 23rd, 2014, 02:25 PM
Sorry, I'm right in the middle of converting all path variables into constants. Which is why you're getting errors. I should have specified Wedge would be entering a short period of instability.
Title: Re: Undefined index & Undefined Constant
Post by: CerealGuy on March 26th, 2014, 11:27 PM
http://wedge.org/profile/Nao/


Notice: Undefined index: notifications_all in /home/sxxxxxxxxxxxxxxxxx/wedge/gz/app/Profile.php on line 194

Notice: Undefined index: notifications_general in /home/sxxxxxxxxxxxxx/wedge/gz/app/Profile.php on line 198

Notice: Undefined index: notifications_posts in /home/sxxxxxxxxxxxxxxxxxx/wedge/gz/app/Profile.php on line 199
Title: Re: Undefined index & Undefined Constant
Post by: Nao on March 26th, 2014, 11:32 PM
I was in the process of uploading the new files... ;)

I've seen flushed the cache, so this shouldn't show up again.

Are you stalking me, so you can ninja every single one of my commits and updates? :lol: