Elxis CMS Forum
Support => Elxis 4.x/5.x DEV => Topic started by: rentasite on September 24, 2012, 20:50:26
-
After an update i did on my server (cause of PDOs), i proceeded with the Elxis 4.x installation. Everything seems OK. Just 2 comments:
1. On Step 3, the data imputed for FTP connection was correct, but i got a "login failed" message (see attachment).
2. The installation was done using Revision 1292 and i don't face the problem michalis1984 faced https://forum.elxis.org/index.php?topic=7032.msg46541#msg46541
I will process again, another installation ;D this time using Rev 1295. I have 1-2 questions. I'll update this post also with the online site (url).
-
Finished with the Rev1295 installation.
For some reason the Database Settings show an "internal error" message - and the FTP Settings show a "Login failed" message. But the installation continues without any problem. Especially regarding the database warning, it seems strange to me! ::)
So... i don't have the FTP connection working (confirmed also from the Administration area). I've tried various scenarios. Eg ftp.mysite.exc and www.mysite.exc as a host, Port 0 or Port 21. The settings are surely correct, but it doesn't work!
Thus arises another question, beyond the FTP prob: When the FTP connection doesn't work, what are the correct permissions for files and folders?
-
i install the rev1925 without problems and with ftp options to no, after the installation i was try to enable ftp from the administrator and it gives me that
..........
The connection to the FTP server was successful. Elxis installation was not found on FTP! Check the value of the FTP path option.
..........
-
i install the rev1925 without problems and with ftp options to no, after the installation i was try to enable ftp from the administrator and it gives me that
..........
The connection to the FTP server was successful. Elxis installation was not found on FTP! Check the value of the FTP path option.
..........
The same to me!
In three different server
-
Anyone else having the same problem?
So... i don't have the FTP connection working (confirmed also from the Administration area). I've tried various scenarios. Eg ftp.mysite.exc and www.mysite.exc as a host, Port 0 or Port 21. The settings are surely correct, but it doesn't work!
Cause of this, i continually discover wrong folder/file permissions!
-
Connection succeed means that Elxis found the ftp host.
Login failed means that supplied username/password are wrong
Elxis installation was not found on FTP means that the relative path is wrong, there is no Elxis there.
FTP has been checked and works good, I will check it once more later.
-
Login failed means that supplied username/password are wrong
While having an FTP client open in parallel with the Elxis installation and later the Elxis Administration, used the same username/password. With the FTP client i logged in. But Elxis installation does not recognize them.
correctly confirmed
-
OK, I will check it.
Note: Elxis repository needs to be writeable by the web server, FTP will not always work there as Elxis might needs to write to repository before it is fully loaded (eg. a defender alarm). So To make Elxis repository writeable use these options:
With suexec/suphp
Nothing to do, everything is writeable, no need for FTP too.
Writeable permissions for folders: 755
Writeable permissions for files: 644
With mod_php (php runs as an apache module)
You will need FTP support for the readonly folders/files (or make them writeable).
Writeable permissions for folders: 777
Writeable permissions for files: 666
-
Update
Regarding my 2nd post in this topic, the FTP server was failing to accept the authentication data when tried from HTTP. Switched it to proftpd and that works OK.
Other problem/bug?
I tried a new clean installation using Rev1297. During the installation i got the errors below. I can live with this :) but maybe Elxis Team is interested in this:
Connected successfully to FTP host but Elxis filesystem not found. Is the FTP path correct?
Proceeded the installation normally (manual Chmod exc) and now in the Settings area in the Administration, i get this message:
The connection to the FTP server was successful. Elxis installation was not found on FTP! Check the value of the FTP path option.
P.S.: the path is double checked and it's ok
-
When you connect to an FTP server you go to your root folder.
You must provide to Elxis the relative path from your ftp root folder to the folder Elxis is installed without trailing slash.
For example: /public_html
The FTP checker to make sure the path is correct tries to find there these 2 files: inner.php and configuration.php.
If these 2 files exist, then the ftp check script things that the path is correct.
If you get a warning about elxis not found in given path and you are sure the path is correct you can ignore the ftp check script warning... but you should test if Elxis' FTP can indeed work correctly.
-
You must provide to Elxis the relative path from your ftp root folder to the folder Elxis is installed without trailing slash.
For example: /public_html
Yes, i have provided /public_html as i have installed Elxis there.
If you get a warning about elxis not found in given path and you are sure the path is correct you can ignore the ftp check script warning... but you should test if Elxis' FTP can indeed work correctly.
Following your suggestion, i tried to install the module "Facebook Like Box" for an example. I have not "touched" (chmod) the Modules folder through the FTP client... and Ι get this message: Could not create folder modules/mod_fblikebox/
So i suppose Elxis FTP is not working correctly, for me...
-
Try to make /modules 777 and install some module. If it works, check who is the owner of the created dirs/files.
-
Try to make /modules 777 and install some module. If it works, check who is the owner of the created dirs/files.
I'll check it Ivan. Thanks!
-
The files belong to the user nobody. It should be something different?
drwxr-xr-x 2 nobody nobody 4096 Sep 27 02:10 language
-rw-r--r-- 1 nobody nobody 5001 Sep 27 02:10 mod_fblikebox.php
-rw-r--r-- 1 nobody nobody 2716 Sep 27 02:10 mod_fblikebox.xml
-
@rentasite now that the ftp is wroking on your site I will check it once more. Please wait till afternoon.
-
Ok, no problem!
-
Elxis 4.0 Nautilus rev1299 Beta
FTP check script fixed in both elxis configuration and elxis installer.
Fixed a bug in folder creation via FTP.
Added FTP support in Elxis installer.
This fixes will soon be available in a newer Elxis 4.0 srelease.