Spuds / SMF-Member-Awards

Member Awards for SMF 2.0
Other
8 stars 8 forks source link

Critical error on log #25

Closed adidas0712 closed 10 years ago

adidas0712 commented 11 years ago

http://www.example.com/index.php?action=profile;area=showAwards;u=1Apply Filter: Only show the errors with the same messageThe database value you're trying to insert does not exist: groups Function: AwardsCountMembersAwardsApply Filter: Only show the errors from this file File: /home/example/public_html/Sources/AwardsSubs.php Line: 172

i dont know if this is the same with the previous issue that was posted but i edited the awardssubs but i got the same.

thanks

Spuds commented 11 years ago

Updated the awards.subs ... that should fix the problem, let me know

adidas0712 commented 11 years ago

thanks for the reply but i tried to reupload the new ones but i have the same error

and on my profile under awards if i click Show My Awards i got this

An Error Has Occurred! The database value you're trying to insert does not exist: groups

Spuds commented 11 years ago

Are you sure you got the latest file, the one from today? https://github.com/Spuds/SMF-Member-Awards/commit/f49df8bbd126ad9aa430353423a2dffe20a9b99e

adidas0712 commented 11 years ago

yes with this on line 169 'groups' => !empty($cur_profile['groups']) ? array_map('intval', $cur_profile['groups']) : '',

Spuds commented 11 years ago

That was yesterdays change ... please copy the entire file https://raw.github.com/Spuds/SMF-Member-Awards/f49df8bbd126ad9aa430353423a2dffe20a9b99e/AwardsSubs.php as there were several lines changes.

adidas0712 commented 11 years ago

i think i messed up i have this error Wrong value type sent to the database. Integer expected. (user)

i dont even updated from your reply 3hrs ago i only updated from the file 5hrs ago

adidas0712 commented 11 years ago

I think this makes the forum unaccessible, how can i fix it?

adidas0712 commented 11 years ago

any news about this

Spuds commented 11 years ago

No because I don't know what you did, you gave me an error with no indication of what file, line, action, etc and its not the same error that the issue was opened with.

adidas0712 commented 11 years ago

it sthe first error, on this issue

when i click the show awards on the profile An Error Has Occurred! The database value you're trying to insert does not exist: groups

then on the error log under critical

http://www.example.com/index.php?action=profile;area=showAwards;u=1Apply Filter: Only show the errors with the same messageThe database value you're trying to insert does not exist: groups Function: AwardsCountMembersAwardsApply Filter: Only show the errors from this file File: /home/example/public_html/Sources/AwardsSubs.php Line: 172