hugodias / FileUpload

Jquery File Upload for CakePHP 2.x
68 stars 25 forks source link

Internal Server Error #2

Closed templek closed 11 years ago

templek commented 11 years ago

When i tried to upload a file i got and Error = Internal Server Error. I already give access to write to the App/Webroot/Files directory. Any Ideas ?

hugodias commented 11 years ago

Just the internal server error? Try to put your debug at 2 and copy the error please ! @templek

templek commented 11 years ago

The debug mode was already set to 2

Configure::write('debug', 2);

This is the error that i have When i press the "Start upload" Button :

Regards...

On Wed, Nov 21, 2012 at 1:03 PM, Hugo Dias notifications@github.com wrote:

Just the internal server error? Try to put your debug at 2 and copy the error please !

— Reply to this email directly or view it on GitHubhttps://github.com/hugodias/FileUpload/issues/2#issuecomment-10609916.

Templek.com

templek commented 11 years ago

It is working now, i have not crated the table 'uploads'......... Is there a way to configure or change the table name for one that i had defined for that purpose ? , like "Pictures" table name.....Thanks in advance..

hugodias commented 11 years ago

Yes, to do this you just change the name of the model in this line of code: https://github.com/hugodias/FileUpload/blob/master/Controller/Component/UploadComponent.php#L28 . Closing