*

Recent

Author Topic: V2.0rc3 admin error  (Read 2643 times)

goldenone

  • Newbie
  • *
  • Posts: 1
  • Force: +0/-0
V2.0rc3 admin error
« on: December 31, 2009, 08:37:42 PM »
hi... i am new here so hello

but thats not why i made this post. this post if for the admin really.
so... anyway i found a bug in the admin part of the script that makes it so you cant edit settings...
i know the reason so i will say in a min but just so you know i am using "V2.0rc3"
the error is that when you do stuff like this:
Code: [Select]
mysql_query("UPDATE dd_games SET name='".$name."',
description='".$desc."',
width='".$width."',
height='".$height."',
category='".$category."',
thumburl='".$thumburl."',
enabledcode='".$enabledcode."'
active='".$active."',
tags='".$tags."',
        sponsor='".$sponsor."',
        sponsornotes='".$sponsornotes."',
        sponsoractive='".$sponsoractive."',
        ads1='".$ads1."',
        ads2='".$ads2."',
                    ads3='".$ads3."',
          headerspace='".$headerspace."',
        footerspace='".$footerspace."',
        abovegames='".$abovegames."',
        belowgames='".$belowgames."'  WHERE ID='".$ID."'");
you need to add
Quote
".
as you can see i did
Quote
".$footerspace."

sorry for bad english... i hope you get what i mean... if you dont the admin can email me

kurt

  • Developer
  • Hero Member
  • ******
  • Posts: 634
  • Force: +16/-1
Re: V2.0rc3 admin error
« Reply #1 on: December 31, 2009, 09:31:21 PM »
Thanks for letting us know, and welcome to the forum!

What version of the OS, PHP, and MySQL is this running on, and what file are you finding this in? It looks like the structure in /pages/admin/managegames.php but it works the way it is on every server we've tried it so far so it might be something specific to your server. We would like to know though in case this comes up again.

Interesting.