# |
Jan 29th 2014, 13:27 |
halim |
inside virtualbox |
# |
Jan 29th 2014, 13:27 |
jose_zap |
no idea then :S |
# |
Jan 29th 2014, 13:27 |
halim |
well almost, it's a virtual machine |
# |
Jan 29th 2014, 13:27 |
halim |
yeah |
# |
Jan 29th 2014, 13:27 |
jose_zap |
so, your local machine? |
# |
Jan 29th 2014, 13:27 |
halim |
my own |
# |
Jan 29th 2014, 13:27 |
halim |
i've tested with a 10 MB file as well and it worked perfectly fine |
# |
Jan 29th 2014, 13:27 |
jose_zap |
is that your own server or a shared one? |
# |
Jan 29th 2014, 13:26 |
halim |
any ideas? |
# |
Jan 29th 2014, 13:26 |
halim |
i don't understand why it can't allocate 21550788 bytes (around 20 MB) even though the server has 300 MB available |
# |
Jan 29th 2014, 13:25 |
halim |
and debug(ini_get('memory_limit')); also prints 300M |
# |
Jan 29th 2014, 13:25 |
halim |
the content of .htaccess is also attached to that text |
# |
Jan 29th 2014, 13:24 |
halim |
hello, i'm getting this error message when trying to upload a 20mb file through a form: http://pastebin.com/Sc81Z0Q6 |
# |
Jan 29th 2014, 13:20 |
halim |
can you switch user to the web-user? if yes, you could create the directories directly with that user |
# |
Jan 29th 2014, 13:19 |
halim |
you can also try to change the group (chgrp) but i'm not quite sure whether that'll work since chown doesn't |
# |
Jan 29th 2014, 13:19 |
halim |
then you'll need to contact someone that can do that for you |
# |
Jan 29th 2014, 13:18 |
siver |
seems I'm not allowed to chown folders in my shared folder |
# |
Jan 29th 2014, 13:17 |
siver |
well, my vagrantfile to be exact :p |
# |
Jan 29th 2014, 13:17 |
siver |
It might actually be vagrant who's messing this up |
# |
Jan 29th 2014, 13:15 |
mini-me |
I had this issue, for me it was because the tmp directory was not writable (a sub directory buried within it) |
# |
Jan 29th 2014, 13:15 |
siver |
one sec, I might actually be looking at the wrong thing right now |
# |
Jan 29th 2014, 13:15 |
siver |
sure |
# |
Jan 29th 2014, 13:15 |
mini-me |
make sure your directory permissions are set recursively (chown 0777 -R tmp/) |
# |
Jan 29th 2014, 13:15 |
halim |
siver, did you make the directories writeable for the web-user? |
# |
Jan 29th 2014, 13:14 |
siver |
halim: unfortunately that doesn't seem to fix it |
# |
Jan 29th 2014, 13:13 |
halim |
i think you need all but "pdf" |
# |
Jan 29th 2014, 13:13 |
halim |
these are my subdirectories in app/tmp |
# |
Jan 29th 2014, 13:13 |
halim |
cache emails logs pdf sessions tests |
# |
Jan 29th 2014, 13:12 |
siver |
(The project was set to use PHP in session as a default, instead of 'Cake' |
# |
Jan 29th 2014, 13:12 |
siver |
I'll give it a go right now |
# |
Jan 29th 2014, 13:12 |
siver |
I figured I'd make one just to be sure, but I wasn't aware of which subdirectories needed to be set, so that might actually solve it |
# |
Jan 29th 2014, 13:11 |
siver |
well, no. When I cloned the project, there wasn't even a tmp directory |
# |
Jan 29th 2014, 13:11 |
halim |
cache, logs, session, tests |
# |
Jan 29th 2014, 13:11 |
halim |
have you created the subdirectories in app/tmp/? |
# |
Jan 29th 2014, 13:10 |
siver |
I am running this project through a debian VM (vagrant) on a OS X machine |
# |
Jan 29th 2014, 13:10 |
siver |
I've even changed my php.ini to run in the 'American/Chicago' timezone, but that doesn't work either |
# |
Jan 29th 2014, 13:10 |
siver |
Hi, I'm having issues getting an existing cakephp that I inherited up and running. For some reason, it keeps telling me it can't write the log file for "cake_dev_en-us" in the Cache.php class. I've made sure that my app/tmp directory is SUPER writeable (drwxrwxrwx 2 www-data www-data 4096 Jan 29 12:56 tmp) and still it's not working? |
# |
Jan 29th 2014, 13:00 |
mini-me |
$this->viewClass = 'View'; |
# |
Jan 29th 2014, 12:59 |
mini-me |
I am using smarty in my main project, would the plugin also expect smarty templates? |
# |
Jan 29th 2014, 12:58 |
mini-me |
yes, I have included the asset dispatch filter within bootstrap.php |
# |
Jan 29th 2014, 12:58 |
dereuromark |
;) glad it worked out |