[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [epf-dev] epf wiki upload file error

Hi Han Mei,
This turns out to be a bug in Rails < 2.2 in combination with Ruby 1.8.7. I have created a bugzilla for this see https://bugs.eclipse.org/bugs/show_bug.cgi?id=333900
Also please check this bugzilla for a workaround that I think will work for you.
Thanks and Regards,
Onno


On Fri, Jan 7, 2011 at 5:31 AM, æé <hanmei@xxxxxxxxxxxx> wrote:
Onno, Thank you for your help, I just installed epf wiki successfully on my localhost machine.

Now, I encountered a little problem when I upload a file using epf wiki.
First I click "upload file"button, and when I finished the uploading, the page turns out "permission denied /var/www/epfwiki/public/uploads".
when I look into the public folder, there is no "uploads" ,so I created one manually.
Âand "sudo chmod 777 -R uploads".Â

and now, when I finished uploaded the image, there's a error

Site_logo
An application error occurred while processing your request.
Error undefined method `length' for #

the same error happened when I clicked the linkÂhttp://localhost/uploads/list.

Another question is that I chmod the folder "uploads" and "wikis" "pages" to 777, is there any safety problem I should take care?

--
Han, MeiÂÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â ÂÂ
ÂGSegment Space Technologies, Inc. Â Â Â Â Â Â ÂPhone: +86-10-57151257
ÂRoom 1007, Tower 1, HuiHuangGuoJi Plaza, Â Skype: hanmei_gsegment
ÂNo.10 Shangdi Street, Haidian District, Â Â Â Â Â Email:Âhanmei@xxxxxxxxxxxx
ÂBeijing, PR China   Â
                 ÂWeb:Âhttp://www.GSegment.com


_______________________________________________
epf-dev mailing list
epf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/epf-dev