Members: 10,140
Threads: 38,830
Posts: 159,367
Online: 27

Newest Member: Xoote



Go Back   Mambers.com > Mambo 4.5.1 > Mambo 4.5.1 General Talk

Reply
 
Thread Tools Display Modes
Old 10.06.2005, 11:39   #1
jenny
Baby Mamber
 
Join Date: Jun 2005
Posts: 5
jenny is on a distinguished road
Default Problem when moving site from local to remote server

I have a problem when try to move my Mambo 4.5.1a site from a local testing server to remote hosting (I installed Mambo locally, add components, mambots and content and now I want to move all to remote server)

Here is what I did:
1. Export db from PHPMyadmin (local server)
2. Create new db, user, password on remote server
3. Import dump file
4. FTP all Mambo site from local to remote server (root directory)
5. Chage configuration.php (remote server) as follows

$mosConfig_host = 'localhost';
$mosConfig_user = ' username created in new db';
$mosConfig_password = 'password created in new bd';
$mosConfig_db = 'name of new bd';
$mosConfig_live_site = 'http://www.mydomain.com/';
$mosConfig_absolute_path = '/usr/home/user/public_html/'; (ISP wrote me this one)
$mosConfig_cachepath = '/usr/home/user/public_html/cache';

The problem:
When write in browser http://mydomain.com/ or http://mydomain.com/administrator the error is:

The requested URL /installation/index.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

What is wrong?

The versions:
Locak server MySQL 4.1.8 PHP 5.0.3
Remote server MySQL 4.0.21 PHP 4.3.11

thank you in advance!
jenny is offline   Reply With Quote
Sponsored Links
Old 10.06.2005, 12:22   #2
walb
Expert Mamber
 
walb's Avatar
 
Join Date: Oct 2004
Location: Hack City, Earth.
Posts: 453
walb will become famous soon enough
Default Re: Problem when moving site from local to remote server

Quote:
$mosConfig_live_site = 'http://www.mydomain.com/';
$mosConfig_absolute_path = '/usr/home/user/public_html/';
Pls, remove the trailing slash at both.
__________________
A bugfree program is a deleted one! (Confucius.)
walb is offline   Reply With Quote
Old 11.06.2005, 00:57   #3
jenny
Baby Mamber
 
Join Date: Jun 2005
Posts: 5
jenny is on a distinguished road
Default Re: Problem when moving site from local to remote server

Quote:
Originally Posted by walb
Pls, remove the trailing slash at both.
Thank you!
I removed the trailing slash.
$mosConfig_live_site = 'http://www.mydomain.com';
$mosConfig_absolute_path = '/usr/home/user/public_html';

Now the error page is 404 - The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

Where is my mistake now?
(Is it a good idea to paste all configuration.php code here?)

edit://
I found it!
There was a mistake in the name of configuration.php
It was cofiguration.php! So stupid!

Thank you again!

Last edited by jenny; 11.06.2005 at 11:56.
jenny is offline   Reply With Quote
Old 11.06.2005, 14:28   #4
lingkau
Mamber
 
Join Date: Sep 2004
Posts: 50
lingkau is on a distinguished road
Default Re: Problem when moving site from local to remote server

Try the following tutorial:

http://www.mamboinfo.com/index.php?o...d=37&Itemid=50

It is a tutorial from MSAS to live internet but most of the steps will work.


Good luck
lingkau is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation failure of components on remote site and .htaccess problems nascent Mambo 4.5 'How Do I' Questions 1 10.09.2004 05:19
Installation problem on a Linux server ambient Mambo 4.5 Installation and Upgrades 2 12.07.2004 17:23
installation problem on local PC gikera Mambo 4.5 Installation and Upgrades 3 11.07.2004 15:31
Site monitor 2 problem heyjoe Component Development 4 09.04.2004 20:14


All times are GMT +2. The time now is 06:54.

Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.