similar to: Prototype Ajax + File Uploading-- How?

Displaying 20 results from an estimated 100 matches similar to: "Prototype Ajax + File Uploading-- How?"

2006 Jul 26
4
Upload File
I got this error: NoMethodError in PictureController#new You have a nil object when you didn''t expect it! The error occured while evaluating nil.uploaded_file= and the line code is here: @picture.uploaded_file = @params[''picture_file''] -- Posted via http://www.ruby-forum.com/.
2007 Aug 03
6
Problems saving an uploaded image to an app folder
In my app, the user can upload images. Rather than shoving the image data in the database, i want to put the filename and content type into the db, then rename the image with its record''s id number, and then save it into a local folder in my app folder. (hardcoded for now) All the details are being saved to the db ok, so as far as i know the "picture_file=" method is fine.
2009 Nov 21
1
samba4 + openldap: provisioning isnt working
Wiki seems to be out of date here. The wiki reference's [1] [2] a "setup/provision-backend" script, as well as a "setup/provision" script, yet current git only has a setup/provision executable. Some #samba and #openldap IRC advice was that provision-backend wasnt needed anymore, but based off the errors i'm seeing, there's definitely _something_ missing, I just
2006 Feb 20
3
Background work
Greetings, I''ve got a rails app which is basically an admin interface to a xml dataset. Currently I''ve got rails rigged to call a function to spit the entire dataset to file with every change. This would actually be ok, its fairly infrequently updated, but when the dataset grows large the user sits there waiting for it to dump with no feedback as to whats going on. Oh yes,
2005 Nov 23
1
assign() problem
I've written a piece of code (see below) to do a wavelet image decomposition, during the evaluation of this code I would like to write the results of some calculations back to the R root directory. I used assign() to do so because the names should vary when going thrue a while() loop. For some unknown reason I get an error that says: Error in assign(varname[i], imwrImage) :
2020 Jun 30
2
fdisk boot partition
I am trying to use CentOS 8 host to boot an image (OS X) that I created using dd. First I tried fdisk -l image_file.img - all looks good so I did fdisk image_file.img - this works - but seems in CentOS 8 fdisk there is no longer a toggle bootable flag option. How do I do that ? Thanks, Jerry
2006 Mar 12
4
Apache not running Fcgid
I''m having the same problems as this fellow, Mr. Cheetham, in getting my rails app up and running on apache2+fcgid. Webrick runs, but dispatch.fcgi never actually runs, and apache spits out a grusome "Premature end of script headers: dispatch.cgi" error message in the log. Mr. Cheetham describes his problem at http://www.archivesat.com/Typo_blogging_engine/thread164398.htm I
2007 Mar 28
3
attachment_fu Not Resizing
Hello, Recently attachment_fu stopped resizing images for me. I''m puzzled because before today it was resizing them and I don''t know what''s changed. Here''s my code: class Product < ActiveRecord::Base has_attachment :content_type => :image, :storage => :file_system, :max_size => 18.megabytes,
2008 Sep 18
2
Setting up Fleximage
Hello! I''ve been trying today to setup fleximage to handle photo uploads to a RoR application by following the tutorial that is provided (http://github.com/Squeegy/fleximage/wikis/gettingstarted) Originally, I just dropped in all of the sample code that they provided, which I copied below this question. - When I tried to access "new" to upload a new photo, I received an error
2020 Jul 01
1
fdisk boot partition
On Jun 30, 2020, at 1:25 PM, John Pierce <jhn.pierce at gmail.com> wrote: > > On Tue, Jun 30, 2020 at 12:12 PM Jerry Geis <jerry.geis at gmail.com> wrote: > >> I am trying to use CentOS 8 host to boot an image (OS X) that I created >> using dd. >> >> First I tried fdisk -l image_file.img ... > > > fdisk has been deprecated for quite a
2007 Jun 18
4
Images outside the site
I''m developing a site that will need to display images that will be stored in a location outside the site. What would be the easiest way to do this? The site will be running on a linux machine. Thanks, Will --------------------------------- You snooze, you lose. Get messages ASAP with AutoCheck in the all-new Yahoo! Mail Beta.
2011 Apr 29
3
running libguestfs as a service?
Hello, First off, many thanks for libguestfs... very useful! I'm trying to run libguestfs as an RPC service by using a python daemon with the python libguestfs bindings. With this service I'm "centrally" editing VM images, and often running many GuestFS() on the same image file in a short amount of time to edit the image's contents. The problem I'm running across is
2015 Jul 24
2
[LLVMdev] [LLD] support for dlltool generated libs in COFF/PECOFF
After some more digging and creating a few testcases in lld I have narrowed it down to The fact that dlltool generates Contents of section .idata$7: 0000 55534552 33322e64 6c6c0000 USER32.dll.. Where as lld expects Contents of section .idata$6: 0000 55534552 33322e64 6c6c0000 USER32.dll.. I recreated the hello64.test using dlltool for the lib and here is the asm dump of
2010 Jun 14
4
help
On Wed 5/5/2010 3:28 AM Miller, Shao wrote, ---------------------------------------------- Good day again Matthew, As per (c=80) * (h=2) * (s=48) * (sect_size=512) = 3,932,160 bytes = 7,680 sectors: For Windows, you might enjoy: - "DD for Windows" by John Newbigin and chrysocome[1] - "ImDisk Virtual Disk Driver" and "Zero and Random Device Driver" by Olof
2015 Jul 25
0
[LLVMdev] [LLD] support for dlltool generated libs in COFF/PECOFF
Hey guys, So I was able to modify dlltool to produce the exact same layout as lib.exe with the same section numbers etc. I've first managed to first create the correct section so that lld gives me link errors and then resolve those errors to create an exe. This is one thing that is still missing that sticks out like a sore thumb In the actual imports of the functions the objects are very
2012 Aug 23
1
GotoIf redirection to label not working correctly
I run a hotdesking system based on the example from Asterisk: The Definitive Guide. Calls come into the [hotdesk] context, which verifies the phone has a logged in user and sends the call to users,${EXTEN},1 if there is a user logged in. The [users] context then includes several other contexts for internal/external call handling, as follows: [users] include => internal include =>
2013 Mar 12
0
Calls getting "stuck open"
I have a system running Asterisk 11.2.1 that has had a couple calls between internal extensions get "stuck open". I didn't catch the verbose log for the first one, since I generally don't verbosely log to file, but the second one shows that the call that got stuck was dialed, but the caller hung up before the called device answered. This server is running a hotdesking
2006 Jun 27
2
Serve an image up from an action
What I am really trying to do is use the file_column plugin for the file uplaod/storage (to a non-application directory), but serve up the images on my own (without the mage_tag url_for_file_column technique) In the java world, I would simply do something like this: <img src="myImageServlet?id=1"> and myImageServlet would simply return the appropriate mime headers and data
2010 Aug 24
8
Home directories
I've noticed that a lot of people are using e.g.: mail_location = maildir:/var/vmail/%d/%n Then either they don't have home directory set, or their home directory is the same as the maildir. http://wiki.dovecot.org/VirtualUsers/Home explains all the problems of not separate home and mail directories. Also whenever I try to suggest using a separate home and mail directory, the answer is
2006 Feb 20
0
UTF-16... Wait wait dont go, just pass it through
Hello, I come with more impossible tasks; I''m getting XML results from a Mono program, but they''re in UTF-16 format. I''m running Lighttpd /w FastCGI, and just need to pass the results through without manging the unicode. Help? Please? Rektide -------------- next part -------------- An HTML attachment was scrubbed... URL: