Monday, January 5, 2009

Re: creating tmp-folder on install

On Jan 5, 2:11 am, Webweave <webwe...@gmail.com> wrote:
> It depends on the users and groups that own your app directory on the
> server. If the two users belong to the same group, and the permissions
> are set properly with group having full permissions on app, then you
> should be able to create the app/tmp directory.

They are different. tried 775 and that didn't work for the app/tmp
folder.

> My guess, based on what you're saying is that the app directory is
> owned by FTP-user, and the HTTPD user doesn't have the right groups
> and/or permissions to create the directory.

Could well be.
If that is the case it would help to temporarily put the app folder on
777 have a script create the tmp folder and then set it back.
It would be the most secure way.

> It would be helpful if you post the actual errors you are seeing.
>
Just a 500 internal server error:

"The problem is on the server side, not with your browser or the
address. Most probably, a certain service (e.g., Tomcat engine) is
down. Please contact your webmaster."

Ok, little background, I did rename the webroot temporarily to prevent
cakePHP to start taking over.

Just tried setting the /app folder to 777 and rerun the script. (just
a simple mkdir) and I checked the server logs:
mod_rewrite: maximum number of internal redirects reached. Assuming
configuration error. Use 'RewriteOptions MaxRedirects' to increase the
limit if neccessary.

Unfortunately I can't do anything about it due to shared hosting.

Never mind, seems there is no other option than to set the tmp-folder
and it's subfolders to 777. At least on my hoster.

Daniel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: