Tuesday, August 3, 2010

bake can't create view files(ctp files)

I tried to bake files. controller, model file can be baked but not
view files. Bake create only folder in view directory and there is no
ctp file there.

While baking, I'm getting there errors:

Warning: touch(): SAFE MODE Restriction in effect. The script whose
uid is 10001 is not allowed to access /var/www/vhosts/xxx/httpdocs/
cakephp-1.3.3/app/views/members owned by uid 0 in /var/www/vhosts/xxx/
3.3/cake/libs/file.php on line 129
Wrote `/var/www/vhosts/xxx/httpdocs/cakephp-1.3.3/app/views/members/
add.ctp`


I'm using Media Template server and turned off safe_mode but still
seeing these issue.

Is there any way I can fix this issue in cake code??

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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: