User | Post |
Elric
Posts: 518/687 |
I made that change, then started the server up, and still got those error messages. The server wasn't running at the time I modified php.ini.
Also, now when I log in, it says I'm logged in, then takes me to the index page with me as a guest, and not logged in and a guest. Yar.
My friend is running, umm... I think it's PHPTriad, and everything seemed to work fine there, so I think I may just switch to that... |
Cellar Dweller
Posts: 247/269 |
You may need to restart Apache to get the configuration file reloaded if EasyPHP uses the PHP Apache module.
The notice errors are to warn about possible misspelled variable names or bad coding style. In the case of AcmlmBoard the reason those errors appear is that AcmlmBoard is designed to use register_gloabals, and that appears to the PHP interpreter as the use of undefined variables. Also, AcmlmBoard uses unquoted strings(barewords) as array subscripts, which is considered bad style and my not work in future versions of PHP.
EDIT: neotransotaku: AcmlmBoard detects if register_globals is off and emulates register_globals if needed. |
neotransotaku
Posts: 3869/4016 |
maybe you need to tweak the register globals option of PHP? |
HyperLamer
Posts: 6939/8210 |
Changing that will stop it from showing you minor error messages, but it won't fix the code/configuration. |
Elric
Posts: 516/687 |
Ah. The default setting for EasyPHP is E_ALL.
And won't the errors still be happening, just not showing?
Edit: I changed it, and I still get those errors... |
Cellar Dweller
Posts: 246/269 |
The default setting is "E_ALL & ~E_NOTICE ". You can set it to that, or you can just delete or comment out the line. |
Elric
Posts: 515/687 |
Currently, it's set to E_ALL. What should I change it to? |
Cellar Dweller
Posts: 245/269 |
Try looking for php.ini and adjusting the error_reporting option. Disabling E_NOTICE errors should make the messages stop. |
Elric
Posts: 513/687 |
HyperHacker: I get errors with other boards too. Even TBB gave me errors along those same lines.
neotransotaku: They are installed locally. And I was using localhost. That's pretty much the point of EasyPHP. |
neotransotaku
Posts: 3866/4016 |
one thing i wonder is--why don't you install mysql/php/apache locally? and use 'localhost' to access those components... |
HyperLamer
Posts: 6922/8210 |
Use a board whose code isn't so crappy? |
Elric
Posts: 510/687 |
I installed EasyPHP so that I can do PHP and AcmlmBoard dev stuff without having to be online or worry about messing up my board.
For some reason, when I try to set up a local AcmlmBoard v1.92, I get a mess of errors about undefined vars and constants, like this:
Notice: Undefined variable: id in \www\board\lib\function.php on line 3 Notice: Use of undefined constant sec - assumed 'sec' in \www\board\lib\function.php on line 4 Notice: Use of undefined constant usec - assumed 'usec' in \www\board\lib\function.php on line 4 Notice: Undefined variable: loguserid in \www\board\lib\function.php on line 15 Notice: Undefined variable: loguserid in \www\board\lib\function.php on line 25 Notice: Use of undefined constant powerlevel - assumed 'powerlevel' in \www\board\lib\function.php on line 33 Notice: Use of undefined constant signsep - assumed 'signsep' in \www\board\lib\function.php on line 34 Notice: Use of undefined constant powerlevel - assumed 'powerlevel' in \www\board\lib\function.php on line 37 Notice: Undefined variable: windowtitle in \www\board\lib\layout.php on line 3 Notice: Undefined variable: scheme in \www\board\colors.php on line 20 Notice: Undefined variable: race in \www\board\lib\function.php on line 363 Notice: Use of undefined constant c - assumed 'c' in \www\board\lib\layout.php on line 14 Notice: Use of undefined constant h - assumed 'h' in \www\board\lib\layout.php on line 14 Notice: Use of undefined constant s - assumed 's' in \www\board\lib\layout.php on line 18 Notice: Use of undefined constant t - assumed 't' in \www\board\lib\layout.php on line 19 Notice: Use of undefined constant l - assumed 'l' in \www\board\lib\layout.php on line 20 Notice: Use of undefined constant r - assumed 'r' in \www\board\lib\layout.php on line 21 Notice: Use of undefined constant ls - assumed 'ls' in \www\board\lib\layout.php on line 22 Notice: Use of undefined constant lt - assumed 'lt' in \www\board\lib\layout.php on line 23 Notice: Use of undefined constant rs - assumed 'rs' in \www\board\lib\layout.php on line 24 Notice: Use of undefined constant rt - assumed 'rt' in \www\board\lib\layout.php on line 25 Notice: Use of undefined constant s - assumed 's' in \www\board\lib\layout.php on line 18 Notice: Use of undefined constant t - assumed 't' in \www\board\lib\layout.php on line 19 Notice: Use of undefined constant l - assumed 'l' in \www\board\lib\layout.php on line 20 Notice: Use of undefined constant r - assumed 'r' in \www\board\lib\layout.php on line 21 Notice: Use of undefined constant ls - assumed 'ls' in \www\board\lib\layout.php on line 22 Notice: Use of undefined constant lt - assumed 'lt' in \www\board\lib\layout.php on line 23 Notice: Use of undefined constant rs - assumed 'rs' in \www\board\lib\layout.php on line 24 Notice: Use of undefined constant rt - assumed 'rt' in \www\board\lib\layout.php on line 25 Notice: Use of undefined constant s - assumed 's' in \www\board\lib\layout.php on line 18 Notice: Use of undefined constant t - assumed 't' in \www\board\lib\layout.php on line 19 Notice: Use of undefined constant l - assumed 'l' in \www\board\lib\layout.php on line 20 Notice: Use of undefined constant r - assumed 'r' in \www\board\lib\layout.php on line 21 Notice: Use of undefined constant ls - assumed 'ls' in \www\board\lib\layout.php on line 22 Notice: Use of undefined constant lt - assumed 'lt' in \www\board\lib\layout.php on line 23 Notice: Use of undefined constant rs - assumed 'rs' in \www\board\lib\layout.php on line 24 Notice: Use of undefined constant rt - assumed 'rt' in \www\board\lib\layout.php on line 25 Notice: Use of undefined constant s - assumed 's' in \www\board\lib\layout.php on line 18 Notice: Use of undefined constant t - assumed 't' in \www\board\lib\layout.php on line 19 Notice: Use of undefined constant l - assumed 'l' in \www\board\lib\layout.php on line 20 Notice: Use of undefined constant r - assumed 'r' in \www\board\lib\layout.php on line 21 Notice: Use of undefined constant ls - assumed 'ls' in \www\board\lib\layout.php on line 22 Notice: Use of undefined constant lt - assumed 'lt' in \www\board\lib\layout.php on line 23 Notice: Use of undefined constant rs - assumed 'rs' in \www\board\lib\layout.php on line 24 Notice: Use of undefined constant rt - assumed 'rt' in \www\board\lib\layout.php on line 25 Notice: Undefined variable: scr3 in \www\board\lib\layout.php on line 48 Notice: Undefined variable: scr7 in \www\board\lib\layout.php on line 49 Notice: Undefined variable: scr6 in \www\board\lib\layout.php on line 50 Notice: Undefined variable: scr2 in \www\board\lib\layout.php on line 51 Notice: Undefined variable: scr1 in \www\board\lib\layout.php on line 52 Notice: Undefined variable: scr4 in \www\board\lib\layout.php on line 53 Notice: Undefined variable: scr5 in \www\board\lib\layout.php on line 54 Notice: Undefined variable: formcss in \www\board\lib\layout.php on line 72 Notice: Use of undefined constant u - assumed 'u' in \www\board\lib\layout.php on line 119 Notice: Use of undefined constant t - assumed 't' in \www\board\lib\layout.php on line 120 Notice: Use of undefined constant p - assumed 'p' in \www\board\lib\layout.php on line 121 Notice: Undefined variable: tzoff in \www\board\lib\layout.php on line 139 Notice: Undefined variable: HTTP_REFERER in \www\board\lib\layout.php on line 145 Notice: Undefined variable: ipbanned in \www\board\lib\layout.php on line 152 Notice: Undefined variable: affiliatelinks in \www\board\lib\layout.php on line 175 Notice: Undefined variable: ipbanned in \www\board\lib\layout.php on line 176 Notice: Undefined variable: postread in \www\board\lib\function.php on line 58 Notice: Undefined variable: onlineusers in \www\board\index.php on line 27 Notice: Undefined variable: action in \www\board\index.php on line 32 Notice: Undefined variable: action in \www\board\index.php on line 37 Notice: Use of undefined constant d - assumed 'd' in \www\board\index.php on line 43 Notice: Use of undefined constant h - assumed 'h' in \www\board\index.php on line 44 Notice: Use of undefined constant d - assumed 'd' in \www\board\index.php on line 47 Notice: Use of undefined constant maxpostsday - assumed 'maxpostsday' in \www\board\index.php on line 47 Notice: Use of undefined constant h - assumed 'h' in \www\board\index.php on line 48 Notice: Use of undefined constant maxpostshour - assumed 'maxpostshour' in \www\board\index.php on line 48 Notice: Use of undefined constant maxusers - assumed 'maxusers' in \www\board\index.php on line 49 Notice: Use of undefined constant sex - assumed 'sex' in \www\board\index.php on line 50 Notice: Use of undefined constant powerlevel - assumed 'powerlevel' in \www\board\index.php on line 50 Notice: Undefined index: in \www\board\lib\function.php on line 330 Notice: Undefined variable: logmsg in \www\board\index.php on line 53 Notice: Undefined variable: blist in \www\board\index.php on line 54 Notice: Undefined variable: onlineusers in \www\board\index.php on line 56 Notice: Undefined variable: privatebox in \www\board\index.php on line 127 Notice: Use of undefined constant sec - assumed 'sec' in \www\board\lib\function.php on line 103 Notice: Use of undefined constant usec - assumed 'usec' in \www\board\lib\function.php on line 103 Notice: Undefined variable: smallfont in \www\board\lib\function.php on line 104
When I register, there's more of those. Then it takes me to FAQ, which, except for the errors, seems to work fine. When I log in, it says I'm logged in, but then the index page shows me as logged in and as a guest, and I have the guest menu stuff. No edit profile, or the like.
Anyone have any clues as to what I need to do to fix this? |