Welcome to Geeklog Sunday, August 25 2019 @ 08:14 pm EDT

Geeklog Forums

Copy And Paste


Status: offline

thefilmmaker

Forum User
Regular Poster
Registered: 18/10/04
Posts: 105
If I was to copy and paste the Geeklog directory of another site (one of my other ones) into the ftp account of another (a new one) would it work?

If so, where would I find the address lines in the code that I would need to change inorder to have the site working correctly?

Please help.

Status: offline

thefilmmaker

Forum User
Regular Poster
Registered: 18/10/04
Posts: 105
In reference to the above I get the message below:

Warning: main(): open_basedir restriction in effect. File(/home/sites/MY SITE/htdocs/home/_files/config.php) is not within the allowed path(s): (/tmp:/usr/share/pear:/home/fhlinux182/h/MY SITE/user) in /home/fhlinux182/h/MY SITE/user/htdocs/home/lib-common.php on line 70

Warning: main(/home/sites/MY SITE/htdocs/home/_files/config.php): failed to open stream: Operation not permitted in /home/fhlinux182/h/MY SITE/user/htdocs/home/lib-common.php on line 70

Fatal error: main(): Failed opening required '/home/sites/MY SITE/htdocs/home/_files/config.php' (include_path='.:/usr/share/pear') in /home/fhlinux182/h/MY SITE/user/htdocs/home/lib-common.php on line 70

Where MY SITE is my website address (minus the www. part). Can anyone help me? Please!!!!

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
Moving the files to another server is just like doing a fresh install there. And of course that means that you will have to adjust your paths in config.php and the one in lib-common.php.

bye, Dirk

Status: offline

thefilmmaker

Forum User
Regular Poster
Registered: 18/10/04
Posts: 105
When you say that I need to change the address lines in these two files, do you mean that that is all I need to do.

I just need to copy all the files into my directory on my ftp account then open these two files and change the lines, then it will work?

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
... and run the install script. Yes, that will work.

bye, Dirk

Status: offline

thefilmmaker

Forum User
Regular Poster
Registered: 18/10/04
Posts: 105
I have solved the problem, thank you for your help.

All times are EDT. The time is now 08:14 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content