Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Elxis documentation
for users and developers.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Technical support
»
how do I move my Elxis site from the local machine to an online server?
« previous
next »
Print
Pages: [
1
]
Author
Topic: how do I move my Elxis site from the local machine to an online server? (Read 11429 times)
ROUBOS
Hero Member
Posts: 699
how do I move my Elxis site from the local machine to an online server?
«
on:
October 22, 2009, 19:46:48 »
I have not installed Elxis on the webserver and worked on that. Instead I've been using apache on my computer to develop the site.
Now its time to upload the site.
Should be simple enough... just don't want to make a mistake.
I guess uploading the files (FTP) and then trying to fix the database connection in the cPanel is the way... right?
thanks in advance
Logged
ks-net
Elxis Community
Hero Member
Posts: 2072
Kostas Stathopoulos
Re: how do I move my Elxis site from the local machine to an online server?
«
Reply #1 on:
October 22, 2009, 22:59:31 »
1- copy files via ftp (preserve permissions)
2- install-update db (first fix paths urls ...search for them in text-editor)
3- update configuration.php (fix paths urls etc)
4- softdisk =>update-system
hope not missing something....
you can do an updiag-check to be sure that all files are there
Logged
ks-net.gr
ROUBOS
Hero Member
Posts: 699
Re: how do I move my Elxis site from the local machine to an online server?
«
Reply #2 on:
October 27, 2009, 18:59:56 »
will try,
hope I don't stuff it up. I should upload to a sub directory on the server.
Will it be easier if I install from scratch on the server? (but then I'll have to set the pages up again)
softdisk =>update-system ----
?? how do I do that? what's softdisk ?
Logged
ROUBOS
Hero Member
Posts: 699
Re: how do I move my Elxis site from the local machine to an online server?
«
Reply #3 on:
October 27, 2009, 19:32:02 »
or is it easier to just fto through the administrator?
Logged
ks-net
Elxis Community
Hero Member
Posts: 2072
Kostas Stathopoulos
Re: how do I move my Elxis site from the local machine to an online server?
«
Reply #4 on:
October 27, 2009, 20:32:49 »
administrator/component/softdisk/update-sytem
Quote
will try,
hope I don't stuff it up. I should upload to a sub directory on the server.
try as many times as you want.. your local site will always be there..
upload to any dir you want... but if you want to have this as your primary site for you domain then upload to the root
do as says here:
http://wiki.elxis.org/wiki/Move_Elxis_from_a_sub-dir_to_the_root_dir
is the same process.. the only difference that the root dir this time is in a public server
use ftp to upload
«
Last Edit: October 27, 2009, 20:37:37 by ks-net
»
Logged
ks-net.gr
ROUBOS
Hero Member
Posts: 699
Re: how do I move my Elxis site from the local machine to an online server?
«
Reply #5 on:
October 27, 2009, 20:53:32 »
thank you.
will do it tonight and keep you informed here.
thanks again
Logged
ROUBOS
Hero Member
Posts: 699
Re: how do I move my Elxis site from the local machine to an online server?
«
Reply #6 on:
October 28, 2009, 00:32:17 »
OK, how is the database uploaded? is it sitting in the elxis folder? so when i upload the elxis folder everything gets uploaded?
OK I have uploaded the site into a subfilder on the server (" /httpdocs/subfolder/ "). I edited the configuration.php as per this:
http://wiki.elxis.org/wiki/Move_Elxis_from_a_sub-dir_to_the_root_dir
Now how do I upload the database? How do I backup the database on the local machine?
The server is using a Plesk control panel.
Sorry, but could someone explain the process in detail?
thanks and sorry if this seems so stupid
«
Last Edit: October 28, 2009, 01:37:23 by ROUBOS
»
Logged
ks-net
Elxis Community
Hero Member
Posts: 2072
Kostas Stathopoulos
Re: how do I move my Elxis site from the local machine to an online server?
«
Reply #7 on:
October 28, 2009, 01:38:27 »
at your cpanel create db and with your server's phpmyadmin import the file that you have previously export from your local db through your local phpmyadmin.
before importing the db open with text editor and modify paths urls etc..
Logged
ks-net.gr
ROUBOS
Hero Member
Posts: 699
Re: how do I move my Elxis site from the local machine to an online server?
«
Reply #8 on:
October 28, 2009, 01:45:20 »
So I need to install phpMyAdmin onto the online server as well .... ?
any particular options required in order to export the db properly? or default ok?
Logged
ks-net
Elxis Community
Hero Member
Posts: 2072
Kostas Stathopoulos
Re: how do I move my Elxis site from the local machine to an online server?
«
Reply #9 on:
October 28, 2009, 01:49:14 »
default usually is ok... you will immediately see it, if it is not ok!
99% cpanels out there have a phpmyadmin, which cpanel is?
Logged
ks-net.gr
ROUBOS
Hero Member
Posts: 699
Re: how do I move my Elxis site from the local machine to an online server?
«
Reply #10 on:
October 28, 2009, 01:49:59 »
its the Plesk Control Panel 8.6
and were do I find the exported database?
I selected my database to export, I left all option as they were, and hit go...
I got a phpMyAdmin SQL Dump in the form of a text file shown in the browser.. where do i go from there?
OK i created a database on the server, created a user for it and now can access the phpMyAdmin so I should be able to import the db.
Where does the exported DB go? and to i ftp it to a folder in the server?
«
Last Edit: October 28, 2009, 02:14:55 by ROUBOS
»
Logged
ks-net
Elxis Community
Hero Member
Posts: 2072
Kostas Stathopoulos
Re: how do I move my Elxis site from the local machine to an online server?
«
Reply #11 on:
October 28, 2009, 01:58:19 »
in plesk it is called as
DBwebadmin
Logged
ks-net.gr
ROUBOS
Hero Member
Posts: 699
Re: how do I move my Elxis site from the local machine to an online server?
«
Reply #12 on:
October 28, 2009, 02:22:32 »
sorry did not check "save as file"
sorry... must be the time of the night and the bacardi breezer ...
Logged
ROUBOS
Hero Member
Posts: 699
Re: how do I move my Elxis site from the local machine to an online server?
«
Reply #13 on:
October 28, 2009, 02:32:26 »
oops got an error when importing
character set error
CREATE DATABASE `mydatabase` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
MySQL said:
#1007 - Can't create database 'mydatabase'; database exists
Tried once more, looks like there is an issue with the character set. When I choose to import, ii has only the 'utf8' choice. no 'utf8_general_ci'
«
Last Edit: October 28, 2009, 02:39:40 by ROUBOS
»
Logged
ks-net
Elxis Community
Hero Member
Posts: 2072
Kostas Stathopoulos
Re: how do I move my Elxis site from the local machine to an online server?
«
Reply #14 on:
October 28, 2009, 03:49:08 »
the db exists ..
you shouldn't add the create database option when export the db...
in your file that you export from localhost delete all text above....
CREATE TABLE IF NOT EXISTS `elx_banner` (
Logged
ks-net.gr
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
Technical support
»
how do I move my Elxis site from the local machine to an online server?