Helpful Information
 
 
Category: Advanced Warning System (AWS)
errormessages

John,

I just upgraded to 3.1.7 however the php parser if giving me two warnings when i try to issue a non post related warning


Warning missing argument 2 for check_post() in /includes/functions_warning.php on line 148

Warning missing argument 7 for warn_calculations() in /includes/functions_warning.php on line 166



i just upgraded 10 minutes ago so must likely i did something wrong :speechless: i'll get back to you if those warnings stay

rgds

EDIT
dear John,

in the latest Warn.php you have made a little mistake what's causing the warnings from the php parsers on line 158 pf Warn.php there is this code


check_post($_POST['post'], $warn_opts['multiple_per_post']));


that should be


check_post($_POST['post'], $warn_opts['multiple_per_post']);


there is one closing ")" to much that will cause a parse error you where out of coffee ? :nervous:

ok that srted out the warnings but there is another problem with the postbit templated i'll get back to you making a screengrab so you see what i mean

hi,

everything look oke now but after i issue a warning my postbit template is all messed up ? before => how it looks before i did a warning after = after the warning any idea what can cause that?

all running fine now except one more problem looks lile my postbit is messed anyy idea ??

Delphi,

The two issues are not related.

Sorry for the missed parenthesis.

As for your template problem, you just haven't edited the template properly. When the warn sign and the warning points appear, they mess it up. Make sure that the postbit template is edited in the suggested way.

Rgds

Delphi,

The two issues are not related.

Sorry for the missed parenthesis.

As for your template problem, you just haven't edited the template properly. When the warn sign and the warning points appear, they mess it up. Make sure that the postbit template is edited in the suggested way.

Rgds

yeah my postbit template whas edited to show the warn image but at the wrong place and that was causing the messing up anyway problem solved up and running fine

yeah my postbit template whas edited to show the warn image but at the wrong place and that was causing the messing up anyway problem solved up and running fine
Glad you got it solved.

Enjoy!










privacy (GDPR)