News:

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

Main Menu

Help Please! Forum is down!

Started by Beefstick, March 01, 2010, 03:43:01 AM

Previous topic - Next topic

Beefstick

Quote from: Kat on March 01, 2010, 07:42:12 AM
Looks like your problem is that your forum no longer knows whether it's v1.1.11 or 2.x.


If that was my forum, I think I'd run the SMF v2.0RC2 large upgrade and see what happens.

Well, it was 1.1.11. LOL

I tried to see if it would take the upgrade before (after all of this started), assuming that a home directory restore would bring it back to where it was and it gave me errors when trying to run the upgrade.  I am so confused at this point and I think everything I've done has just made it worse and worse.  I was getting undefined index errors when I tried to upgrade last.

kat

OK... You have a backup...


Here's what I think the problem is. You tried the upgrade. During that upgrade, the database wasn't altered for v2. The files sure look like they did, but the database is throwing up errors, coz the files are trying to make calls that the database doesn't understand, by the look of it.
What happens, if you just try to restore the database?


Had an idea, whilst typing that...


Get on to your host, PDQ. They MAY have a backup of their own, that they could restore, for you.

kat

Just had another idea...


Found a Fantasico backup, on your site, dated earlier today. (That might be where all the space went)


I'm just downloading it, to see if that could be helpful.

Beefstick

Basically, I just made a complete mess of it?  LOL

I'm tempted to go to sleep (maybe), then delete smf, reinstall 1.1.11 "connect" (?) it to my database, then upgrade to RC2?  Since it's down anyways, I might as well do something I suppose (if that would even work/make sense).  All of this happens when I have a giveaway ending in 18 hours. LOL!  :-\ :-[

kat

BINGO!


That looks like all v.1.1.11 files.


If you download that, dearchive it and upload all the files and directories to your site, you might just get lucky!


Look in "fantastico_backups" and you'll see the file.

kat

I could even do that, for you, if you like.


No promises, obviously, but it might just do the trick.

Beefstick

Quote from: Kat on March 01, 2010, 08:00:54 AM
I could even do that, for you, if you like.


No promises, obviously, but it might just do the trick.

I just started the download for the file, but if you already have it downloaded that would be great!  It's worth a try!  You are incredible...

kat

OK. I'm on it.


Gimme a few minutes...

Beefstick

#28
Awesome thanks!

Maybe if "we" (you) can get this up and running, then I should mess things some more and try the upgrade to RC2?

;D I'm getting slap happy I'm so tired at this point.  :o

Edit:  I'm watching the errors you're getting change, and that's where I was at exactly 4 hours ago by the way before I started messing with it more.  :o

kat

Yeah, I can see the error in subs.php.


Once I have the default theme upped, I'll have a look at it.

kat

******... That file's a real mess. It doesn't even have the ?> tag, at the end.


I'll see if I can sort it...

Beefstick


kat

All this was missing, from the bottom.
}

}

// Creates an image/text button
function create_button($name, $alt, $label = '', $custom = '')
{
global $settings, $txt, $context;

if (!$settings['use_image_buttons'])
return $txt[$alt];
elseif (!empty($settings['use_buttons']))
return '<img src="' . $settings['images_url'] . '/buttons/' . $name . '" alt="' . $txt[$alt] . '" ' . $custom . ' />' . ($label != '' ? '<b>' . $txt[$label] . '</b>' : '');
else
return '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/' . $name . '" alt="' . $txt[$alt] . '" ' . $custom . ' />';
}

// Generate a random seed and ensure it's stored in settings.
function smf_seed_generator()
{
global $modSettings;

// Never existed?
if (empty($modSettings['rand_seed']))
{
$modSettings['rand_seed'] = microtime() * 1000000;
updateSettings(array('rand_seed' => $modSettings['rand_seed']));
}

if (@version_compare(PHP_VERSION, '4.2.0') == -1)
{
$seed = ($modSettings['rand_seed'] + ((double) microtime() * 1000003)) & 0x7fffffff;
mt_srand($seed);
}

// Change the seed.
updateSettings(array('rand_seed' => mt_rand()));
}

?>






I had a look at subs.php~ and it's all there, so I just copy/pasted it to subs.php.


Once the theme's uploaded, I'll copy it over and we'll see how we go.

Beefstick

That's very odd to me.  I wonder why it didn't work when I overwrote the file with one from a full install.

kat

Guess what....










YOU HAVE A FORUM!!!!

kat

Don't touch anything, yet. There're still some files uploading...

Beefstick

#36
I just saw that! :D

I'm tempted to try and reinstall simple portal, but maybe I shouldn't touch anything at this point. LOL

I had a lot of info on that front page...

Ok....I'm just happy to see the content. LOL

Edit: Major security risk...lol  I'm not sure I want to touch any files at this point!  :o

kat

I can see a load of TINY portal stuff, there. You don't have both, do you?


Upload's finished, by the way.

Beefstick

#38
Quote from: Kat on March 01, 2010, 08:28:32 AM
I can see a load of TINY portal stuff, there. You don't have both, do you?


Upload's finished, by the way.

Nope, I only ever had SimplePortal and I loved it.  Can I try to reinstall it?

Edit:  Odd...I can't track an IP like before. LOL

kat

Odd, coz there're loads of tinyportal files, there. Just look around. There are LOADS of files and directories with "tp" at the front.


Unless they're for something else, that is.


I see from your "backups" directory, inside "Packages", that you've tried six times to install SP. There're a couple of TinyPortal install backups, there, too.


Well, we have a known-to-be-working backup, now. So, why not try it?


If you get any errors, when you go to apply it, just abort the install.

Advertisement: