|
Joined: Aug 2007
Posts: 45
newbie
|
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.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
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.
|
|
|
|
Joined: Aug 2007
Posts: 45
newbie
|
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?
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
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.
|
|
|
|
Joined: Aug 2007
Posts: 45
newbie
|
newbie
Joined: Aug 2007
Posts: 45 |
How much do you charge to migrate a site?
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
$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?
|
|
|
|
Joined: Aug 2007
Posts: 45
newbie
|
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.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
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.
|
|
|
|
Joined: Aug 2007
Posts: 45
newbie
|
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
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
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.
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
2 members (Nightcrawler, Ruben),
694
guests, and
214
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|