PDA

View Full Version : Problem: Can't remove Warnings


Milchi
06-30-2005, 11:29 AM
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
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
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
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.