News:

Wondering if this will always be free?  See why free is better.

Main Menu

a.file_hash error

Started by Afro, May 21, 2009, 08:24:24 AM

Previous topic - Next topic

Norv

It seems you had Tiny Portal installed, and incompletely uninstalled it.
In case the mod is supposed to be uninstalled indeed, please check the manual instructions for the mod, specially those concerning Load.php, and see if you can undo them.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

sandmannd

Nope, this didn't happen because I uninstalled Tiny Portal, I still use it. This started after I upgreated to version 1.1.10

Norv

Then simply Tiny Portal is not properly installed (or not anymore, by the looks of it, for some reason).
How did you do the upgrade to 1.1.10?

Also, please consider to post in the TP support thread (or their support site), as they may be able to help more easily.
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

Meru

I tried the updateDatabase.php, but it was blank and wouldn't fix the issue. So I took a peek at the file and found the SQL code to fix it. It goes as follows:

ALTER IGNORE TABLE  smf_attachments
ADD COLUMN file_hash varchar(40) NOT NULL default ''

So I went to my server's phpMyAdmin, clicked the SQL tab, entered that line, and viola! it works again. All my avatars are back.

I don't know if there are any odd side effects to this in the long term, but it's what the updateDatabase.php does as far as I can tell. Also, my database prefix is smf_ so that's why it says smf_attachments, change accordingly.

Hope this helps someone else out!

Norv

That's exactly what it does, yes, so surely there is no problem.

updateDatabase.php actually, was supposed to not say a thing (yes it's not user-friendly). But it was supposed to be run as an internal part of the update patch, so well, it wasn't supposed to display messages itself.

Thank you for sharing!
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

N3RVE

Quote from: Norv on September 10, 2009, 12:07:46 AM
updateDatabase.php actually, was supposed to not say a thing (yes it's not user-friendly). But it was supposed to be run as an internal part of the update patch, so well, it wasn't supposed to display messages itself.

Perhaps, we should change the code so it returns a message? ;)

-[n3rve]
Ralph "[n3rve]" Otowo
Former Marketing Co-ordinator, Simple Machines.
ralph [at] simplemachines [dot] org                       
Quote"Somewhere, something incredible is waiting to be known." - Carl Sagan

Norv

To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

N3RVE

Ralph "[n3rve]" Otowo
Former Marketing Co-ordinator, Simple Machines.
ralph [at] simplemachines [dot] org                       
Quote"Somewhere, something incredible is waiting to be known." - Carl Sagan

timi


sit2006

Today I update and found this problem

Advertisement: