News:

Wondering if this will always be free?  See why free is better.

Main Menu

moving to another host HELP

Started by asduskun, March 15, 2011, 11:43:56 AM

Previous topic - Next topic

asduskun

hi all

i have decided to move my host from byethost to funpic.de but i couldn t. Firstly i downloaded and moved htdocs file from byethost to funpic via ftp client filezilla and then i tried to download byethost database and import it into funpic, i did so but when i was downloading database from byethost, firstly i downloaded a zip archive of 292 kb and i thought that there must have been a problem because the file was too small to me then i tried to download it for the second time and this time the zip file was 296 kb, lastly i decided to import this last file into funpic and did so. and finally i tried to do some changes with the settings.php file but i mixed it up and i don t know how to do it, by the way i also add repair_settings.php into htdocs file, after all i tried to do the final step and i wrote my new site's url/repair_settings.php and all i see now is as you can see here in this link of my new website http://asduskun.as.funpic.de/ just something as INDEX OF/ what is the problem ? can you help? my new sites database settings are as following

MYSQL Datenbankverwaltung:    phpMyAdmin
     
MYSQL Server:    localhost
     
MYSQL-Username:    *******
     
MYSQL-Passwort:    Dein gewähltes Passwort

and this is my settings.php, what is wrong with it?

<?php
/**********************************************************************************
* Settings.php                                                                    *
***********************************************************************************
* SMF: Simple Machines Forum                                                      *
* Open-Source Project Inspired by Zef Hemel ([email protected])                    *
* =============================================================================== *
* Software Version:           SMF 2.0 RC2                                         *
* Software by:                Simple Machines (http://www.simplemachines.org)     *
* Copyright 2006-2009 by:     Simple Machines LLC (http://www.simplemachines.org) *
*           2001-2006 by:     Lewis Media (http://www.lewismedia.com)             *
* Support, News, Updates at:  http://www.simplemachines.org                       *
***********************************************************************************
* This program is free software; you may redistribute it and/or modify it under   *
* the terms of the provided license as published by Simple Machines LLC.          *
*                                                                                 *
* This program is distributed in the hope that it is and will be useful, but      *
* WITHOUT ANY WARRANTIES; without even any implied warranty of MERCHANTABILITY    *
* or FITNESS FOR A PARTICULAR PURPOSE.                                            *
*                                                                                 *
* See the "license.txt" file for details of the Simple Machines license.          *
* The latest version can always be found at http://www.simplemachines.org.        *
**********************************************************************************/

########## Maintenance ##########
# Note: If $maintenance is set to 2, the forum will be unusable!  Change it to 0 to fix it.
$maintenance 0; # Set to 1 to enable Maintenance Mode, 2 to make the forum untouchable. (you'll have to make it 0 again manually!)
$mtitle 'Maintenance Mode'; # Title for the Maintenance Mode message.
$mmessage 'Okay faithful users...we\'re attempting to restore an older backup of the database...news will be posted once we\'re back!'; # Description of why the forum is in maintenance mode.

########## Forum Info ##########
$mbname 'JUST COMMUNICATE!'; # The name of your forum.
$language 'english'; # The default language file set for the forum.
$boardurl 'http://asduskun.funpic.de'; # URL to your forum's folder. (without the trailing /!)
$webmaster_email '*******'; # Email address to send emails from. (like [email protected].)
$cookiename 'SMFCookie11'; # Name of the cookie to set for authentication.

########## Database Info ##########
$db_type 'mysql';
$db_server 'asduskun.as.funpicsql.de';
$db_name 'asduskun';
$db_user 'asduskun';
$db_passwd '******';
$ssi_db_user '';
$ssi_db_passwd '';
$db_prefix 'smf_';
$db_persist '0';
$db_error_send 1;

########## Directories/Files ##########
# Note: These directories do not have to be changed unless you move things.
$boarddir '/home/funpic.de/asduskun/htdocs'; # The absolute path to the forum's folder. (not just '.'!)
$sourcedir '/home/funpic.de/asduskun/htdocs/Sources'; # Path to the Sources directory.
$cachedir '/home/funpic.de/asduskun/htdocs/cache'; # Path to the cache directory.

