News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Database Error

Started by andrewill, August 18, 2014, 02:14:48 PM

Previous topic - Next topic

andrewill

Yes, people who registered can access the forum in this way.

1. Open my website.

2. Close the window tab once you get the error.

3. Open a new tab and login again.

If thats done, it'll work.

But, people who would like to register on my web and post, etc can't. They get the error on the 2nd stage of registration.

========================================================================

Quote from: K@ on August 21, 2014, 11:57:56 AM
Quote from: K@ on August 21, 2014, 10:01:10 AM"bg.name" only appears in a virgin Profile-View.php file, in one place, on line 207. So, did you really upload a full set of files?

If I go to http://www.produo-gaming.tk/index.php I get the error.

BUT... If I go to http://www.produo-gaming.tk/index.php?theme=1 I can get in.

YES, I did upload the file on the link you gave me. It doesn't change anything.

kat

OK. Just to make sure that we haven't got our wires crossed...

You got this:

http://download.simplemachines.org/index.php?thanks;filename=smf_2-0-8_upgrade.zip

You dearchived that, into an empty directory.

You uploading all of the files, to your forum, overwriting what was there.

Yes?

Kindred

attach your index.template.php from your theme
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

andrewill

#43
Quote from: K@ on August 21, 2014, 12:31:07 PM
OK. Just to make sure that we haven't got our wires crossed...

You got this:

http://download.simplemachines.org/index.php?thanks;filename=smf_2-0-8_upgrade.zip

You dearchived that, into an empty directory.

You uploading all of the files, to your forum, overwriting what was there.

Yes?

Not all, I removed the upgrade.php and the upgrade SQL files
===========================================================================



Pastebin:- http://pastebin.com/THaRrzqn

Kindred

removed the code...

please attach the file to the next message.... not paste the contents...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

andrewill

Ah, Snap, Sorry! P:


Here you go.

Kindred

ummmm...   why did you delete your original post and then repost the exact same thing?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

andrewill

A bump. I noticed:- File Download 0 Times.

Kindred

please don't do that....    I'll take a look when I get to a real computer - unless someone else looks first... but bumping like that is rude...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

andrewill

Alright mate, sorry 'bout that.


Bytheway, Could you find a solution to this? I know I'm hurrying you and I shouldn't ask you this, but it's cause I don't want my Gameserver to lose players due to this. :/

Kindred

I don't see anything obvious...   what about boardindex.template.php
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

andrewill

Where do I locate that?

Kindred

probably in your custom theme directory as well -- if not there (and ONLY if it is not there) look in the default theme directory
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

andrewill

Not there.

This is the one from Default.

andrewill


Kindred

I have been unable to download that attachment.   My virus scanner seems to think it is infected...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

kat

What's puzzling me, is the weirdy that gets me in, if I use http://www.produo-gaming.tk/index.php?theme=1

As you've set things so that members can't switch to the default theme, I'm trying to figure out how that error's not appearing on the page, now, either, when I use that URL.

Once I've been on the page, I can open a new tab and go to http://www.produo-gaming.tk without any problems.

That makes me wonder... I don't see how, at all. But, logic says that the only thing that could make it do that, is something that gets stored on my computer. The only thing that that could be, unless I'm missing something, is the cookie. I really don't see how that could affect the database, unless the error messages have become screwed, somehow.

So, humour me, would you? If you get get into your admin panel, can you try changing the cookie name, in Configuration>Server settings? If you can't get in, to do that, I guess you could edit Settings.php.

$cookiename = 'SMFCookiez';      # Name of the cookie to set for authentication.

and/or, empty the forum cache?

andrewill

Done.



It doesn't change anything at all. :/


+ I really don't care about the Profile error cuz I can get back to that later.

I just want people able to register.

kat

http://www.produo-gaming.tk/index.php?theme=1 isn't working, now, either... EDIT: Oh, wait. It does after a second attempt...

OK. You got hacked. You deleted some rows, in the database...

As I could get in, yesterday, I'm hunching (Is that a word?) that the database is OK, other than the profile error.

Are you 100% certain that the files haven't been edited, in some way?

If I was in your position, I think I'd backup, now (I know. Closing barn door after horse has escaped, but...), and do this:

http://wiki.simplemachines.org/smf/How_to_upload_a_fresh_set_of_files

As it says, in that page, "Once done, your forum will be in a virgin state, software-wise. All of your members, posts, etc. will be intact. However, none of your mods will be installed now. They will, fortunately, still be in Package Manager. From there, you can either apply/install them, or delete them, as you desire. Any of your mod's settings that are stored in the database will be retained and still be usable when the mod is reinstalled."

If you still get hassles, you have that backup that you could restore and investigate further.

For info on how to backup, click my sig.

Kindred

k@... he's already done that   --   or at least that's what he tells us he has done.


That's why I was asking for the files, because it seems that his load of fresh files did not fully work...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: