开发者

Reece Calendar event

开发者 https://www.devze.com 2022-12-30 22:38 出处:网络
I have this problem with the script: Notice: Undefined index: show_times in C:\\wamp\\www\\ReeceCalendar_0.9\\cal\\gateke开发者_JAVA百科eper.phpon line 192

I have this problem with the script:

Notice: Undefined index: show_times in C:\wamp\www\ReeceCalendar_0.9\cal\gateke开发者_JAVA百科eper.php on line 192

Notice: Undefined index: hours_24 in C:\wamp\www\ReeceCalendar_0.9\cal\gatekeeper.php on line 194

Notice: Undefined index: start_monday in C:\wamp\www\ReeceCalendar_0.9\cal\gatekeeper.php on line 196

Notice: Undefined index: anon_naming in C:\wamp\www\ReeceCalendar_0.9\cal\gatekeeper.php on line 198

and the codes for each line are:

192: if($d['show_times']=='y') $cal_options['show_times'] = TRUE;

194: if($d['hours_24']=='y') $cal_options['hours_24'] = TRUE;

196: if($d['start_monday']=='y') $cal_options['start_monday'] = TRUE;

198: if($d['anon_naming']=='y') $cal_options['anon_naming'] = TRUE;

Please help me!Thnx


It seems that this code was written with notices turned off. If you don't want to rewrite the code you can decrease errors level. Put following line on beginning of script:

error_reporting (E_ALL & ~E_NOTICE);

or change php.ini:

error_reporting = E_ALL & ~E_NOTICE but this is not recommended as it will turn off notices for all your scripts.

You can read about PHP errors reporting levels here.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号