Forums / Install & configuration / please help...IPOWERWEB hosting company also can't fix it,

please help...IPOWERWEB hosting company also can't fix it,

Author Message

teh poh leng

Sunday 03 December 2006 6:08:05 am

when i tried to install ezpublish,it came out this error messge:
1. File uploading is not possible

The PHP upload directory /home/vdeck/tmp is not writeable. This means that it will be impossible to upload files or images to eZ publish.

You must change the permission on the directory /home/vdeck/tmp. If you do not have the possibility to create this yourself ask the administrator to do this for you.
Shell commands

These shell commands will give proper permission to the upload directory.

chown www:www /home /home/vdeck /home/vdeck/tmp
chmod ug+rwx /home /home/vdeck /home/vdeck/tmp

Alternative shell commands

If you don't have permissions to change the ownership you can try this command.

chmod a+rwx /home /home/vdeck /home/vdeck/tmp

can somebody tell me how to fix it?thanks

tried to contact ipowerweb ,but they say ...
Thank you for contacting IPowerWeb technical support.
I'm sorry, but we can not modify the permissions of the vdeck directory on your shared hosting plan. This is used by everyone on your server, and would be an enormous security risk. It appears as though the software you are trying to implement is not compatible with your current shared hosting plan. You will need to review the software requirements, and check out our virtual and dedicated server plans. More informtion can be found here: http://www.ipower.com/servers.html

is it mean that i can't use te ez ,thanks

Tim Dickinson

Sunday 03 December 2006 3:01:36 pm

The commands that are given to run are what to use when you are logged into your site via SSH (they are shell commands).

To use SSH you will need an SSH program
Try PuTTY
http://www.chiark.greenend.org.uk/~sgtatham/putty/

You will then need to have SSH enabled on your account - some hosting accounts come with this, others don't, some hosts will give it to you when you ask, others won't.

If you have SSH access, just use PuTTY to login to your site and then type the commands one at a time.

If you don't have SSH, eZpublish is a bit of a hassle to install but not impossible. You just have to change the permissions of various files and folders (CHMOD) by FTP. From the error you received, if you FTP into your site and go to the vdeck folder and find the tmp folder - you will then need to change the permissions of this folder to 777 (I think - but it could be 755).

Do note that a CHMOD 777 directory is world writeable/readable

-Tim

http://www.AdBalance.com - Ad network news and reviews
http://www.DevPublisher.com - Website publisher guides, tools and news
http://www.AudioMelody.com - Make better music

Xavier Dutoit

Monday 04 December 2006 4:59:04 am

Hi,

all decent CMS use a cache system and need to write to a directory when uploading files.

This needs to be granted to the apache user. To do that on a shared server, you often have to grant everyone the right to write/read on your temp folders. That's the chmod suggested.

X+

http://www.sydesy.com

teh poh leng

Tuesday 05 December 2006 10:03:09 am

what they reply today "We donot provide SSH access on our shared server. I will suggest you to please upgrade your hosting plan to our dedicated server."
any others way i can fix the problem?thanks

Claudia Kosny

Tuesday 05 December 2006 10:53:21 am

Hello teh poh leng

Having access to the temp directory to upload files is not an EZ specific requirement. All file upload scripts need to access the temp directory as PHP moves the uploaded file first in this directory and then a script can move it to it's final destination. Check e.g. here: http://lu.php.net/manual/en/features.file-upload.php .

So if your hoster does not permit any php scripts to read and write in the defined temp directory, no file upload script will work on these servers. Maybe you can ask your provider to change the upload_tmp_dir for your domain setting to a folder you have access to (although I am not sure whether this is possible, I don't know that much about server configuration).

Good luck

Claudia