Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
EDC:
Download extensions for Elxis CMS
.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Installation
»
From Remote Server to Local Disc
« previous
next »
Print
Pages: [
1
]
Author
Topic: From Remote Server to Local Disc (Read 13702 times)
Nuts
Newbie
Posts: 35
From Remote Server to Local Disc
«
on:
February 25, 2016, 12:49:23 »
Greetings:
I am trying to use Xampp to bring down my site to my computer (F:, an external disc) from a remote host in order to test/try things safely, away from main site online.
Here are the steps I took and the errors I got, which I need help with.
1. Installed xampp - done
2. downloaded files through ftp - all good except awstat folder for which the ftp message was such folder was not found. I downloaded this folder direcly from my host control panel and added it to the other files/folders I could download with ftp. Found my repository folder and added it as I did with awstat folder. - done
3. Created a folder in htdoc in xampp and Pasted all the files/folders to it - done
4. Created a database and imported the downlided sql file to it- done
5. Changed configuration file: DB name, local host to root,DB pass, errased all from private URL - done
Question: I get this error as a result: "Elxis repository folder logs does not exist!" I have tried to rename the folder to "repository" and that did not help me either. What am I doing wrong? I will very much appreciate any hint in a no scary no-technical language
. Thanking you in advance !!!
«
Last Edit: February 25, 2016, 13:06:32 by Nuts
»
Logged
webgift
Elxis Team
Hero Member
Posts: 4193
Re: From Remote Server to Local Disc
«
Reply #1 on:
February 25, 2016, 17:04:52 »
The default name of this folder is 'repository' so you have to leave the proper field
empty from the global settings of your Elxis CMS installation. Check this link [1] if you
want to change the name and/or path of repository folder.
[1]:
https://forum.elxis.org/index.php?topic=7223.msg46583#msg46583
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
Nuts
Newbie
Posts: 35
Re: From Remote Server to Local Disc
«
Reply #2 on:
February 25, 2016, 17:32:33 »
Thanks a lot !!!
I changed its name to what it was originally on the remote server. Locally in xampp, I changed the path which looks like this now:
private $REPO_PATH = '/F:/xampp/htdocs/pamirtop/the repository folder name';
now it gives me a server error 500 and says "The website encountered an error while retrieving
http://localhost/web/
. It may be down for maintenance or configured incorrectly.
Logged
webgift
Elxis Team
Hero Member
Posts: 4193
Re: From Remote Server to Local Disc
«
Reply #3 on:
February 25, 2016, 17:34:37 »
Change this on
private $REPO_PATH = '/F:/xampp/htdocs/pamirtop/the repository folder name';
to:
private $REPO_PATH = '';
... and try again ...
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
Nuts
Newbie
Posts: 35
Re: From Remote Server to Local Disc
«
Reply #4 on:
February 25, 2016, 17:40:40 »
with -- private $REPO_PATH = ''; -- it takes me back to this error "Elxis repository folder logs does not exist!"
«
Last Edit: February 25, 2016, 17:43:46 by Nuts
»
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: From Remote Server to Local Disc
«
Reply #5 on:
February 25, 2016, 18:36:22 »
Rename repository folder to the standard name "repository" and place it in Elxis root folder:
components/
estia/
includes/
language/
...
repository/
index.php
inner.php
Open configuration.php and set
private $REPO_PATH = '';
as webgift told you
Open folder "
repository
" and make sure files folders exist there, if not take them from Elxis 4.3 installation package and copy them in that folder.
repository/backup/
repository/cache/
repository/logs/
repository/other/
repository/sessions/
repository/tmp/
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Nuts
Newbie
Posts: 35
Re: From Remote Server to Local Disc
«
Reply #6 on:
February 26, 2016, 10:08:49 »
1. renamed to repository and put in the folder of the site, which is inside XAMPP - HTDOCS. - result, error 500 [1]
2. tried using the reposity from exlis installation also - result, error 500 [1]
in both cases: private $URL = '';
I have also attached the list of files to see where exaclt the repository folder is location and also an attachement to see what is inside of it.
Does error 500 mean, that it is not the reposity folder problem any more? What is it then?
[1] Server error 500 and says "The website encountered an error while retrieving
http://localhost/web/
. It may be down for maintenance or configured incorrectly.
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: From Remote Server to Local Disc
«
Reply #7 on:
February 26, 2016, 13:28:14 »
This is not a repository problem, the repository is fine. It is a server setup problem. Maybe it has to do with the support of htaccess files (do you have mod_rewrite enabled?) Check your server error log to find out what produces the 500 error.
In Apache's
httpd.conf
(apache v2.4 on windows) :
LoadModule rewrite_module modules/mod_rewrite.so
<Directory "F:/xampp/htdocs">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
«
Last Edit: February 26, 2016, 20:14:33 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Nuts
Newbie
Posts: 35
Re: From Remote Server to Local Disc
«
Reply #8 on:
February 27, 2016, 13:02:05 »
I did this:
Opened {xampp_dir}/apache/conf/httpd.conf and searched for string: "LoadModule rewrite_module modules/mod_rewrite.so" and saw it does not have the "#" , (which means it is ok), and then searched for another string "AllowOverride None" found and replaced this:
<Directory />
AllowOverride All
Require all denied
</Directory>
with this:
<Directory "F:/xampp/htdocs">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Running xampp as Amin, switched off vir protecion and made sure Apache is not blocked by Firwell
Result is still the same:
error 500, The website encountered an error while retrieving
http://localhost/pamirtop/
. It may be down for maintenance or configured incorrectly.
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: From Remote Server to Local Disc
«
Reply #9 on:
February 27, 2016, 20:51:33 »
<Directory /> must exist, it is a generic entry. Add a directory entry for your server's document root as I wrote.
in my pc I have
DocumentRoot "E:/myweb"
<Directory "E:/myweb">
...
</Directory>
<Files ".ht*">
#Require all denied
Order allow,deny
Deny from all
Satisfy All
</Files>
I also use virtual hosts inorder to avoid placing Elxis in folders (conf/extra/httpd-vhost.conf). For each virtual host I have an entry like this:
<VirtualHost *:80>
ServerAdmin info@example.com
DocumentRoot "E:/myweb/iosr4"
ServerName iosr4.loc
ErrorLog "logs/iosr4.loc-error.log"
CustomLog "logs/iosr4.loc-access.log" common
</VirtualHost>
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
Installation
»
From Remote Server to Local Disc