Displaying 20 results from an estimated 6000 matches similar to: "file upload"
2006 Jul 24
18
difference between running unabridged
22 sudo mv camping.rb camping-abridged.rb
23 sudo mv camping-unabridged.rb camping.rb
when running into problems, the abridged version of camping is rather
difficult to debug.
so I''m moving to unabridged, but I''m getting this error.
[Mon Jul 24 15:50:18 2006] [error] [client 192.168.11.100]
2006 Jul 27
2
more on file upload
well, so File upload seems to be only working under mongrel.
I have not tried it, but Camping crash extracting the request parameters on
both CGI and FastCGI.
I''m looking at rails code for inspiration, but it''s a bit outside of my
knowledge.....
not sure what to do with a FCGI::Stream object .....
this is what rails do for CGI, I''m not sure if it works the same for
2006 Jul 26
10
get/post bug
I''m not sure if its a bug in the blog example or in the framework but each
time I hit edit, both get and post get called, no matter of the actual http
method.
anyone encounter that bug?
--
gcc -O0 -DRUBY_EXPORT -rdynamic -Wl,-export-dynamic -L. main.o
-lruby-static
-ldl -lcrypt -lm -o ruby
Everyone is trying their hardest to do their job but management has set it
up so that
2006 Jul 25
4
about PATH_INFO and FastCGI
in one of my recent email, I add .to_s to PATH_INFO in camping code.
actually, this is probably very wrong. the problem is probably something
like PATH_INFO does not exist when using FastCGI.
I have not done all my homework, but so far what I found is lighttpd has a
special option
"broken-scriptfilename": breaks SCRIPT_FILENAME in a wat that PHP can
extract PATH_INFO from it (default:
2006 Aug 01
6
warning and errors
i got my app to run fine on one server, but I moved it to another and huge
problem started....
I''ve been trying various things for 3 hours now, I can''t get it to work....
I am getting this error.
Exception `TypeError'' at (eval):542 - superclass mismatch for class NotFound
I am using the same camping.rb, apps starts in CGI but not in
Apache/FastCGI.
while it works fine
2006 Aug 01
3
starting fresh
trying to get the example blog running under Apache/FastCGI with Camping
1.4.143
anyone using Apache/FastCGI in here?
does not seems to be possible to use with Camping.
anyone got better luck?
this is my postamble
if __FILE__ == $0
Blog::Models::Base.establish_connection :adapter => ''sqlite3'', :database
=> ''examples.db''
Blog::Models::Base.logger =
2006 Jul 18
3
+ camping 1.4.138
Just up:
gem install camping --source code.whytheluckystiff.net
The changes:
* Both bin/camping and Camping::FastCGI.serve now act according to the
Camping Server specification.[1]
* Docs are complete.
_why
[1] https://code.whytheluckystiff.net/camping/wiki/TheCampingServer
2006 Jul 18
4
intro
Hi !!!
I''ve just seen this message on
http://redhanded.hobix.com/inspect/theCampingServer.html
I''d really like to see distributions offer a package which would allow
simple setup of TheCampingServer, just as you see with PHP. If you''re
interested in seeing this happen for the upcoming Camping 1.5 release,
introduce yourself on the
2007 Jan 06
4
? camping apps in gems
So would you like this:
$ wget http://rubyforge.org/gems/junebug-0.0.18.gem
$ camping junebug-0.0.18.gem
Or should it be:
$ gem install junebug
$ touch junebug.gemcamp
$ camping junebug.gemcamp
_why
2006 Jul 28
1
multipart/form-data support for Camping Apache/FastCGI
sorry I broke it for mongrel, but the programmer who did the work for
mongrel should not have much problem integrating the two I think. Apache/CGI
is different and still will not work.
I fuck around for a full day at the end of the day, I found Iowa another web
framework and I try using their code
but using Iowa::Request.new.read_multipart was more confusing than anything,
although it helped me
2006 Jul 25
3
+ camping 1.4.140 -- apache+fastcgi, lighttpd+fastcgi
Okay, I have tested mounting several of my apps under Lighttpd and Apache,
both running FastCGI. I''m going to explain the configuration, but first:
update.
gem install camping --source code.whytheluckstiff.net
== Mounting Root for Lighttpd+FastCGI ==
server.port = 3045
server.bind = "192.168.0.103"
server.modules = (
2006 Jul 26
1
Seek Error ?
anyone ever got this error ?
[Wed Jul 26 17:36:25 2006] [error] [client 192.168.11.100] (eval):21:in
`seek'', referer: http://rf.mathieu.mv.sha/diary.cgi/edit/1?someting=true
[Wed Jul 26 17:36:25 2006] [error] [client 192.168.11.100] : , referer:
http://rf.mathieu.mv.sha/diary.cgi/edit/1?someting=true
[Wed Jul 26 17:36:25 2006] [error] [client 192.168.11.100] Illegal seek,
referer:
2006 Oct 02
22
Multi Byte Strings
Hey guys,
We''ve been talking about the multi-byte patch and I think it''s time to
get feedback from you guys on a possible way forward.
We can include ActiveSupport::Multibyte with rails 1.2, and update all
of the relevant helpers to use the String#chars proxy. This will mean
that none of the action view helpers will mangle multibyte strings.
Similarly, if any Strings are being
2006 Aug 24
3
Mousehole stuff
Hey everyone,
I''m using mousehole for the first time today (love the artwork, btw) and I
seem to be having problems with Camping and Markaby. When I go to the Apps
page I get:
Camping Problem! MouseHole::Controllers::RApps.GET TypeError
/Users/tzaharia/Sites/mouseHole/lib/mouseHole/views.rb:78:in `+'': can''t
convert String into Array:bla bla bla...
The line in question
2006 Jul 25
0
ran into a weird bug....
I''m modifying the Blog example, as it is, its nearly unmodified.
If I access /blog.rb/add I am asked to login (of course), once logged in, If
I access /blog.rb/add again, I get a 404 Not Found error from Apache, not
from Camping
saying......
Not Found
The requested URL /rf.mathieu.mv.sha/blog.rb/ was not found on this server.
the URL accessed is http://rf.mathieu.mv.sha/blog.rb/add
2006 Jul 24
0
problem running Blog using CSS
I am not using latest camping (sudo gem install camping --source
code.whytheluckystiff.net)
and I''m getting this error executing Blog.run
(eval):14:in `initialize'': private method `sub'' called for nil:NilClass
(NoMethodError)
from (eval):44:in `run''
from /home/mathieu/mv/rf/public/blog.rb:303
--
gcc -O0 -DRUBY_EXPORT -rdynamic
2006 Aug 02
0
mongrel experience....
well, I like it ;)
until camping supports Apache/FastCGI properly I''m running the app with a
mongrel postamble (default on the blog example) and I''m rerouting Apache
using a ProxyPass, works like a charm.
two comments though
I first try to run it using ''camping app.rb'' but it would always mount under
/
it would be awesome If I could do ''camping
2007 Jan 25
4
X-Sendfile doesn''t work
Hi everyone,
I try to use the "X-Sendfile" header, but it doesn''t work as expected.
In my controller:
path = "/home/bruno/file.tar.gz"
headers[''X-Sendfile''] = path
headers[''Content-Type''] = "application/octet-stream"
headers[''Content-Length''] = File.size(path)
render :nothing => true
When I request
2006 May 01
3
Mongrel, Ubuntu (Dapper) and Park Place
Hello.
(This message is a followup of a previous request for help sent to the
rails mailing list on the same subject.)
I managed to compile [the native extensions for] mongrel on ubuntu
based on some feedback I got from Zed on the rails mailing list, but
still no joy in running parkplace ? The system seems working but I get
no CSS rendered, and it seems I cannot send a file with a permission
2006 Nov 08
14
Increased memory requirements on 1.2
I just recently upgraded a rails app of mine to run on edge (and the
1-2-pre-release branch) and I noticed my fcgis required roughly 6-8MBs
more memory after just a couple requests.
For example, each fcgi on edge would start around 40MB and rise to
~46MBs after a couple requests.
I downgraded my app back to 1.1.6 and each fcgi would start at around
33MBs and rise to ~38MB.
As a result of the