MyBB Community Forums

Full Version: changing hosting
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

Straight to the point. I'm changing my hosting and need to transfer all my site from my previous host to the new host. The problem is regarding the forum's files and SQL.

1) Which part of the forum's files and SQL database's table needed to be edit since the new host doesn't support of uploading my existing database?

The scenario is the new hosting does not provide ftp account for uploading the existing database. Only had a site to creating the new database. So I've created a new database and managed to import all the tables from my existing database into the new database. but some point in the existing database still referred to the URL of previous hosting. also the existing forum files still referred to the existing SQL database name.
You need to edit ./inc/config.php with the new details.
There was some port for it, damn, I don't remember it exactly, you gotta use yourdomain.com:portnumber here, I used to use it previously, I forgot.
(2011-09-16, 11:15 AM)crazy4cs Wrote: [ -> ]There was some port for it, damn, I don't remember it exactly, you gotta use yourdomain.com:portnumber here, I used to use it previously, I forgot.

http://yourdomain.com:2082
(2011-09-16, 11:19 AM)Jason L. Wrote: [ -> ]
(2011-09-16, 11:15 AM)crazy4cs Wrote: [ -> ]There was some port for it, damn, I don't remember it exactly, you gotta use yourdomain.com:portnumber here, I used to use it previously, I forgot.

http://yourdomain.com:2082
No, that is of cPanel, to fetch MySQL database from a different host's PhPMyAdmin, there is a different port, not 2082, its just for cPanel.

(2011-09-16, 10:59 AM)Malcolm. Wrote: [ -> ]You need to edit ./inc/config.php with the new details.

so, done editing with config.php..anything need to be edit in sql database?
No, that's it. Smile
Hi,

I'm getting this error..

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /usr/local/pem/vhosts/271332/webspace/httpdocs/inc/class_error.php on line 51
Your host uses PHP 4, get them to upgrade to PHP 5 or get a better web host.
it's stated like this. means?

PHP4 support		Run as an Apache module	 
PHP5 support		Run as a CGI application