vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Advanced Warning System (AWS) (https://vborg.vbsupport.ru/forumdisplay.php?f=105)
-   -   Problem: Can't remove Warnings (https://vborg.vbsupport.ru/showthread.php?t=91379)

Milchi 06-30-2005 11:29 AM

Problem: Can't remove Warnings
 
If i try to remove a warning i get:

Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 1946

Why? :)

sv1cec 06-30-2005 03:12 PM

Which version are you running?

Milchi 06-30-2005 06:45 PM

Quote:

Originally Posted by sv1cec
Which version are you running?

3.4.13 from your mod
3.0.7 from forum

sv1cec 06-30-2005 07:14 PM

And are you trying to remove a warning from the Warn.php or from the AdminCP?

It's strange because the line you refer to, is the start of the construct_navbits function, and since this is called by several places, if there was a problem in functions.php, it should be apparent in other areas. If there was a problem in Warn.php, it wouldn't work and in my forums it works fine.

Milchi 07-01-2005 06:49 AM

Quote:

Originally Posted by sv1cec
And are you trying to remove a warning from the Warn.php or from the AdminCP?

It's strange because the line you refer to, is the start of the construct_navbits function, and since this is called by several places, if there was a problem in functions.php, it should be apparent in other areas. If there was a problem in Warn.php, it wouldn't work and in my forums it works fine.

Just a few minutes ago i tried to remove (and complete remove) a warning from admin panel, works smooth like it should.

But if i try to remove a warning from warn.php it didn't work....


UPDATE: Now it works from warn.php also .... hum?! Didn't changed anything ...

sv1cec 07-01-2005 07:05 AM

Milchi,

Those parts of AWS are stable long time ago, so either something else was affecting the hack, or I do not know what to say.

In any case, glad you have it working.

Rgds

Milchi 07-01-2005 07:06 AM

Quote:

Originally Posted by sv1cec
Milchi,

Those parts of AWS are stable long time ago, so either something else was affecting the hack, or I do not know what to say.

In any case, glad you have it working.

Rgds

I am the only one who has access to ftp files and admin panel so definitely noone could change something :)

Apart of this, nice hack and well done work :)

sv1cec 07-01-2005 07:14 AM

Ah, yes, but you may have changed something!!!

LoL, let me know if you have another issue.


All times are GMT. The time now is 07:34 AM.

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.01131 seconds
  • Memory Usage 1,723KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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