vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Advanced Warning System (AWS) (https://vborg.vbsupport.ru/forumdisplay.php?f=105)
-   -   errormessages (https://vborg.vbsupport.ru/showthread.php?t=76153)

Delphiprogrammi 02-11-2005 08:48 PM

errormessages
 
1 Attachment(s)
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

Code:

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

PHP Code:

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

that should be

PHP Code:

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 ??

sv1cec 02-12-2005 05:10 AM

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

Delphiprogrammi 02-12-2005 10:32 AM

1 Attachment(s)
Quote:

Originally Posted by sv1cec
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

sv1cec 02-12-2005 11:14 AM

Quote:

Originally Posted by Delphiprogrammi
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!


All times are GMT. The time now is 05:36 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01088 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete