Posted on: 04/15/05 05:15pm
By: garfy
I have it installed in folder cute, now i want to change that and install it in cute1, is it possible and what do i have to change
Is there an easier way to do it
I do no0t have domin yet so i have to type to get to thos geeklog mypreviousdomain.com/cute/public_html
Is it possible to disable this url path so noone can get to this geeklog, because i will buy a new domain and i will not have to use the path again
sorry for complex q
I want to move geeklog to anotehr folder
Posted on: 04/15/05 05:46pm
By: jhk
[QUOTE BY= garfy] I have it installed in folder cute, now i want to change that and install it in cute1, is it possible and what do i have to change[/QUOTE]
You have to edit the paths in lib-common.php and config.php. Very simple actually.
I do no0t have domin yet so i have to type to get to thos geeklog mypreviousdomain.com/cute/public_html
Is it possible to disable this url path so noone can get to this geeklog, because i will buy a new domain and i will not have to use the path again
You could use a .htaccess file, but as long as you set the new domain name in config.php, you shouldn't have to worry about it. It is not really a security issue - mainly a cosmetic one.
sorry for complex q
Which complex question?
I want to move geeklog to anotehr folder
Posted on: 04/15/05 05:57pm
By: garfy
[QUOTE BY= jhk] [QUOTE BY= garfy] I have it installed in folder cute, now i want to change that and install it in cute1, is it possible and what do i have to change[/QUOTE]
You have to edit the paths in lib-common.php and config.php. Very simple actually.
I do no0t have domin yet so i have to type to get to thos geeklog mypreviousdomain.com/cute/public_html
Is it possible to disable this url path so noone can get to this geeklog, because i will buy a new domain and i will not have to use the path again
You could use a .htaccess file, but as long as you set the new domain name in config.php, you shouldn't have to worry about it. It is not really a security issue - mainly a cosmetic one.
sorry for complex q
Which complex question? [/QUOTE]
i changed it in lib and config and it didnt work
on how many places do i have to change it, can u be more recise
and how to do that other stuff
but i would prefer changing folder, because someone else know where geeklog is and i want to be a secret
I want to move geeklog to anotehr folder
Posted on: 04/15/05 07:30pm
By: jhk
IIRC you have to change one path in lib-common.php and two paths in config.php (depending on your setup).
.htaccess redirection intro[*1]
I want to move geeklog to anotehr folder
Posted on: 04/16/05 12:57am
By: Sand Man
are you positive you have changed all of your paths in lib-common.php and config.php? is your databaes information the same?
I want to move geeklog to anotehr folder
Posted on: 04/16/05 05:56pm
By: jhk
So, did it work out for you?
Re: I want to move geeklog to another folder
Posted on: 03/21/12 01:29am
By: GeeklogLover
Hi,
I am trying to move GeekLog from site root to to another folder named /home. I followed your instruction but the only file I see is db-configure.php, lib-common.php.
Are these two files the same as the files I mentioned above? "You have to edit the paths in
lib-common.php and config.php. Very simple actually"
In the file lib-common.php, do I change anything here? and How?
require_once 'siteconfig.php';
/**
* Configuration class
*/
require_once $_CONF['path_system'] . 'classes/config.class.php';
$config =& config::get_instance();
$config->set_configfile($_CONF['path'] . 'db-config.php'
;
$config->load_baseconfig();
$config->initConfig();
In file
siteconfig.php I added the new path /home and copied all the contents of my Installed Geeklog site into it ( e.g - Full Path to my Site/Mysite.com/home/). NO Changes were made to the Database or password.
when I now search for the site www.mysite.com/home,
I get the message:
Warning: fopen() [function.fopen]: Unable to access Full Path to mysite/mysite.com//logs/error.log in/usr/local/ Full Path to mysite/mysite.com//home/lib-common.php on line 1950
Warning: fopen(/usr/ Full Path to mysite/mysite.com///logs/error.log) [function.fopen]: failed to open stream: No such file or directory in/usr/local/ Full Path to mysite/mysite.com//home/lib-common.php on line 1950
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/ Full Path to mysite/mysite.com//home/lib-common.php:1950) in/usr/ Full Path to mysite/mysite.com//home/lib-common.php on line 6718
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/ Full Path to mysite/mysite.com//home/lib-common.php:1950) in/usr/ Full Path to mysite/mysite.com//home/lib-common.php on line 6719
Unfortunately, an error has occurred rendering this page. Please try again later.
What do I do now?
Thanks.
Re: I want to move geeklog to anotehr folder
Posted on: 03/21/12 04:58am
By: ::Ben
You do not need to edit files but you will need to install
the rescue tool[*2] to change your paths.
[*3]
Ben
Re: I want to move geeklog to anotehr folder
Posted on: 03/21/12 05:15am
By: Dirk
Actually, you should be able to do a Migration with the install script, i.e. use the Migration option in the install script and choose the option to migrate your current database.
Having backups can't hurt, of course
bye, Dirk
Re: I want to move geeklog to anotehr folder
Posted on: 03/21/12 10:54am
By: Anonymous (GeekLog-Lover)
I will do as suggested and will post feedback of result. Thanks.
Re: I want to move geeklog to anotehr folder
Posted on: 03/23/12 12:46pm
By: GeeklogLover
Thanks to JHK, Ben and as usual Dirk.
The rescue/migration tool works. I believe this is a must Have tool. I will try out Dirk's option in another experiment.
Yee Haw, Geeklog All Day Baby...