similar to: Does Mysql can store image?

Displaying 20 results from an estimated 60000 matches similar to: "Does Mysql can store image?"

2006 Apr 10
3
File Upload Problems
following the instructions at http://wiki.rubyonrails.com/rails/pages/HowtoUploadFiles, I am able to upload to an explicit and existing directory (i.e. c:\ror\app\public\images\photo.jpg). However, when I try to upload to a folder that does not exist, say, c:\ror\app\public\image\newfolder\photo.jpg, I get the following error: Errno::ENOENT in Images#create No such file or directory -
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
2006 Aug 02
3
Upload forms--where is the file object?
Hi All, I''ve been trying to create an upload form page that will take an uploaded file, and save it to a directory on the server. I''ve tried following a couple of posts on this list, and the HowTo from here: http://wiki.rubyonrails.org/rails/pages/HowtoUploadFiles Here is the code in my view: <%= start_form_tag ( {:action => "upload"}, { :mulipart => true }
2009 Dec 10
2
multiuser rsync environment
Dear List, I am looking for a solution of the following issue. We are two users managing our homepage through subversion in order to synchronize each others work. We upload everything to the server via the following command in rsync: rsync -avzt --exclude ".svn" --exclude "*~" -e ssh . webserver at webserver.org:/path/to/the/webpage Everything works just fine except
2011 Jun 08
1
Drupal/MySQL performance in Xen and OpenVZ
Hi, We are considering a transition from OpenVZ to Xen for our web server infrastructure. The primary task performed by the virtual servers is to run a number of Drupal sites with a MySQL backend. The webserver and MySQL servers are on separate virtual hosts. We also have a number of smaller hosts running on the same hardware (a couple of dev-servers, a logging-and-monitoring server, a secondary
2004 Aug 06
2
I can´t access from my intranet to the webserver using www.mydomain.com ....
I´m not suscribed to the list. Hi, i have a little intranet with 2 servers, both of them are running mandrake 10, one of them is dedicated as firewall and router, this one use shorewall 2.0 and has been configured like says on the quick guide for two interfaces. The other one is been used as webserver, mail server and ftp server. I used apache 2.0 as webserver. Thing is that i can access the
2006 Aug 01
3
Upload file to file system and sql insert date errors
I''m trying to use one form to upload a file to the file system and insert a title and description field into the database. I have no problem uploading files to the file system using the code from http://wiki.rubyonrails.com/rails/pages/HowtoUploadFiles There are more fields on the form than need to be inserted into the database, name and file. I need to pull out these extra fields
2011 Apr 20
2
Cannot get progress bars to work w/ Apache Progress Module
I am following this screencast http://railsillustrated.com/screencast-file-uploads-progress-in-rails-passenger.html as well as comparing this against all the other rails Apache Progress Module progress bar examples and I can''t figure out why I am always getting a 404 routing error: ActionController::RoutingError (No route matches "/progress"): I have a feeling that
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 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
2007 Jan 17
11
scope issue after upgrade
I just upgraded to 0.22.0 from 0.18.4 and I''m running into what I think are problems due to changes in scope rules. In my site.pp manifest, I have the following: import "classes/*" node nfsserver { include nfsserver } node webserver { include webserver } class cluster1_sites { website { "example.com": ...; "example2.com": ...; } } node
2007 Dec 14
2
file or website upload scripts / programs and security protection
Holiday Greetings! Ummmmm scenario is centos 4.5 standard apache webserver I have a client that is really struggling with website file upload concepts. Ive been googling for some scripts or other programs that allow uploading of files to proper directory(ies) after authentication I am definitely concerned about security issues of course. I have never implemented this before because everyone I
2006 Apr 03
3
Lost Connection to MySql during query.
hi all, I am getting an error when trying to connect to a mysql server on my ''production'' linux server. The rails app works fine when connecting to the ''development'' mysql on my windows development server. I have looked at the following wiki: http://wiki.rubyonrails.com/rails/pages/Mysql+Connection+Problems/ and I installed the mysql gem, however this does
2006 Apr 07
1
Upload corrupts images. Any ideas why?
Hi, I have written upload action and it seems to be working in general but image files consistently get corrupted. They differ in both content and size. I have uploaded a small text file without any problems. Everything is running on my laptop, WEBrick is the server. Code: *********** begin @filename = @params[''NewFile''].original_filename
2004 Nov 23
1
HTB/CBQ - shorewall and bridge
This is my situation : FTP/Webserver ------| Mailserver ---------|-------Cisco 827 RTR-----Internet DB App. server -----| I want to do the following : FTP/Webserver ------| Mailserver ---------|------BRIDGE------Cisco 827 RTR-----Internet DB App. server -----| The internet connection is 3mbit/384kbit ADSL connection, with 1 fixed address. The cisco router is acting as a router with NAT. Some
2006 Mar 24
19
Storing images in Ruby
Hi, I''d like to allow users to upload images and store those images in a Postgres database. I''ve looked through the example in "aguile development with rails" which suggests using the MySQL blob field. When I wrote a similar app in Java, we Base64 encoded the file and then stored it as a text field. Is this easy to do in RoR too? Any advice you can give me would
2005 Mar 10
6
images from database + caching
Is the information in http://wiki.rubyonrails.com/rails/show/HowtoUploadFiles on caching images still the best way on how to cache images that are served from the database? I haven''t added time information to my image table yet, and the images are sent after every single page view (even if it''s been downloaded already). Joe
2010 Jun 22
18
blktap2 does not work
Distro: debian unstable Xen version: 4.0.0-2 This is the config: #HVM #still no qemu-dm in debian #kernel = "/usr/lib/xen-4.0/boot/hvmloader" #builder = ''hvm'' #memory = 2048 #name = "webserver" #vif = [''bridge=eth0''] #disk = [''tap:tapdisk:aio:/srv/xen/webserver.img,xvda,w'',''phy:/dev/cdrom,xvdb:cdrom,r'']
2015 Feb 12
2
Samba4 kinit issue with principal and keytab file
Hi All ! Using Samba Version 4.1.12, updated from source from 4.0beta1 I've created a user, let say kerbuser, for a web server to authenticate with kerberos and provide SSO to the end-users. In my example, my domain is MYDOMAIN.LOCAL, the apache server is webserver.mydomain.local and the AD user is kerbuser I've added a principal on the user and exported everything in a keytab so
2003 Aug 04
1
Some questions about a potential usage scenario for asterisk
Hi all, I'm new to the list and also new to the field of CTI. I'm looking for a solution to my problem (detailed in a mo) and after some extensive googling, came across asterisk but I'm not 100% sure if it will fulfill my needs - simply as I know nothing about CTI at this point. Ok my problem and desired solution goes like this. I have an intranet http-based application (developed