News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Vote error and Mobile PM error

Started by aED, March 03, 2009, 05:45:59 AM

Previous topic - Next topic

aED

Hi I found these errors in my logs do you know what is causing these error

Quote
Type of error: Undefined
www.domain/index.php?topic=1313.0
8: Undefined index: allow_return_vote
File: /home/user/public_html/Themes/babylon/Display.template.php (main sub template - eval?)
Line: 88

and these

Quotewww.domain/index.php?action=pm;sa=addbuddy;u=113;imode
Wrong value type sent to the database. Array of integers expected. (buddy_list)
Function: WirelessAddBuddy
File: /home/user/public_html/Sources/PersonalMessage.php
Line: 2222


Thanks

karlbenson

For the allow_return_vote, its a bug in smf 2.x

I've fixed in the svn for classic and babylon.

Themes/{theme}/Display.template.php in both themes
FIND
if ($context['poll']['allow_return_vote'])

Change to
if ($context['allow_return_vote'])

I'm not sure about the second one atm, are you using any mods?

Advertisement: