I've just pulled some fixes from the repository of Mario Zigliotto, it
should work now. Let me know.

On Thu, Apr 23, 2009 at 6:05 PM, Dave Kroondyk <davek...@gmail.com> wrote:
> Hi,
>
> I'm a bit confused about an error I'm getting with the gallery extension.
> I'm running Radiant 0.7.1 which I have working with the Gallery extension on
> another project... but on this new project it is not letting me upload
> files.
>
> Here is the error from my log:
>
> Processing GalleryItemsController#create (for 192.168.0.100 at 2009-04-23
> 11:21:02) [POST]
>  Session ID: BAh7CToOcmV0dXJuX3RvMCIMdXNlcl9pZGkGOgxjc3JmX2lkIiU2MDdjZDFl
> ODUwYjY4YTQwZTc0NmUwZmUwNmY4NTE1YSIKZmxhc2hJQzonQWN0aW9uQ29u
> dHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--b21fed067443f96c6c0439dc7cd4a300643226e5
>  Parameters: {"form_id"=>"1", "format"=>"js",
> "gallery_item"=>{"uploaded_data"=>#<File:/tmp/CGI20437-0>},
> "action"=>"create",
> "authenticity_token"=>"a7118a69555cbdf80284521de8da96385c71851f",
> "controller"=>"gallery_items", "gallery_id"=>"1"}
>
>
> TypeError (can't convert nil into String):
>    /vendor/extensions/gallery/app/models/gallery_item.rb:93:in `extname'
>    /vendor/extensions/gallery/app/models/gallery_item.rb:93:in
> `set_filename_as_name'
>
> The "set_filename_as_name" method grabs the extension from the filename.
> Problem is, "filename" is nil, for whatever reason.
>
> Any ideas?
>
> Dave
> _______________________________________________
> Radiant mailing list
> Post:   Radiant@radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>



-- 
Andrea Franz
http://gravityblast.com
http://blog.mikamai.com
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to