Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
2 registered members (JAISP, mmkk), 56 guests, and 379 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Posts: 25
Joined: November 2012
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 12
M4TT 9
Ruben 8
mmkk 4
FREAK 3
isaac 3
Latest Photos
Chinese Buddhist temple.
My buddha beads.
Rendered Walls
Multi-Screen wallpaper
Stockholm Metro
Previous Thread
Next Thread
Print Thread
Webhost upgrade #260212
05/19/17 05:04 PM
05/19/17 05:04 PM
Joined: Aug 2007
Posts: 45
M
MichaelM Offline OP
newbie
MichaelM  Offline OP
newbie
M
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."
Re: Webhost upgrade [Re: MichaelM] #260213
05/19/17 05:08 PM
05/19/17 05:08 PM
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,788
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.


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.
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!
Re: Webhost upgrade [Re: MichaelM] #260215
05/19/17 05:18 PM
05/19/17 05:18 PM
Joined: Aug 2007
Posts: 45
M
MichaelM Offline OP
newbie
MichaelM  Offline OP
newbie
M
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?

Re: Webhost upgrade [Re: MichaelM] #260216
05/19/17 05:25 PM
05/19/17 05:25 PM
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,788
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.


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.
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!
Re: Webhost upgrade [Re: MichaelM] #260218
05/19/17 06:37 PM
05/19/17 06:37 PM
Joined: Aug 2007
Posts: 45
M
MichaelM Offline OP
newbie
MichaelM  Offline OP
newbie
M
Joined: Aug 2007
Posts: 45
How much do you charge to migrate a site?

Re: Webhost upgrade [Re: MichaelM] #260219
05/19/17 06:41 PM
05/19/17 06:41 PM
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,788
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?


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.
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!
Re: Webhost upgrade [Re: MichaelM] #260220
05/19/17 06:55 PM
05/19/17 06:55 PM
Joined: Aug 2007
Posts: 45
M
MichaelM Offline OP
newbie
MichaelM  Offline OP
newbie
M
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.

Re: Webhost upgrade [Re: Gizmo] #260221
05/19/17 08:38 PM
05/19/17 08:38 PM
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,788
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.


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.
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!
Re: Webhost upgrade [Re: MichaelM] #260224
05/23/17 12:12 PM
05/23/17 12:12 PM
Joined: Aug 2007
Posts: 45
M
MichaelM Offline OP
newbie
MichaelM  Offline OP
newbie
M
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

Re: Webhost upgrade [Re: MichaelM] #260225
05/23/17 12:23 PM
05/23/17 12:23 PM
Joined: Jun 2006
Posts: 16,788
Portland, OR; USA
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,788
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.


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.
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!

Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Users Unable to Upload Avatar [Not a Bug]
by M4TT. 12/13/17 08:51 AM
Shout Box Sound Effect
by M4TT. 11/29/17 08:28 PM
Ad island
by TGCsanderson. 11/25/17 06:41 PM
Taking to long to connect to DB
by AstroCat. 11/24/17 12:34 PM
Forum Statistics
Forums36
Topics35,015
Posts190,544
Members12,045
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.1
(Snapshot build 20171106)