Displaying 20 results from an estimated 6000 matches similar to: "Problem: Upload file size limit to 500KB"
2006 Mar 21
4
activerecord - mysql blobs...
I''m struggling with activerecord and mysql blobs (uploading files)...
blobs over 400K-ish cause the below exception...
ActiveRecord::StatementInvalid in File#upload
Mysql::Error: Lost connection to MySQL server during query:
I''ve tried blob, mediumblob, and longblob...
I''m using windows xp for development - and have not installed the mysql
gem...
simlar google
2006 Jun 07
1
Upload to DB hang mentioned in wiki
I''m uploading files to a mysql database, using a mediumblob size.
Following the wiki here:
http://wiki.rubyonrails.org/rails/pages/HowtoUploadFiles ,
I got past the first mysql 500kb limitation with the max_allowed_packet = xM
trick, setting it to 1000M.
However, as the person at the very bottom of the wiki notes, I too cannot
upload more than around 10mb.
I also tried the suggested
2006 Apr 27
7
SuperImage plugin
Greetings all,
This is the first release of the SuperImage plugin. The idea is you
upload images to the database, and then pull them out at any size you
want. Combine this with caching and it will stay light and fast.
More info and instructions are here:
http://beautifulpixel.textdriven.com/articles/2006/04/27/superimage-plugin-making-resizeable-uploaded-images-easy
svn:
2006 Mar 01
1
upload file above /public, authenticate before serving?
I have file uploads to the database and stored in a longblob working on
our client extranet, except that it kills mysql/activeRecord on files
bigger than about 200kb. (is there a reason for this - running mysql
5.0.18, lighttpd or webrick on winxp??)
So I''m now thinking about whether its possible to do either:
1) upload a file into #rails_root/some_folder/ instead of
2005 Jun 20
1
voicemail system
Hello,
I wish to use asterisk as a voicemail server with ser
.
I want to use asterisk external configuration toHello,
I wish to use asterisk as a voicemail server with ser
.
I want to use asterisk external configuration to
manage users and storing voicemail messages according
to ser database.
Where can i find the schema of the SQL DB for
voicemail accounts .
for example in extconfig ;
2005 Sep 20
1
ODBC Voicemail WEB Retrieval
Ok.
I was sucessful in installing ODBC storage
I'm using MySQL in the backend as it is. but all my drivers are now ODBC.
I am running asterisk-cvs head as of last night 9/19/05
My question is this... the old voicemail.cgi script that allowed checking
voicemail no longer works etc, and never did work for me without a static
voicemail.conf file.
Anyways.. that aside... how does one retrieve
2008 Oct 08
11
Using image_tag and send_data
I am using image_tag to load an image that I''ve saved to the database
(using attachment_fu if you''re curious but that''s probably not
relevant here):
VIEW
<%= image_tag ''/photo/get_image/5'' %>
CONTROLLER
def get_image
@photo=Photo.find(params[:id])
send_data(DbFile.find(@photo.db_file_id).data,
:type =>
2006 Aug 08
1
File upload into Mysql (using lighttpd) problem
Hello All,
I''ve run into a snag. (I apologize in advance. I''m not very good at
system administration.)
I''m building an app that allows users to upload files. Up until now I
have been storing the files on the file system, but tonight I decided to
change the app so the files are stored in the database as a longblob.
I thought everything was working great, until I
2009 Feb 08
8
How to upload data using huge .sql file
Hi,
I am using Ruby - 1.8.6 and Rails- 1.2.6.
When I trying to upload data using the .sql file through my code
I got "Mysql::Error: Lost connection to MySQL server during query:
rollback;"
File size is 6 MB.
The code I have used is like:
numberOfRecord =
ActiveRecord::Base.connection.update(File.open(fileName).read)
Please let me know how I upload data using huge .sql file.
If
2009 Jan 11
4
Large uploads with attchment-fu
Hi
I am trying to upload 30mb files with attachment-fu, these seem to
just hang. (works file for small image files)
I am using mongrel cluster and nginx...
Does anyone have any advice?
Thanks
Richard
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group,
2006 May 04
5
How to upload only jpeg & gif & png images into public/images using rubyonrails
Hello iam new to rubyonrails. Please any one help me out in "How to upload
only jpeg & gif & png images into public/images using rubyonrails"
Thanks in Advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060504/33a17ad2/attachment.html
2010 Jun 09
3
PHP file upload limit
Hi all,
I am trying to run a web-based PHP application on a CentOS 5 32-bit
machine that requires me to upload large files. The machine also
happens to have little RAM (256MB).
I have no problem setting my upload limit ( upload_max_filesize ) to 1
GB but for some reason 2 GB or above seems to be no go. Would anybody
know why? Could it be one of the many 32-bit vs 64-bit issues?
Thanks.
Boris.
2011 Oct 11
3
/etc/init.d/mysql =fail mysqld=success
Hello.
This is my mysql-server.pp file, both master and client are runing
ubuntu.
--------------------
class mysql-server {
package { "mysql-server": ensure => installed }
package { "mysql-client": ensure => installed }
service { "mysql":
enable => true,
ensure => running,
require => Package["mysql-server"],
}
file
2005 Aug 30
0
Re: [Asterisk-Dev] voicemessages table
I agree you however i solved my problem with
app_voicemail.c
The table scheme provide in doc/README.odbcstorage
don't match to sql queries in app_voicemail.c
I think developpers who has written app_voicemail.c
for ARA provide a useable table !
Regards
Harry
--- Steve McMahon <voip@digitaldatabits.net> a ?crit :
> These questions should be sent to Asterisk-Users
> this is not a
2005 Aug 30
0
Re: [Asterisk-Dev] voicemessages table
I agree you however i solved my problem with
app_voicemail.c
The table scheme provide in doc/README.odbcstorage
don't match to sql queries in app_voicemail.c
I think developpers who has written app_voicemail.c
for ARA provide a useable table !
Regards
Harry
--- Steve McMahon <voip@digitaldatabits.net> a ?crit :
> These questions should be sent to Asterisk-Users
> this is not a
2007 Aug 20
1
Incomplete upload found in Debian upload queue
Probably you are the uploader of the following file(s) in
the Debian upload queue directory:
xen-common_3.1.0-1.diff.gz
xen-common_3.1.0-1.dsc
xen-common_3.1.0.orig.tar.gz
This looks like an upload, but a .changes file is missing, so the job
cannot be processed.
If no .changes file arrives within 23:29:11, the files will be deleted.
If you didn't upload those files, please just ignore
2013 Apr 16
1
Ruby Error Encountered when Installing Dashboard for Puppet Open Source
I''ve installed Puppet and am installing Dashboard on CentOS 6. I''m running
into an ''undefined method'' when installing the dashboard. To install
Puppet Open Source, I ran:
> rpm -ivh
2009 Sep 12
1
mysql query logging
Nothing I have done so far seems to work
# cat /etc/my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
max_allowed_packet=2MB
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
2011 Jan 16
4
Flickr Uploader Unable to Read From SD Card
Hi,
recently my installation of Flickr Uploader (v2.5) has stopped being able to read JPGs from the SD card. I can still browse and select the file, and I can still open the files in other applications (ie, I am pretty sure it's not a permissions issue), but Flickr Uploader reports that the file is not in a supported format. However, if I copy the file to my hard drive the Uploader opens it
2010 Mar 26
2
file upload error(can't convert Tempfile into String)
i tried a method to implementa file uploader by using amethod below
this is ma controlller method to upload
def save_imports
Contactslist.save(params[:list])
render :text => "File uploaded successfully"
this is ma view file
.remote
- form_for(@list, :url=> save_imports_list_path(@list, :format =>
"js"), :html => { :multipart => true,