Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Convert
Wordpress to Elxis
with
Elxis importer
!
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
About to move the site from sub-dir to main Please Help-Error [SOLVED]
« previous
next »
Print
Pages: [
1
]
2
Author
Topic: About to move the site from sub-dir to main Please Help-Error [SOLVED] (Read 11992 times)
ROUBOS
Hero Member
Posts: 699
About to move the site from sub-dir to main Please Help-Error [SOLVED]
«
on:
January 09, 2010, 01:50:42 »
Hi all,
I'm about to move the site I finished from the sub directory to the main one.
Looking at this site:
http://wiki.elxis.org/wiki/Move_Elxis_from_a_sub-dir_to_the_root_dir
just wanted to ask if there is something else I should be looking out for.
Any tips.
«
Last Edit: January 09, 2010, 14:48:21 by ROUBOS
»
Logged
ks-net
Elxis Community
Hero Member
Posts: 2072
Kostas Stathopoulos
Re: About to move the site from sub-dir to main....
«
Reply #1 on:
January 09, 2010, 02:54:50 »
no ..are all there..
just this=> if you are not familiar with ssh .. copy files manually
Logged
ks-net.gr
ROUBOS
Hero Member
Posts: 699
Re: About to move the site from sub-dir to main....
«
Reply #2 on:
January 09, 2010, 03:03:47 »
thanks. I think I'm going to do it via FTP. Either from the console, or FileZilla
Logged
ROUBOS
Hero Member
Posts: 699
Re: About to move the site from sub-dir to main....
«
Reply #3 on:
January 09, 2010, 03:56:14 »
I'm in PHPmyAdmin and want to take a full database back up and then update the urls within the database... how ?
Did all apart from:
Save the SQL file and import it in your online database (you will have to drop all existing db tables before).
Some components or modules maybe using at their configuration parameters paths to some directories... check also you DB for those paths!
Need to iport it.. how do i drop the tables... and check if module and component paths are ok?
«
Last Edit: January 09, 2010, 04:08:30 by ROUBOS
»
Logged
ROUBOS
Hero Member
Posts: 699
Re: About to move the site from sub-dir to main....
«
Reply #4 on:
January 09, 2010, 04:21:40 »
OK,
I backed it up, changed the links using PSPad, and restored it.
Hope its all ok now
Please help. I tried getting into the administrator pages, I get PHP errors, and then logs me out
Logged
ks-net
Elxis Community
Hero Member
Posts: 2072
Kostas Stathopoulos
Re: About to move the site from sub-dir to main.... Please Help- Error on Admin page
«
Reply #5 on:
January 09, 2010, 04:52:12 »
copy here the error...
Logged
ks-net.gr
ROUBOS
Hero Member
Posts: 699
Re: About to move the site from sub-dir to main.... Please Help- Error on Admin page
«
Reply #6 on:
January 09, 2010, 04:55:57 »
I don't get the chance to copy anything. I get several php errors and then it takes me back to the login screen
The site seems to be working fine
Logged
ROUBOS
Hero Member
Posts: 699
Re: About to move the site from sub-dir to main.... Please Help- Error on Admin page
«
Reply #7 on:
January 09, 2010, 04:57:36 »
I did not drop the tables before importing the backup database. could this be a problem?
Logged
ks-net
Elxis Community
Hero Member
Posts: 2072
Kostas Stathopoulos
Re: About to move the site from sub-dir to main.... Please Help- Error on Admin page
«
Reply #8 on:
January 09, 2010, 05:03:59 »
yea.. since you follow default settings in phpmyadmin when exporting....
in few words your
database is still the old-one
! since the old tables exists phpmyadmin did not overwritten them during the import...
1- export(use defult settings)
2-save in your pc the file
3-
make a copy
of this file
4-
edit the copy
apply new paths etc...
5- go in phpmyadmin .. select all tables..scroll down... in the drop-down... with selected=>drop-delete.. db now have 0 tables...
6- import the modified copy with phpmyadmin
«
Last Edit: January 09, 2010, 05:05:47 by ks-net
»
Logged
ks-net.gr
ROUBOS
Hero Member
Posts: 699
Re: About to move the site from sub-dir to main.... Please Help- Error on Admin page
«
Reply #9 on:
January 09, 2010, 05:09:06 »
Well just did it again. Dropped the tables. Successfully imported the DB file, and the problem is the same
Logged
ks-net
Elxis Community
Hero Member
Posts: 2072
Kostas Stathopoulos
Re: About to move the site from sub-dir to main.... Please Help- Error on Admin page
«
Reply #10 on:
January 09, 2010, 05:12:23 »
if you want PM me access
i assumed that you copied all files..
and you have
check again permissions
for
cache 777 and tmp 777
folder.. if not you can not login to admin...
Logged
ks-net.gr
ROUBOS
Hero Member
Posts: 699
Re: About to move the site from sub-dir to main.... Please Help- Error on Admin page
«
Reply #11 on:
January 09, 2010, 05:15:23 »
cache and tmpr are both 777
which access do you need? FTP? Elxis Admin?
there are many sess_ files in the main dir
getting these errors on site:
Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/www/vhosts/xxx--removed--xxx/httpdocs)
Unknown: open(/var/www/vhosts/xxx--removed--xxx/httpdocs/sess_llhg23mp9q17sb1fuht0u6tva0, O_RDWR) failed: Permission denied (13)
«
Last Edit: January 09, 2010, 05:49:05 by ks-net
»
Logged
ks-net
Elxis Community
Hero Member
Posts: 2072
Kostas Stathopoulos
Re: About to move the site from sub-dir to main.... Please Help- Error on Admin page
«
Reply #12 on:
January 09, 2010, 05:18:41 »
both..
Logged
ks-net.gr
ROUBOS
Hero Member
Posts: 699
Re: About to move the site from sub-dir to main.... Please Help- Error on Admin page
«
Reply #13 on:
January 09, 2010, 05:20:30 »
if I delete the sess_ files?
Logged
ks-net
Elxis Community
Hero Member
Posts: 2072
Kostas Stathopoulos
Re: About to move the site from sub-dir to main.... Please Help- Error on Admin page
«
Reply #14 on:
January 09, 2010, 05:22:39 »
no-harm.. do it
Logged
ks-net.gr
Print
Pages: [
1
]
2
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
About to move the site from sub-dir to main Please Help-Error [SOLVED]