Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
1 registered members (JAISP), 52 guests, and 121 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Mark S
Mark S
Liverpool : England : UK
Posts: 4,698
Joined: July 2006
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 10
isaac 6
rfd123 3
Conrad 3
Basil 2
Abbott 1
Latest Photos
Rendered Walls
Multi-Screen wallpaper
Stockholm Metro
Coffee & Cocoa related
QHD Walls (960x800)
Previous Thread
Next Thread
Print Thread
#260212 - 05/19/17 06:04 PM Webhost upgrade  
Joined: Aug 2007
Posts: 45
MichaelM Offline
newbie
MichaelM  Offline
newbie
Joined: Aug 2007
Posts: 45
My web host provider just upgraded the shared server my site runs on and I now get the following error


Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bbcode has a deprecated constructor in /home/mytoosco/public_html/forum/libs/bbcode.inc.php on line 8

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; mailer has a deprecated constructor in /home/mytoosco/public_html/forum/libs/mailer.inc.php on line 8

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/mytoosco/public_html/forum/libs/mysql.inc.php:21 Stack trace: #0 /home/mytoosco/public_html/forum/libs/ubbthreads.inc.php(92): sql->connect() #1 /home/mytoosco/public_html/forum/ubbthreads.php(53): require_once('/home/mytoosco/...') #2 {main} thrown in /home/mytoosco/public_html/forum/libs/mysql.inc.php on line 21

It appears they upgraded the server to PHP version 7.

In addition they may have made changes to the mysql.

They are basically telling me I am out of luck.

Is there anything I can do?

I can't even log in to the backup my database.

Help, please.

Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#260213 - 05/19/17 06:08 PM Re: Webhost upgrade [Re: MichaelM]  
Joined: Jun 2006
Posts: 16,704
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer

Joined: Jun 2006
Posts: 16,704
Portland, OR; USA
UBB.threads is not compatible with PHP7 at this time, ideally PHP5.6 is what you'd want to be on; some hosts allow users to select the version of PHP that their site operates with. Additionally, UBB.threads requires mysql_connect, your host should have the handler installed for backwards compatibility.


Forums: A Gardeners Forum
UBB.Threads: UBBWiki, UBBSkins, UBB.Sitemaps
Longtime Supporter & Beta Tester & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
#260215 - 05/19/17 06:18 PM Re: Webhost upgrade [Re: MichaelM]  
Joined: Aug 2007
Posts: 45
MichaelM Offline
newbie
MichaelM  Offline
newbie
Joined: Aug 2007
Posts: 45
They do not seem to have a handler installed for mysql_connect and have virtually no interest in helping me.
Can you recommend a hosting provider that I can move my site too?
How do I go about migrating my site without having access to the ubbt admin page?

#260216 - 05/19/17 06:25 PM Re: Webhost upgrade [Re: MichaelM]  
Joined: Jun 2006
Posts: 16,704
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer

Joined: Jun 2006
Posts: 16,704
Portland, OR; USA
I can personally recommend Stable Host (VPS), Blue Host (Business Hosting), or Interserver.net as I have used, or have worked with clients who have used these providers.

I do not know if they offer migration services, but it is something that I offer if they do not.

You do not have to migrate your site from within UBB.threads, in fact I would advise against using any backups created from the admin script as they will be subject to the PHP max execution time setting, which could leave you assuming that you have a solid archive when you in fact only have a chunk that was created up until the connection timed out.

A backup should be created (and restored from on the new machine) from the command line interface (SSH), as discussed in my Migration Guide on UBBWiki.


Forums: A Gardeners Forum
UBB.Threads: UBBWiki, UBBSkins, UBB.Sitemaps
Longtime Supporter & Beta Tester & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
#260218 - 05/19/17 07:37 PM Re: Webhost upgrade [Re: MichaelM]  
Joined: Aug 2007
Posts: 45
MichaelM Offline
newbie
MichaelM  Offline
newbie
Joined: Aug 2007
Posts: 45
How much do you charge to migrate a site?

#260219 - 05/19/17 07:41 PM Re: Webhost upgrade [Re: MichaelM]  
Joined: Jun 2006
Posts: 16,704
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer

Joined: Jun 2006
Posts: 16,704
Portland, OR; USA
$125/hr, depending on the size of your forums and all data I'd guesstimate 2 hours.

What all scripts do you have installed? How large is your database?


Forums: A Gardeners Forum
UBB.Threads: UBBWiki, UBBSkins, UBB.Sitemaps
Longtime Supporter & Beta Tester & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
#260220 - 05/19/17 07:55 PM Re: Webhost upgrade [Re: MichaelM]  
Joined: Aug 2007
Posts: 45
MichaelM Offline
newbie
MichaelM  Offline
newbie
Joined: Aug 2007
Posts: 45
I have just the ubb threads forum scripts installed.
I did an export of the sql database and the file (localhost.sql) is 405 meg.
Do you have instructions on how to migrate a ubbt forum?

I purchased an account with Stable Host.
I am copy files (via FTP) from my existing site and upload them to the new site.
I will then give it a try to set up the new site.

#260221 - 05/19/17 09:38 PM Re: Webhost upgrade [Re: Gizmo]  
Joined: Jun 2006
Posts: 16,704
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer

Joined: Jun 2006
Posts: 16,704
Portland, OR; USA
The Migration Guide on UBBWiki covers how to backup your database and compress it, and uncompressing the files and setting permissions; you will still need to get a snapshot of your database from the old location and imported to the new.


Forums: A Gardeners Forum
UBB.Threads: UBBWiki, UBBSkins, UBB.Sitemaps
Longtime Supporter & Beta Tester & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
#260224 - 05/23/17 01:12 PM Re: Webhost upgrade [Re: MichaelM]  
Joined: Aug 2007
Posts: 45
MichaelM Offline
newbie
MichaelM  Offline
newbie
Joined: Aug 2007
Posts: 45
Thank you very much for your help. Moving from Westhost to Stable Host was much easier than I feared.

Thanks again,
Mike

#260225 - 05/23/17 01:23 PM Re: Webhost upgrade [Re: MichaelM]  
Joined: Jun 2006
Posts: 16,704
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer

Joined: Jun 2006
Posts: 16,704
Portland, OR; USA
I'm glad to hear that you're back up and running again! The guys at stable host are very knowledgeable, and their helpdesk has a great response time.


Forums: A Gardeners Forum
UBB.Threads: UBBWiki, UBBSkins, UBB.Sitemaps
Longtime Supporter & Beta Tester & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Where did the GO button go?
by Baldeagle. 06/11/17 03:34 PM
Pages
by AstroCat. 05/28/17 07:23 PM
Images not uploading
by Basil. 05/28/17 12:10 PM
Google Page Error
by Outdoorking. 05/27/17 08:32 AM
7.6 html display errors
by AllenAyres. 05/26/17 06:05 PM
Forum Statistics
Forums36
Topics34,958
Posts190,156
Members11,995
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.1
(Snapshot build 20170611)