[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1372
  • Last Modified:

Joomla FTP Problem

Hi Experts,

I am having trouble with the FTP facilities in my Joomla install.  I can install components and modules with no problem since I enter the FTP login info at the top of the module or component install page.

The problem comes up when I am trying to use a component (FrontPage SlideShow) which requires that I tell it where to upload the images from.  The upload process of course uses FTP but doesn't give me the opportunity to enter the FTP login info. So the component errors out and gives me the message "Image upload failed".

So I went to the global config settings in the backend and you can see in the attached screenshots what happens when I try to save the FTP config in global settings.

I even edited the configuration.php file and hardcoded the ftp login parameters and still... no uploading.  And I can't save the FTP parameters in the global settings.  It is almost like there are two configuration.php files.  

Can someone help me get the built-in Joomla FTP working correctly?

Thank you!

HelpNearMe
backend-FTP-Settings.JPG
error-message.JPG
configuration.JPG
0
HelpNearMe
Asked:
HelpNearMe
  • 5
  • 3
  • 3
2 Solutions
 
HelpNearMeAuthor Commented:
Update:

I corrected the "ftp://www.xxxxxcom" to 'ftp.xxxxxxx.com' in the configuration.php

No difference.  Still doesn't work.
0
 
enriquecadalsoCommented:
Hello. Could you tell me the exact name of the componet FrontPage SlideShow you are using? If you have the url ... I cant find it in http://extensions.joomla.org to test it functionalities.
0
 
j-b-tCommented:
Hello

Can I back track a bit - why are you using that ftp bit in joomla's global config. I almsot never enable that.

1. Where is your site being hosted?
2. Generally, setting the ownerships and permissions of the folders in the web directory appropriately means you don't have to enable ftp in this way which can pose a security risk
0
Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

 
enriquecadalsoCommented:
Yes, j-b-t is right, there I was going. I am sure the component you are using have a way to avoid using ftp.
0
 
HelpNearMeAuthor Commented:
Hi!

Thanks for the reply,  It is called frontpage_slideshow v2 from joomlaworks.  Everything works fine with the component but it won't upload images...it tries to use the built-in ftp functions in Joomla which do not work properly.  For example, in the screenshot above you can see the error message I get when I try to modify the FTP settings in the Global configuration.  So the component image upload failure seems to be a symptom of a fundemental FTP config problem in Joomla.  Joomla seems to be ignoring my configuration.php FTP settings. Any ideas?

Thanks again

HNM
0
 
HelpNearMeAuthor Commented:
wow... we posted at the same time.....my previous reply was in response to enriquecadalso's first comment.

Well j-b-t, thank you.  I have turned of FTP and I'll see if it makes a difference.  Regarding the component bypassing FTP...  it appears that there is now way to get around it but I'll keep looking.

HNM
0
 
enriquecadalsoCommented:
The error in error-message.JPG is due to a problem with permissions. So maybe the rest of the functionalities are failing because of that. In the backend go to Help, System info, Directory permissions and see if all the folders are marked as "Writable". If they are not set them to be writables for the user that is running apache (apache in redhat, www-data in debian/ubuntu)
0
 
j-b-tCommented:
1. Where is your site being hosted? - this is a hosting issue I think

0
 
HelpNearMeAuthor Commented:
My site is hosted with myhosting.com, and thanks to both of you.  I will try the directory permissions in the morning.  I sent a tech support email to them as well and they suggested checking folder permissions as well.  I'll give a shot and let you know.

Thanks!

HNM
0
 
j-b-tCommented:
also ask if they host other joomla sites ...



0
 
HelpNearMeAuthor Commented:
Something fishy is going on here.  This morning when I was following the recommendations of you and the hosting tech support (change the file permissions), I noticed that for some reason when I modify the state of the FTP settings in the Global Configuration (joomla backend) I no longer get the error message shown in the screenshot I provided yesterday.  I didn't change anything.  

Seperately I did change the permissions for the target folder to which I was trying upload the images for the component (FrontPage SlideShow).  If you recall I was getting a "Slide image upload failed!" error.  The permissions were 755 and are now 777 and now the image upload feature works fine.

So overall my problem is solved, I am a little suspicious of the magical correction in the global config ftp settings though.

Last question:  Are there any security risks in having the persmission for the component image folder set to 777?

Thanks,

HNM
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

  • 5
  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now