similar to: MySQL error

Displaying 20 results from an estimated 7000 matches similar to: "MySQL error"

2006 Apr 03
11
Rails VPS Business Hosting
Greetings, Does anyone have experience with Rails VPS hosting? I''m basically looking for a hosting reseller option so I can have control of my clients domains and hosting. I''m looking for something easy to use; although I like learning it all, and am learning a lot, I am most definitely not a command line linux user type as of yet. The one that I''ve looked at
2009 Oct 06
7
rails: command not found on Debian lenny
I installed ruby gems from their website and installed rails using gem install rails I got a successful installed notification. But when I tried to use rails command, it gave me command not found. After I installed gems. I had to create a symbolic link otherwise gem command wouldn''t work. Anyone know how to get rails to work? Thanks!!
2006 May 12
11
Stupid? question about if else logic
this seems so stupid, I keep thinking I''ve dealt with this before but I have this code <h1>Portraits</h1> <% if @image.portrait == 1 %> <%= image_tag(url_for_file_column ''image'', ''file'', ''thumb'') %> <% else %> <h1>Landscapes</h1> <%= image_tag(url_for_file_column
2005 Dec 17
13
Rookie with ActionMailer
To start out I''ll say that this is the first thing that I''ve ever built that''s been intended to programmatically send email. I''m looking at examples in AWR and also on the wiki. I feel that I sort of have things set up right but I''m getting an error I can''t grok: Net::SMTPFatalError in Home#email_list 550 5.7.1 Unable to relay for
2006 Jun 13
7
help with ''error_messages_for''
Greetings, I''m in the throws of deploying an app on site5, and I''m getting strange errors. I think I might need to understand how error_messages_for works. I get a pretty standard looking error: " You have a nil object when you didn''t expect it! You might have expected an instance of ActiveRecord::Base. The error occured while evaluating nil.errors Extracted
2006 Jun 09
2
Deployment Suggestions
Did a quick search, but didn''t come up with anything definitive. So what does everyone think is the best low maintenance and most hassle free way to go for deployment? Is lighttpd still everyone''s choice? I remember seeing one that was a pre-packaged environment with apache I think. Anyway, just about to deploy an app and thought I''d ask suggestions - want to see
2006 Jul 03
13
problem starting mongrel
Apologies for the formatting, but this is the error I get when I try to start up mongrel. The app does work under webrick, so I''m not real sure what''s going on here. Thanks for any insight into what''s going on. -j ** Starting Mongrel listening at 0.0.0.0:3000 /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:666:in `register'': undefined method
2007 Dec 28
9
lost connection 2.0
I lost my "connection lost" error.. but now I''ve got a "Mysql::Error: MySQL server has gone away" error.. It comes from: /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/connection_adapters/abstract_adapter.rb:128:in ''log''. I''m not sure if Rails / BackgroundRb uses it .. but i''ve got the mysql (2.7) gem
2008 Feb 04
7
Problems installing Rmagick on Ubuntu
I want to install Rmagick on Ubuntu 7.10, but i am getting this error when running gem install rmagick: Can''t install RMagick 2.2.0. You must have ImageMagick 6.3.0 or later. (I installed imagemagick and libmagick9-dev prior to that) I installed rmagick through Synaptic, and it says that i have version 7:6.2.4.5.dfsg1-2ubuntu1 installed (by the way, what does the 7 mean?). What should
2006 Apr 30
82
Mongrel 3.15, Ubuntu and Park place (S3)
Hello. I installed under Ubuntu (Dapper) Park Place. I followed the instructions given at the RedHanded site. I get the following mongrel error when launching the application: ** Please login in with `admin'' and password `pass@word1'' ** You should change the default password or delete the admin at soonest chance!/usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.5/lib/mongrel.rb:584:in
2007 Oct 02
23
Mongrel using way more memory on production than staging. Any ideas why?
I''ve been trying to track down the culprit of erratic behaviour and crashes on my production server (which is split into a number of Xen instances), so set up a staging server so that I could really try to get to the bottom of it. The staging server (also split with Xen) is set up pretty much identically as far as the mongrel_cluster server is concerned (the production box has two
2006 Jul 30
1
Bug? find_by_id(nil) returns object just created
Tried to submit a ticket in Trac, but it reported an error... Doing a Model.find_by_id(nil) after creating an object of type Model returns that object -- and the next time, returns nil. It should always return nil. For example, Step 1. Create an object: >> Foo.create(:name => "bar") => #<Foo:0x2aaaac3ade20 @new_record=false,
2010 Mar 07
7
Upgraded puppet-server from EPEL 24.8 to 25.1 - now seeing "puppetmasterd[xxxx]: Too many connections"
I have updated the 1100 clients that prior to the update used to connect to the master just fine. Now after about 30 minutes of running, puppetmasterd starts to complain "puppetmasterd[6875]: Too many connections", and from that point forward will stop compiling catalogs. Puppetmaster is configured using the Mongrel Apache configuration as described here:
2006 May 15
1
handling navigation tabs - use sessions?
I think this is a fairly easy question done several times in several languages, but on a traditional ''tab'' based navigation webpage, what''s the best way to handle the active state? I am using this in my view: <% for category in @categories %> <% if the condition is met to make this the active tab %> <li><a id=''active''
2005 Dec 07
1
Navigation
Greetings, I appreciate the help from here as I seem to be asking the noob questions a lot, but what is a good way to deal with navigation pulled from a database? I have this in my view: <% @nav_buttons.each do |nav_button| %> <li><a href="#" class="nav"><%=h nav_button.name %></a></li> <% end %> this in my controller def
2006 Apr 10
10
Anyone has experience with railsplayground.com hosting ?
Im ready to start hosting and deploying some of my rails apps, im guessing if someone are using railsplayground.com shared hosting plan, right now im paying USD $35 for a half of disk space and transfer, with no rails support :( any advice its more than welcome :) -- Posted via http://www.ruby-forum.com/.
2006 Jan 15
2
rookie with text editing
Greetings, This might be a pretty basic question not even totally rails specific, but how do I control text editing using ruby on rails? For instance, I am using the ruby forum http://www.ruby-forum.com/topic/new as I type this and am typing into a textarea tag. I have this in my rails app and I want to know how to save the formatting - such as when I hit returns to go to a new line when I
2006 Jun 09
2
Noob with Overwhelming Deployment Woes...
I''m doing some searching for deployment options, and I feel like I''m getting buried in a lot of new technology and assumptions that I know all that it''s dependent on. In the past I''ve done small things with PHP where I just dump the app in a folder and everything works out of the box. I found that everyone is using Capistrano, which relies on Subversion
2006 Jul 07
5
Mongrel Debian packages
Hi all, I just wanted to let you know that I built some Debian (Sarge) packages to allow an apt-get only installation of Mongrel, Ruby and friends. Also contained is an init script that is capable of managing multiple applications. Support for the Pen load balancer is also included. More info can be found there:
2006 May 31
3
instance variable problem
I''m having some trouble with an instance variable being read as nil in my app. I have an image uploading, that can be added to categories. The page loads up initially fine, and if I upload an image without errors everything works fine. I''m working on the validation, but with the code I have if their are validation errors it renders ''new'' again, but reads