*

Recent

Author Topic: site settings menu  (Read 3682 times)

emil

  • Newbie
  • *
  • Posts: 26
  • Force: +0/-0
site settings menu
« on: March 28, 2010, 09:05:13 AM »
every time i try to change anything in the site settings menu this comes up and i can't change anything. any ideas? thank you.


   Duplicate entry 'www.onlinegames64.com' for key 1

kurt

  • Developer
  • Hero Member
  • ******
  • Posts: 634
  • Force: +16/-1
Re: site settings menu
« Reply #1 on: March 28, 2010, 03:03:48 PM »
How are you trying to change the settings? That indicates that it's attempting to insert a new row into the  settings table, which it should never do. Have you changed anything in the settings section's code? Did you run install.php more than once? Check to make sure that there is only one, and I mean 1, row in the settings table. If there is more than one, you will have to delete until there is only one left.

emil

  • Newbie
  • *
  • Posts: 26
  • Force: +0/-0
Re: site settings menu
« Reply #2 on: March 28, 2010, 06:46:20 PM »
How are you trying to change the settings? That indicates that it's attempting to insert a new row into the  settings table, which it should never do. Have you changed anything in the settings section's code? Did you run install.php more than once? Check to make sure that there is only one, and I mean 1, row in the settings table. If there is more than one, you will have to delete until there is only one left.

i did run install.php more than once but every time i installed the script i deleted all the previous files on public_html. that's because once you install the script, untill you upload a game, the place under categories appears as an error and for an inexperienced user like myself that means one thing: "this isn't right". Could you please tell me step by step how to fix the problem?

kurt

  • Developer
  • Hero Member
  • ******
  • Posts: 634
  • Force: +16/-1
Re: site settings menu
« Reply #3 on: March 28, 2010, 09:17:10 PM »
Ah, I thought it might be that. When you run it more than once, it made entries into the database more than once. Even if you delete the files out of pblic_html, the database remains intact, untill you erase it as well. Fo into the database using phpMyAdmin and get into the tabel settings, and you will most likely find that you have more than one row of data entered into it. You will need to delete all but one row. Then you can use the admin section of the script to change the settings.

If you need help in doing it, PM me your cPanel login info and I can take a look at it. It might be tomorrow before I can, but I would be willing to do it as soon as I could get to it.

emil

  • Newbie
  • *
  • Posts: 26
  • Force: +0/-0
Re: site settings menu
« Reply #4 on: March 29, 2010, 04:02:53 AM »
works like a dream :) you are a lifesaver.

Robbie

  • Sr. Member
  • ****
  • Posts: 343
  • Force: +16/-0
Re: site settings menu
« Reply #5 on: March 29, 2010, 06:06:52 AM »
Yes he is  :)  one of the best