Uutiset:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu
Advertisement:

Visual Warning for 1.1 RC3 - FATAL ERROR - HELP

Aloittaja limo2005, elokuu 30, 2006, 12:24:04 IP

« edellinen - seuraava »

limo2005

SMF Version: SMF 1.1 RC3
Im a bit stuck now!  I installed the package Visual Warning 1.29 for RC1.1 3 downloaded through Packages.

Allpied Mod (Sucesfully downloaded and all that) and now I  get the following error!  :-*

Fatal error: Cannot redeclare autowarn() (previously declared in /home/sites/MYSITE.co.uk/public_html/forum/Sources/Security.php:198) in /home/sites/MYSITE.co.uk/public_html/forum/Sources/Security.php on line 252

Please would someone help me remove this as I cannot get access to the forum.  Can I just remove the files using FTP?

Thank you for your help!

Mickey

Mickey
I dunno!

limo2005

RESOLVED -   Deleted the Code from line 198 upto the new code on line 252.

Did the trick but I am left with a Missing Icon.



Any ideas what I should do to add "An image" where it should be?

Thanks in advance

Mickey

I dunno!

J. Williams

Make an image, and call it warn.gif I would think; the theme also looks like it has problems :D
Joshua Jon Williams
Back in Action.

limo2005

Lainaus käyttäjältä: J J Williams - elokuu 30, 2006, 12:48:19 IP
Make an image, and call it warn.gif I would think; the theme also looks like it has problems :D

Thanks! I have an image called Warn.gif in Images where the other images are. Exactly what I thought! But somehow its not there!  No worries, I'll find it!  ::)

The theme is Ok as far as one can tell! But do you think so? If so? Where?

Cheers

Mickey
I dunno!

limo2005

Last night and this morning all was working fine http://nothappylq.co.uk!  Then I start to get this :

LainaaFatal error: Call to undefined function: autowarn() in /home/sites/nothappylq.co.uk/public_html/forum/index.php on line 164

when i click on FORUM!

Lainaa// Do some logging, unless this is an attachment, avatar, theme option or XML feed.
   if (empty($_REQUEST['action']) || !in_array($_REQUEST['action'], array('dlattach', 'jsoption', '.xml')))
   {
      // Log this user as online.
      writeLog();

      // Check if time to run visual warning update
      if ($modSettings['autoWarningTime'] < time())
         autoWarn(); <----------------------------------- LINE 164

      // Track forum statistics and hits...?
      if (!empty($modSettings['hitStats']))
         trackStats(array('hits' => '+'));
   }

   // Is the forum in maintenance mode? (doesn't apply to administrators.)
   if (!empty($maintenance) && !allowedTo('admin_forum'))

Any suggestions how I sort this out or where I would start?

Thanks for your time!

Mickey
I dunno!

Advertisement: