HelpNearMe
asked on
Joomla Problem
Hi Experts,
I am working on a Joomla 1.5 (running in legacy mode) and DocMan 1.4 is giving me some trouble.
Docman was working fine but we recently had to restore the site from a backup and reinstall the Joomla framework. All of the component files are identical and I am 99% sure the folder permissions are the same since the came from the backup (restored by the web host).
Now docman is returning 'error uploading - directory problem. Cannot move file' when a file is upload from both the front-end and backend. Now remember the component files came from a working set backup. So the common code fixes that appear in a google searchs don't apply here.
I am also seeing a message 'docman.config.php: Unwritable ' under configuration. Persists even when I set it to 775.
The only way that I got the upload to work is to set /dmdocuments to 777, which is not cool. I suspect that there is an overall permission problem with this Joomla install... FTP perhaps? Can anyone help me troubleshoot this?
Thanks!
HNM
I am working on a Joomla 1.5 (running in legacy mode) and DocMan 1.4 is giving me some trouble.
Docman was working fine but we recently had to restore the site from a backup and reinstall the Joomla framework. All of the component files are identical and I am 99% sure the folder permissions are the same since the came from the backup (restored by the web host).
Now docman is returning 'error uploading - directory problem. Cannot move file' when a file is upload from both the front-end and backend. Now remember the component files came from a working set backup. So the common code fixes that appear in a google searchs don't apply here.
I am also seeing a message 'docman.config.php: Unwritable ' under configuration. Persists even when I set it to 775.
The only way that I got the upload to work is to set /dmdocuments to 777, which is not cool. I suspect that there is an overall permission problem with this Joomla install... FTP perhaps? Can anyone help me troubleshoot this?
Thanks!
HNM
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
snowball77,
Thanks for the comment, as I said to DropHit above your comment, they are all 'unwritable' and I'm waiting for the hosting tech support to assist me with it. I'll be back with my update after I speak with them.
Thanks!
HMM
Thanks for the comment, as I said to DropHit above your comment, they are all 'unwritable' and I'm waiting for the hosting tech support to assist me with it. I'll be back with my update after I speak with them.
Thanks!
HMM
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
StormITSolutions & joomla_php:
Which folder do you mean.. tmp? And what should the permissions be?
Thanks
HNM
Which folder do you mean.. tmp? And what should the permissions be?
Thanks
HNM
Do other experts not see the comments made on each post? Seems that everyone is simply posting a re-hash of each others comments... lenamtl: - this is my suggestion 2 days ago..
Also, tmp folder should be writeable prob 757 -- inside the root of Joomla install
If you go to Global Configuration and click on "server" you will find your " Path to Temp-folder "
You can check this with your system info (HELP > SYSTEM INFO)
Check the path to the tmp folder within the system info and make sure that is what is used in the Path to Temp-Folder
You might find this document handy too
http://docs.joomla.org/Why_can%27t_you_install_any_extensions%3F
You can check this with your system info (HELP > SYSTEM INFO)
Check the path to the tmp folder within the system info and make sure that is what is used in the Path to Temp-Folder
You might find this document handy too
http://docs.joomla.org/Why_can%27t_you_install_any_extensions%3F
A lot of times in a server move, Joomla thinks the "system" temporary folder is how the old server defined it, but that's not where the new server says it is.
The system temp folder is way above your website's root.
A typical structure would be:
/usr/tmp <- system temporary folder
/home/yoursite <- above your site's public root
/home/yoursite/public_html <-your site's public root
Joomla gets the temporary folder address from site configuration.php:
var $tmp_path = 'whatever'
The easiest way to make this host-independent but still secure (not public) is to create:
/home/yoursite/tmp
And set
var $tmp_path = '/home/yoursite/tmp';
The system temp folder is way above your website's root.
A typical structure would be:
/usr/tmp <- system temporary folder
/home/yoursite <- above your site's public root
/home/yoursite/public_html
Joomla gets the temporary folder address from site configuration.php:
var $tmp_path = 'whatever'
The easiest way to make this host-independent but still secure (not public) is to create:
/home/yoursite/tmp
And set
var $tmp_path = '/home/yoursite/tmp';
** Please note that depending on the configuration of the server your tmp folder may be anywhere starting at the root of the site and heading up the tree to the /tmp folder ..
Case in point this server running plesk:
var $tmp_path = '/var/www/vhosts/********. com/httpdo cs/corp/tm p';
The site sits at http://yourdomain.com/corp/
As shown from the joomla configuration line above the root IS at thr root of the joomla install NOT outside of the jailed website. Most VHOSTS will not allow a user to emply anything outsite of the host root.
Z.Miles
Hacking since Commodore VIC20 days - circa 1980
http://gohhllc.com
Case in point this server running plesk:
var $tmp_path = '/var/www/vhosts/********.
The site sits at http://yourdomain.com/corp/
As shown from the joomla configuration line above the root IS at thr root of the joomla install NOT outside of the jailed website. Most VHOSTS will not allow a user to emply anything outsite of the host root.
Z.Miles
Hacking since Commodore VIC20 days - circa 1980
http://gohhllc.com
Hi DropHit, sorry about it, I probably read you comment to fast.
I'm not here to helping other user just for earning points.
I did FREE support in the Joomla community since mambo 1994 to Joomla 2009.
Just make a quick search with my username and you see how many our I spent helping users for free.
I'm not here to helping other user just for earning points.
I did FREE support in the Joomla community since mambo 1994 to Joomla 2009.
Just make a quick search with my username and you see how many our I spent helping users for free.
ASKER
Hi Everyone,
Thanks for your help. I had the hosting company correct the issue with all directories being unwritable and DocMan almost works now. The tempfile is writable and in the root with a correct path entry in the global settings.
When I try to upload a document it returns a different error now...Error Uploading. - Transfer error occurred 6. I`ll try to figure it out myself and if I can`t I`ll post a seperate question to keep things organized.
I am concerned that many of the folders appear to be now set to 777 which I am also sorting out as a seperate issue.
Thanks for the help!
HNM
Thanks for your help. I had the hosting company correct the issue with all directories being unwritable and DocMan almost works now. The tempfile is writable and in the root with a correct path entry in the global settings.
When I try to upload a document it returns a different error now...Error Uploading. - Transfer error occurred 6. I`ll try to figure it out myself and if I can`t I`ll post a seperate question to keep things organized.
I am concerned that many of the folders appear to be now set to 777 which I am also sorting out as a seperate issue.
Thanks for the help!
HNM
ASKER
Thanks, your ownership comment made sense and thats the angle I am pursuing. I have found in help/system info that all folders are 'unwritable'. Cool huh? I need to wait to speak to the tech support at the webhost about this because I can't see any way to correct it on my end. Since they all appear to be 'writeable' when the permissions are viewed via filezilla. Thats why I think you may be right about ownership.
I'll be back when they respond.
Thanks,
HNM