Previous Thread
Next Thread
Print Thread
Hop To
#248618 03/06/2012 3:55 PM
Joined: Nov 2006
Posts: 199
Likes: 9
J
Member
Member
J Offline
Joined: Nov 2006
Posts: 199
Likes: 9
I goofed - uploaded the full build of 7.5.6p2 instead of the patch 12-ubbthreads-7-5-6p2 (just didn't see it).

Getting an error when running upgrade.php:

SQL Error: Database error only visible to forum administratorsSQL Error: Database error only visible to forum administrators
Fatal error: Call to undefined function upgrade_header() in /home/byzcatho/public_html/forums/install/upgrade.php on line 67


upgrade_header.tmpl and upgrade_header.tmpl.php were both uploaded in the install directory.

Ideas? Thanks!


Joined: Dec 2003
Posts: 6,649
Likes: 88
Joined: Dec 2003
Posts: 6,649
Likes: 88
Well,
First question is what was your version before you uploaded 7.5.6p2.
Second question is did you exclude all the special folders for upgrading?
The reason I ask is there may not be a need to run the upgrade script.
So you may be able to recover from it fairly easy.
I don't know what your dbase error is though.
Unless you uploaded all the files and overwrote some files you should not have. Like config.inc.php.
I hope you have a backup of your files from before?
The dbase probably is okay.

Last question is did you run upgrade.php or actually install.php.

Last edited by Ruben; 03/06/2012 4:55 PM. Reason: Added Comment

Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Dec 2003
Posts: 6,649
Likes: 88
Joined: Dec 2003
Posts: 6,649
Likes: 88
Did you read my edited post above?


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Nov 2006
Posts: 199
Likes: 9
J
Member
Member
J Offline
Joined: Nov 2006
Posts: 199
Likes: 9
Ruben,

Yes. Many thanks! You were correct - I overwrote config.inc.php and everything else in /includes without thinking (even as I had the instructions before me). It really underscores the need to backup before you start the upgrade. Files restored. All is functioning now as it was before.

[I was at 7.5.6 and intended to upgrade to 7.5.6p2.]

Looking forward to 7.6!!

Jake

Jake #248629 03/07/2012 10:01 AM
Joined: Dec 2003
Posts: 6,649
Likes: 88
Joined: Dec 2003
Posts: 6,649
Likes: 88
Good deal then you could just do the patch then.
It is only like 5 files.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Selling a Forum?
by ECNet - 10/10/2026 10:54 AM
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Who's Online Now
0 members (), 298 guests, and 124 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)