JFTP: bad response

Joomla versions 2.5, 1.7 and 1.6 are all end-of-life since December 31st 2014 and are no longer supported. Please use Joomla 3.x instead.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
mende
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Thu Jun 23, 2011 9:49 am

JFTP: bad response

Post by mende » Wed May 02, 2012 3:33 pm

Hi everyone, I'm struggling with uploading/installing extensions and templates in my Joomla! 2.4.5 website. At first, I tried configuring the folder/file permissions, setting everything to writable (acknowledged by Joomla's system info page). That didn't work... So I then tried configuring a FTP layer (by hand, I do not have permission to write configuration.php directly), but when I try to upload/install anything now, I get the following friendly-looking message:

Image

I don't know where things go wrong. Could anyone help me out on this?

[Mod Note: Bump post by you deleted. Please do not bump your messages. Read the Forum Rules for full details.

User avatar
stgeorge
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 208
Joined: Fri Jan 30, 2009 4:32 pm
Location: UK

Re: JFTP: bad response

Post by stgeorge » Fri May 11, 2012 4:09 pm

Try looking at these issues to see if they solve the problem:
http://winfoes.co.uk/joomla-faq/core/17 ... -what-next

mende
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Thu Jun 23, 2011 9:49 am

Re: JFTP: bad response

Post by mende » Fri May 11, 2012 5:05 pm

Thanks for your reply. The solution you proposed did not work for me. But I realised that I could add an excerpt from the error log:

Code: Select all

[Fri May 11 18:59:28 2012] [error] [client xxx] PHP Warning: file_put_contents() [<a href='function.file-put-contents'>function.file-put-contents</a>]: Unable to access /var/www/vhosts/gea-geologie.nl/subdomains/new/httpdocs/tmp/install_4fad457071c2a/administrator/components/com_jce/access.xml in /var/www/vhosts/gea-geologie.nl/subdomains/new/httpdocs/libraries/joomla/filesystem/file.php on line 418, referer: http://new.gea-geologie.nl/administrator/index.php?option=com_installer 
[Fri May 11 18:59:28 2012] [error] [client xxx] PHP Warning: file_put_contents(/var/www/vhosts/gea-geologie.nl/subdomains/new/httpdocs/tmp/install_4fad457071c2a/administrator/components/com_jce/access.xml) [<a href='function.file-put-contents'>function.file-put-contents</a>]: failed to open stream: No such file or directory in /var/www/vhosts/gea-geologie.nl/subdomains/new/httpdocs/libraries/joomla/filesystem/file.php on line 418, referer: http://new.gea-geologie.nl/administrator/index.php?option=com_installer 

mitchell65
Joomla! Ace
Joomla! Ace
Posts: 1614
Joined: Mon May 23, 2011 12:28 pm
Location: Cornwall

Re: JFTP: bad response

Post by mitchell65 » Fri May 11, 2012 5:24 pm

Having just looked at your website I see that it is a new installation with no content yet added so nothing would be lost by deleting all the Joomla files on your site and dropping the database and doing a clean install. I presume you downloaded the Joomla Zip file , then extracted it to a folder on your hard drive then Transferred the Joomla files to your host. Did you use an FTP client to transfer the files and if so, which one and did you use binary mode as the form of transfer? Where did you download the original Joomla Zip file from? Have you checked the PHP version provider by the server to ensure that it is OK for Joomla 2.5.4?

User avatar
stgeorge
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 208
Joined: Fri Jan 30, 2009 4:32 pm
Location: UK

Re: JFTP: bad response

Post by stgeorge » Fri May 11, 2012 5:42 pm

I would check your directory and file permissions
/var/www/vhosts/gea-geologie.nl/subdomains/new/httpdocs/
I am not 100% sure but I think directories in a /var/www/xxxxx/httpdocs/ setup are 751 and files are 644 or something like that. The directory permission is likely to be whatever your httpdocs is set at.

I use cPanel Hosting and my directory permissions are:
Path normally;
username/public_html/
Directories 755
Files 644
Last edited by stgeorge on Fri May 11, 2012 5:59 pm, edited 3 times in total.

mende
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Thu Jun 23, 2011 9:49 am

Re: JFTP: bad response

Post by mende » Fri May 11, 2012 5:45 pm

I use FileZilla (version 3.5.3) to upload in auto-mode, which is probably ASCII. The original Joomla zip comes from http://www.joomla.org/download.html, my host's PHP version is 5.2.17, which should be ok with the Joomla 2.5.4 version (requires 5.2+).

I'll try a fresh installation ASAP.
I would check your directory and file permissions
I've tried 755 and 777, both failed...

mitchell65
Joomla! Ace
Joomla! Ace
Posts: 1614
Joined: Mon May 23, 2011 12:28 pm
Location: Cornwall

Re: JFTP: bad response

Post by mitchell65 » Fri May 11, 2012 5:57 pm

Make sure you use binary mode for transfer!

User avatar
stgeorge
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 208
Joined: Fri Jan 30, 2009 4:32 pm
Location: UK

Re: JFTP: bad response

Post by stgeorge » Fri May 11, 2012 6:01 pm

I would upload the archive via the server file manager and extract on the server if you can as the permissions will be set.

mende
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Thu Jun 23, 2011 9:49 am

Re: JFTP: bad response

Post by mende » Fri May 11, 2012 10:19 pm

I've tried a fresh install using binary mode for transfer, but no luck (still got the same error)

User avatar
stgeorge
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 208
Joined: Fri Jan 30, 2009 4:32 pm
Location: UK

Re: JFTP: bad response

Post by stgeorge » Fri May 11, 2012 10:36 pm

I have just noticed you tried to install JCE Editor.
It cannot be installed with the Installer.
I tried a week ago.
Try installing any other extension.
Try CKEditor instead

There was some palaver as to the install procedure on their website which I started to read and thought better of it, hence I installed CKEditor.

mitchell65
Joomla! Ace
Joomla! Ace
Posts: 1614
Joined: Mon May 23, 2011 12:28 pm
Location: Cornwall

Re: JFTP: bad response

Post by mitchell65 » Sat May 12, 2012 7:35 am

JCE Editor will install perfectly well if the original installation of Joomla was 100% successful. There seems to be a problem somewhere with the Joomla install. To eliminate the possible reasons for this I would suggest that you install Joomla on a local server. If you follow my Guide (link to which is in my signature) exactly, then when you are up and running install your extensions to that setup. If all goes well we can assume that there is a problem with your server. So install Akeeba backup on your local server Joomla instance and use that with Kickstart to upload to your server. See if that works OK and report back here!

User avatar
humvee
Joomla! Master
Joomla! Master
Posts: 14704
Joined: Wed Aug 17, 2005 10:27 pm
Location: Kent, England

Re: JFTP: bad response

Post by humvee » Sat May 12, 2012 9:58 am

Please run the Forum post Assistant to provide the information to help us try and resolve the issue.

This would be a good starting point rather than chasing after all the documents that you have been referred to.

User avatar
humvee
Joomla! Master
Joomla! Master
Posts: 14704
Joined: Wed Aug 17, 2005 10:27 pm
Location: Kent, England

Re: JFTP: bad response

Post by humvee » Sat May 12, 2012 9:59 am

[Mod note: Moved from General Forum to Installation Forum;]

mende
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Thu Jun 23, 2011 9:49 am

Re: JFTP: bad response

Post by mende » Sat May 12, 2012 10:32 am

Thanks Humvee, I didn't even know such a tool existed. Here's the output:
Forum Post Assistant (v1.2.1) : 12th May 2012 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 2.5.4-Stable (Ember) 2-April-2012
Joomla! Platform :: Joomla Platform 11.4.0-Stable (Brian Kernighan) 03-Jan-2012
Joomla! Configured :: Yes | Writable (777) | Owner: 10163 (uid: /gid: ) | Group: 505 (gid: ) | Valid For: 1.5
Configuration Options :: Offline: 0 | SEF: 1 | SEF Suffix: 0 | SEF ReWrite: 0 | .htaccess/web.config: No | GZip: 0 | Cache: 0 | FTP Layer: 1 | SSL: N/A | Error Reporting: default | Site Debug: 0 | Language Debug: 0 | Default Access: N/A | Unicode Slugs: N/A | Database Credentials Present: Yes

Host Configuration :: OS: Linux | OS Version: 2.6.18-238.9.1.el5 | Technology: x86_64 | Web Server: Apache/2.2.0 (Fedora) | Encoding: gzip,deflate,sdch | Doc Root: /var/www/vhosts/gea-geologie.nl/subdomains/new/httpdocs | System TMP Writable: No

PHP Configuration :: Version: 5.2.17 | PHP API: apache2handler | Session Path Writable: Unknown | Display Errors: | Error Reporting: 6135 | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: 1 | Open Base: /var/www/vhosts/gea-geologie.nl/subdomains/new/httpdocs:/tmp | Uploads: 1 | Max. Upload Size: 50M | Max. POST Size: 24M | Max. Input Time: 60 | Max. Execution Time: 30 | Memory Limit: 64M

MySQL Configuration :: Version: 5.5.24-cll (Client:5.0.90) | Host: --protected-- (--protected--) | Collation: utf8_general_ci (Character Set: utf8) | Database Size: 17.16 MiB | #of _FPA_TABLE: 96
Detailed Environment :: wrote:PHP Extensions :: date (5.2.17) | libxml () | openssl () | pcre () | zlib (1.1) | bz2 () | calendar () | ctype () | hash (1.0) | filter (0.11.0) | ftp () | gettext () | gmp () | session () | iconv () | Reflection (0.1) | standard (5.2.17) | shmop () | SimpleXML (0.1) | SPL (0.2) | sockets () | exif (1.4 $Id: exif.c 293036 2010-01-03 09:23:27Z sebastian $) | tokenizer (0.1) | xml () | apache2handler () | imagick (2.3.0) | bcmath () | curl () | dba () | dbase () | dom (20031129) | gd () | imap () | json (1.2.1) | ldap () | mbstring () | mcrypt () | mhash () | mssql () | mysql (1.0) | mysqli (0.1) | ncurses () | odbc (1.0) | PDO (1.0.4dev) | pdo_dblib (1.0.1) | pdo_mysql (1.0.2) | PDO_ODBC (1.0.1) | pdo_pgsql (1.0.2) | pdo_sqlite (1.0.1) | pgsql () | pspell () | snmp () | soap () | sqlite (1.0.3) | suhosin (0.9.32.1) | tidy (2.0) | wddx () | xmlreader (0.1) | xmlrpc (0.51) | xmlwriter (0.1) | xsl (0.1) | zip (1.8.11) | ionCube Loader () | Zend Optimizer () | Zend Engine (2.2.0) |
Potential Missing Extensions ::

Switch User Environment (Experimental) :: PHP CGI: No | Server SU: No | PHP SU: No | Custom SU (LiteSpeed/Cloud/Grid): No
Potential Ownership Issues: Maybe

Apache Modules :: core | prefork | http_core | mod_so | mod_auth_basic | mod_auth_digest | mod_authn_file | mod_authn_alias | mod_authn_anon | mod_authn_dbm | mod_authn_default | mod_authz_host | mod_authz_user | mod_authz_owner | mod_authz_groupfile | mod_authz_dbm | mod_authz_default | util_ldap | mod_authnz_ldap | mod_include | mod_log_config | mod_logio | mod_env | mod_ext_filter | mod_mime_magic | mod_expires | mod_deflate | mod_headers | mod_usertrack | mod_setenvif | mod_mime | mod_dav | mod_status | mod_autoindex | mod_info | mod_dav_fs | mod_vhost_alias | mod_negotiation | mod_dir | mod_actions | mod_speling | mod_userdir | mod_alias | mod_rewrite | mod_proxy | mod_proxy_balancer | mod_proxy_ftp | mod_proxy_http | mod_proxy_connect | mod_cache | mod_suexec | mod_disk_cache | mod_file_cache | mod_mem_cache | mod_cgi | mod_version | mod_unique_id | mod_security2 | mod_suphp | mod_ssl | mod_fcgid | mod_perl | mod_php5 | mod_proxy_ajp | Apache/2.2.0 (Fedora) |
Potential Missing Modules :: mod_security | mod_evasive | mod_dosevasive | mod_qos | mod_userdir |
Folder Permissions :: wrote:Core Folders :: images/ (777) | components/ (777) | modules/ (777) | plugins/ (777) | language/ (777) | templates/ (777) | cache/ (777) | logs/ (777) | tmp/ (777) | administrator/components/ (777) | administrator/modules/ (777) | administrator/language/ (777) | administrator/templates/ (777) |

Elevated Permissions (First 10) :: None libraries/ (777) | libraries/cms/ (777) | libraries/cms/captcha/ (777) | libraries/cms/html/ (777) | libraries/phputf8/ (777) | libraries/phputf8/mbstring/ (777) | libraries/phputf8/native/ (777) | libraries/phputf8/utils/ (777) | logs/ (777) |
Database Information :: wrote:Database _FPA_STATS :: Uptime: 41008 | Threads: 1 | Questions: 19033421 | Slow queries: 21 | Opens: 137404 | Flush tables: 1 | Open tables: 1024 | Queries per second avg: 464.139 |
Extensions Discovered :: wrote:Components :: SITE :: com_mailto (2.5.0) | com_wrapper (2.5.0) |
Components :: ADMIN :: com_messages (2.5.0) | com_joomlaupdate (2.5.0) | com_content (2.5.0) | com_categories (2.5.0) | com_weblinks (2.5.0) | com_search (2.5.0) | com_config (2.5.0) | com_redirect (2.5.0) | com_cpanel (2.5.0) | com_modules (2.5.0) | com_admin (2.5.0) | com_finder (2.5.0) | com_languages (2.5.0) | com_checkin (2.5.0) | com_newsfeeds (2.5.0) | com_installer (2.5.0) | com_login (2.5.0) | com_cache (2.5.0) | com_menus (2.5.0) | com_templates (2.5.0) | com_users (2.5.0) | com_banners (2.5.0) | com_plugins (2.5.0) | com_media (2.5.0) |

Modules :: SITE :: mod_articles_archive (2.5.0) | mod_articles_news (2.5.0) | mod_stats (2.5.0) | mod_languages (2.5.0) | mod_articles_latest (2.5.0) | mod_articles_popular (2.5.0) | mod_finder (2.5.0) | mod_menu (2.5.0) | mod_articles_categories (2.5.0) | mod_wrapper (2.5.0) | mod_custom (2.5.0) | mod_footer (2.5.0) | mod_articles_category (2.5.0) | mod_random_image (2.5.0) | mod_users_latest (2.5.0) | mod_feed (2.5.0) | mod_search (2.5.0) | mod_breadcrumbs (2.5.0) | mod_whosonline (2.5.0) | mod_weblinks (2.5.0) | mod_syndicate (2.5.0) | mod_login (2.5.0) | mod_related_items (2.5.0) | mod_banners (2.5.0) |
Modules :: ADMIN :: mod_quickicon (2.5.0) | mod_menu (2.5.0) | mod_submenu (2.5.0) | mod_custom (2.5.0) | mod_version (2.5.0) | mod_popular (2.5.0) | mod_logged (2.5.0) | mod_title (2.5.0) | mod_feed (2.5.0) | mod_toolbar (2.5.0) | mod_multilangstatus (2.5.0) | mod_latest (2.5.0) | mod_login (2.5.0) | mod_status (2.5.0) |

Plugins :: SITE :: plg_extension_joomla (2.5.0) | plg_editors-xtd_image (2.5.0) | plg_editors-xtd_pagebreak (2.5.0) | plg_editors-xtd_article (2.5.0) | plg_editors-xtd_readmore (2.5.0) | plg_editors_codemirror (1.0) | plg_editors_tinymce (3.4.9) | plg_captcha_recaptcha (2.5.0) | plg_authentication_ldap (2.5.0) | plg_authentication_joomla (2.5.0) | plg_authentication_gmail (2.5.0) | plg_finder_newsfeeds (2.5.0) | plg_finder_weblinks (2.5.0) | plg_finder_contacts (2.5.0) | plg_finder_categories (2.5.0) | plg_finder_content (2.5.0) | plg_search_newsfeeds (2.5.0) | plg_search_weblinks (2.5.0) | plg_search_contacts (2.5.0) | plg_search_categories (2.5.0) | plg_search_content (2.5.0) | plg_quickicon_extensionupdate (2.5.0) | plg_quickicon_joomlaupdate (2.5.0) | plg_user_profile (2.5.0) | plg_user_contactcreator (2.5.0) | plg_user_joomla (2.5.0) | plg_content_pagebreak (2.5.0) | plg_content_pagenavigation (2.5.0) | plg_content_loadmodule (2.5.0) | plg_content_geshi (2.5.0) | plg_content_emailcloak (2.5.0) | plg_content_finder (2.5.0) | plg_content_joomla (2.5.0) | plg_content_vote (2.5.0) | plg_system_debug (2.5.0) | plg_system_logout (2.5.0) | plg_system_p3p (2.5.0) | plg_system_languagefilter (2.5.0) | plg_system_log (2.5.0) | plg_system_languagecode (2.5.0) | plg_system_highlight (2.5.0) | plg_system_redirect (2.5.0) | plg_system_cache (2.5.0) | plg_system_sef (2.5.0) | plg_system_remember (2.5.0) |
Templates Discovered :: wrote:Templates :: SITE :: beez_20 (2.5.0) | atomic (2.5.0) | beez5 (2.5.0) |
Templates :: ADMIN :: hathor (2.5.0) | bluestork (2.5.0) |

User avatar
humvee
Joomla! Master
Joomla! Master
Posts: 14704
Joined: Wed Aug 17, 2005 10:27 pm
Location: Kent, England

Re: JFTP: bad response

Post by humvee » Sat May 12, 2012 10:36 am

Well immediately it strikes me - and unrelated to the issue - that your configuration.php is insecure and should be set to permissions 644, and your directories to 755 and not the 777 that they all are at present.

mende
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Thu Jun 23, 2011 9:49 am

Re: JFTP: bad response

Post by mende » Sat May 12, 2012 12:06 pm

The 777 permisions is a result from testing various permissions in order to try to get it to work. They used to be 755, but then Joomla complains that those folders/files are not writable. This is a security issue rather than the technical one which I'm trying to solve.

Once the problem is resolved all permissions will be reset. (I promise!)

User avatar
stgeorge
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 208
Joined: Fri Jan 30, 2009 4:32 pm
Location: UK

Re: JFTP: bad response

Post by stgeorge » Sat May 12, 2012 1:25 pm

JCE Editor.
This exact problem happened to me, as said a week ago.
Directories are right to be 755 if that was the original setting with files at 644, (except configuration.php 444).
Simply set all directories and files as was and try to install anything else.

You cannot do anything at the moment with those directory permissions.

User avatar
humvee
Joomla! Master
Joomla! Master
Posts: 14704
Joined: Wed Aug 17, 2005 10:27 pm
Location: Kent, England

Re: JFTP: bad response

Post by humvee » Sat May 12, 2012 3:24 pm

The server in its current configuration is currently only suitable for Joomla! 1.5.

Is this a managed/shared hosting or a dedicated server?

Check to see whether the mod_security is installed and properly configured.

This is a server and not a Joomla! issue.

@stgeorge
The issue is beyond JUST JCE editor as the current install does not include this addition and still the problem persists, the issues that have been raised appear to be because of the ownership of the site, and the interaction of the FTP Layer with this, which should normally overcome the issue. This is probably as a result of a server misconfiguration.

mende
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Thu Jun 23, 2011 9:49 am

Re: JFTP: bad response

Post by mende » Sat May 12, 2012 5:48 pm

humvee wrote:The server in its current configuration is currently only suitable for Joomla! 1.5.

Is this a managed/shared hosting or a dedicated server?
Sadly this is a shared hosting server so I can't tweak the settings myself. Perhaps I can ask the hosting provider to get it to work (little chance though). What do I specifically need to ask for?


Locked

Return to “Installation Joomla! 2.5”