Re: Problem when trying to upload zip/rar files with the milesjohnson's upload plugin
So what is the value of $data['name']? Because on this line: $this->data['Publicacione']['link_referencia'] = $data['name']; You are setting the value, but it seems like $data['name'] is an array. On Jun 8, 2:28 pm, axell9641 wrote: > Miles J wrote: > > > Does it work with regular files? > > Yes, it certainly does. It works wonders with regular files > > Miles J wrote: > > > Also, can you paste the whole error, the image is cutting it off. > > Ok, there you go: > -Notice (8): Array to string conversion > [CORE\cake\libs\model\datasources\dbo_source.php, line 749] > > -Warning (512): SQL Error: 1054: Unknown column 'Array' in 'field list' > [CORE\cake\libs\model\datasources\dbo_source.php, line 684] > > -Query: INSERT INTO `publicaciones` (`vigencia`, `tipo`, `titulo`, > `descripcion`, `fecha_publicacion`, `fecha_caducidad`, `link_referencia`, > `modified`, `created`) VALUES (1, 'c', 'If you ,if you could return', ' > Cause she's so high...high above me, she's so lovely', '2011-06-01', > '2011-06-10', Array, '2011-06-08 15:42:22', '2011-06-08 15:42:22') > > Miles J wrote: > > > And lastly, make sure you are using the latest version. > >https://github.com/milesj/cake-uploader/downloads > > Yes, I did that too, but I keep getting the same error > > -- > View this message in > context:http://cakephp.1045679.n5.nabble.com/Problem-when-trying-to-upload-zi... > Sent from the CakePHP mailing list archive at Nabble.com. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Problem when trying to upload zip/rar files with the milesjohnson's upload plugin
Miles J wrote: > > Does it work with regular files? > Yes, it certainly does. It works wonders with regular files Miles J wrote: > > Also, can you paste the whole error, the image is cutting it off. > Ok, there you go: -Notice (8): Array to string conversion [CORE\cake\libs\model\datasources\dbo_source.php, line 749] -Warning (512): SQL Error: 1054: Unknown column 'Array' in 'field list' [CORE\cake\libs\model\datasources\dbo_source.php, line 684] -Query: INSERT INTO `publicaciones` (`vigencia`, `tipo`, `titulo`, `descripcion`, `fecha_publicacion`, `fecha_caducidad`, `link_referencia`, `modified`, `created`) VALUES (1, 'c', 'If you ,if you could return', ' Cause she's so high...high above me, she's so lovely', '2011-06-01', '2011-06-10', Array, '2011-06-08 15:42:22', '2011-06-08 15:42:22') Miles J wrote: > > And lastly, make sure you are using the latest version. > https://github.com/milesj/cake-uploader/downloads > Yes, I did that too, but I keep getting the same error -- View this message in context: http://cakephp.1045679.n5.nabble.com/Problem-when-trying-to-upload-zip-rar-files-with-the-milesjohnson-s-upload-plugin-tp4458874p4470991.html Sent from the CakePHP mailing list archive at Nabble.com. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Problem when trying to upload zip/rar files with the milesjohnson's upload plugin
Does it work with regular files? Also, can you paste the whole error, the image is cutting it off. And lastly, make sure you are using the latest version. https://github.com/milesj/cake-uploader/downloads On Jun 8, 11:21 am, axell9641 wrote: > any ideas??? > > -- > View this message in > context:http://cakephp.1045679.n5.nabble.com/Problem-when-trying-to-upload-zi... > Sent from the CakePHP mailing list archive at Nabble.com. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Problem when trying to upload zip/rar files with the milesjohnson's upload plugin
any ideas??? -- View this message in context: http://cakephp.1045679.n5.nabble.com/Problem-when-trying-to-upload-zip-rar-files-with-the-milesjohnson-s-upload-plugin-tp4458874p4470353.html Sent from the CakePHP mailing list archive at Nabble.com. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Problem when trying to upload zip/rar files with the milesjohnson's upload plugin
any ideas??? -- View this message in context: http://cakephp.1045679.n5.nabble.com/Problem-when-trying-to-upload-zip-rar-files-with-the-milesjohnson-s-upload-plugin-tp4458874p4462333.html Sent from the CakePHP mailing list archive at Nabble.com. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php