########## Error-Catching ##########
# Note: You shouldn't touch these settings.
$db_last_error 1299960347;

# Make sure the paths are correct... at least try to fix them.
if (!file_exists($boarddir) && file_exists(dirname(__FILE__) . '/agreement.txt'))
$boarddir dirname(__FILE__);
if (!
file_exists($sourcedir) && file_exists($boarddir '/Sources'))
$sourcedir $boarddir '/Sources';
if (!
file_exists($cachedir) && file_exists($boarddir '/cache'))
$cachedir $boarddir '/cache';

$db_character_set 'utf8';
?>

cicka

Quote from: asduskun on March 15, 2011, 11:43:56 AM
hi all

i have decided to move my host from byethost to funpic.de but i couldn t. Firstly i downloaded and moved htdocs file from byethost to funpic via ftp client filezilla and then i tried to download byethost database and import it into funpic, i did so but when i was downloading database from byethost, firstly i downloaded a zip archive of 292 kb and i thought that there must have been a problem because the file was too small to me then i tried to download it for the second time and this time the zip file was 296 kb, lastly i decided to import this last file into funpic and did so. and finally i tried to do some changes with the settings.php file but i mixed it up and i don t know how to do it, by the way i also add repair_settings.php into htdocs file, after all i tried to do the final step and i wrote my new site's url/repair_settings.php and all i see now is as you can see here in this link of my new website http://asduskun.as.funpic.de/ just something as INDEX OF/ what is the problem ? can you help? my new sites database settings are as following

MYSQL Datenbankverwaltung:    phpMyAdmin
     
MYSQL Server:    localhost
     
MYSQL-Username:    *******
     
MYSQL-Passwort:    Dein gewähltes Passwort

It looks to me like you have not uploaded the forum files inside the root of the www or public_html folders but in another folder. To have the url point to the root of the domain you should upload the files in the root of the www or public_html folders. About the database backup question, how large is your database 's size? If you unzip the backup file you made, can you check its size and open the sql file and confirm that all the contents are there?

asduskun

firstly my database size after unzipping is like 3 mb and secondly what dou you exactly mean " I haven t uploaded the the forum files inside the root of the www or public_html" there was a file called htdocs when i opened filezilla with my byethost account, and all the stuff was inside it and i downloaded it as a whole and just uploaded it into funpic account, what else should i have done? where must those www or public_html folder be? how can i find it and where should i upload it exxactly?

MovedGoalPosts

Different web hosts can have different file structures.  On ne server I use the webroot is "httpdocs", and I see a load of other folders too which would be hidden from the internet.  On another I cannot see any subfolders in filezilla, being presented only with the webroot as "/".

Be certain as to where you are uploading your restored files.  I would not expect you to be creating any folder of htdocs when you install.  Indeed many webhosts will have a file index.htm, in the root website, which you would eventually replace with your own index file.  In the folder where the index.htm was found you would upload your /forum folder data.

asduskun

Quote from: movedgoalposts on March 15, 2011, 07:59:52 PM
Different web hosts can have different file structures.  On ne server I use the webroot is "httpdocs", and I see a load of other folders too which would be hidden from the internet.  On another I cannot see any subfolders in filezilla, being presented only with the webroot as "/".

Be certain as to where you are uploading your restored files.  I would not expect you to be creating any folder of htdocs when you install.  Indeed many webhosts will have a file index.htm, in the root website, which you would eventually replace with your own index file.  In the folder where the index.htm was found you would upload your /forum folder data.

ok if this is the answer i can t see any file any file in the webhost root when i open it with filezilla let alone index.html, it was empty????

MovedGoalPosts

Most new web hosts will have the index.htm, or a similar file in the root for the website.  It is why when you first try to browse to http://yoursitename that you would see a webpage allong the lines of a cpanel or plesk message that the site space is reserved and ready for set up.  Of course if you have already started upoading files to your space you could easily have removed that default index file?

What is the complete stucture of all the folders you can see when connected via your ftp client.  And do you know what type of control panel your webhost is using?  That might help us identify exactly where you should upload to.

Advertisement: