Link to home
Start Free TrialLog in
Avatar of aaron_murray
aaron_murrayFlag for Afghanistan

asked on

Joomla - Template and FTP troubles

Am pretty new to joomla as well as using our linux server that we run it on, so its quite possible were making some basic mistakes...

We have a custom template that installs fine on our local machines using XAMPP, however when we try and use the "upload package file" the file uploads fine but then we get a "Warning: Failed to move file!" error.

I thought this might be a ftp settings problem so I want to global configuration enabled ftp and put in the username, password, host and root for our FTP server and clicked save. We then get a "JFTP: :write: Bad response Could not save data. Error: Could not write to the configuration file" error?

Finally I tried to just use ftp to manually upload our custom template folder (not .zip) to the templates folder in joomla, using filezilla the folder was moved successfully. Then I went to extensions and discovered the new extension and clicked install, then I get "HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request."

I am pulling my hair our with everything that I try to do doesn't seem to work so I'm wondering whether we have some wrong setting on our web server, because it can't be normal that i'm running into this many errors whenever I try and do something?
SOLUTION
Avatar of Allan Nisbet
Allan Nisbet
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of James Williams
James Williams
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of aaron_murray

ASKER

Hi I am using joomla 2.5.4 I can't see folder permissions in the backend (or at least I can't find it).

When I try to disable FTP in the global configuration file I get the message "JFTP::login: Unable to login Looks like User's credentials are no good..." but it says that global configuration file has successfully saved anyway.

My tmp folder is /var/www/vhosts/pokercreed.com/tmp at the moment, does that sound right ? I have set it to have permissions of 777.
Then Just disable FTP layer and try to install again
I have now disabled FTP and set the directories to 777 and the template installed without any problems, I presume that it was just a permission problem then.

Thanks for the help.

Is this the standard way of installing templates/extensions to just set everything to 777 and then back again to 755?
no its not standard way.Permission of directory should be 755. Do you have public_html folder
?? eg /var/www/vhosts/pokercreed.com/public_html/

??
No you still have something wrong, you'll still encounter issues in future you shouldnt need to and wouldnt want to use 777 as its very unsecure to say the least

On checking a few of my client servers

the tmp folder is located like this

/var/www/vhosts/pokercreed.com/public_html/tmp

Might make a difference not sure im not a server guy I have a team of engineers for that
: )

Storm
2 minds thinking alike : )

Storm
Hey no public folder anywhere, i'm not a server guy either and thought it was a bit odd that I needed to change permissions to do this every-time.

I have a php script that changes the required folders to 755 and back to 777 every-time i want to install a template or an extension, but don't really want to have to do this if it isn't the standard way.