Advertisement:
GCWebhosting

Author Topic: Repair Settings - Value Not Found (After hosting switch)  (Read 1220 times)

Offline FireDitto

  • Full Member
  • ***
  • Posts: 617
  • Gender: Female
  • Shadow In The Flame
    • @SPWeyr on Twitter
    • Second Pass Weyr RPG
Repair Settings - Value Not Found (After hosting switch)
« on: January 05, 2012, 06:00:20 PM »
I'm running the repair_settings.php file to fix the sites so they can run and everything; The first one I fixed (my test site) went through lovely and without any issues at all.

However, my main sites (naturally) are not running so smoothly and I got the following saying the Value not found!

Queryless URLs
Output Compression
Database driven sessions

Attachment Directory
Avatar URL
Avatar Directory
Smileys URL
Smileys Directory


The 'recommended values' is still present - however, upon saving they revert back to nothing. All the files /appear/ to be listed in the FTP, but that said, I'm not 100% sure what I should look for. Can anyone help?

(The two sites share a database. Could the error be in the database itself?)
Second Pass Weyr
An AU Pernse RPG

SMF 2.0.6 with SP 2.3.5

Offline Chas Large

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,108
  • Gender: Male
  • Running 2.0.xx on Apache.
    • Chas.Large on Facebook
    • https://www.linkedin.com/in/charles-large-568ba213 on LinkedIn
    • @https://twitter.com/ on Twitter
    • Chas Large's Site
Re: Repair Settings - Value Not Found (After hosting switch)
« Reply #1 on: January 06, 2012, 04:47:55 AM »
Repair settings picks up what is in the database and underneath each item is a link to what is found on the site. Click the link to update the settings in the database to what is found on the site.

However, as you say "The two sites share a database." is this the forum database? If so then the settings of one site may not reflect the other so changing things might cause problems, especially with paths and functions. Are they both on the same host site?

I've never shared a forum database between two sites, I know it can be done but I think some extra coding is required rather than just pointing the two sites at the same dB. Someone else may chip in who has more knowledge than me.
My Modifications :)  My Forum

Please DO NOT PM me with support requests. Post the problem in the appropriate Support Board so everyone can benefit from the advice given.

Offline FireDitto

  • Full Member
  • ***
  • Posts: 617
  • Gender: Female
  • Shadow In The Flame
    • @SPWeyr on Twitter
    • Second Pass Weyr RPG
Re: Repair Settings - Value Not Found (After hosting switch)
« Reply #2 on: January 06, 2012, 07:44:12 AM »
Clicking the links is redundant - every time I press "save" it loads the page but doesn't save the information - it loads blank once more. Very frustrating.

Sharing the databases, I used the method shown here which I expect is where the error is. While the repair_settings.php doesn't show anything that immediately links to that, when I try to load the web page itself, I am told that the "Table 'secondpa_sp5.RP_settings' doesn't exist" which is one of the shared tables.

Which, is where I am somewhat confused -- the information in the repair_settings that isn't sticking? Is not shared on the database tables.

Confused? Yes I am! :|
Second Pass Weyr
An AU Pernse RPG

SMF 2.0.6 with SP 2.3.5

MrPhil

  • Guest
Re: Repair Settings - Value Not Found (After hosting switch)
« Reply #3 on: January 06, 2012, 10:52:07 AM »
repair_settings is going to touch both Settings.php and the database. It's probably only changing one Settings.php and not the other -- you may have to manually fix up the other Settings.php both before and after running repair_settings. I don't know if this explains the failure to "save" the information, but might have something to do with it.