Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2006
Posts: 197
E
enthusiast
enthusiast
E Offline
Joined: Jun 2006
Posts: 197
If I try to use the option to backup from inside the forum:
Tools & Info -->Database Tools --> Backup Tables -->
and hit the (Click to test directory.) I'm getting this error:
Fatal error: Call to undefined function smartyPrepare() in /home/My_USER/public_html/forum/libs/html.inc.php on line 695

The folder I have there for backup is:
/home/My_USER/public_html/forum/admin/backup/
and it's 0744 permissions.

Version of Forum is 7.5.9
PHP Version 5.6.27

Could not find any mention to this error here.

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
If you have a large forum (a database over 100mb or so) you should not use the control panel backup tool, as you will likely hit the PHP Max Execution limit before your backup can be generated and fully downloaded; you should instead opt to backup your database via SSH (UBBWiki - Migration Guide [will show all of the commands needed to backup both your database and flat files; normally I'd link to the Backup Guide but it really needs to just include the portion from the migration guide]).

Using the admin tool you should take care to:
- Never backup to a folder that is web accessable; this is your database which includes user accounts and authentication details, basic security would mean you would make the backup to a folder UNDER the web root.
- The folder should be chmodded 777.

Last edited by Gizmo; 12/02/2016 4:29 AM.

I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
Back to your original question though, It looks as though maybe your SQL Server became unreachable while trying to perform that action. Or it could be trying to access a table that is unavailable. You previously mentioned that you just upgraded from v7.4 to v7.5.9. A lot has changed between those builds. Go through the "Master Settings" section of your forum control panel, and confirm that all the settings are complete and are correct. Then attempt your backup again. In addition, as Gizmo mentioned above, if you have a huge database, the processing of that script could be timing-out, making the entire process prematurely quit. Gizmo mentioned to instead backup using the correct tools for such large databases.

Here's a link of a similar issue error message, which may not be related to your issue at all. But I'm posting it here for others who might find it useful.
https://www.ubbcentral.com/forums/ubbthreads.php/topics/167866/forum-upgrade-error


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
0 members (), 686 guests, and 131 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)