dreamhost

Why does Django throw an exception whenever I enable admin.autodiscover()?

Here is my setup. I am using Django version 1.1.1 on Dreamhost, Python 2.4. The problem I am having is whenever I create a simple app and also have admin.autodiscover() enabled, Django will throw an exception. My setup: from django.conf.urls.defaults import * from testapp.views import HelloWorld from django.contrib import admin admin.a...

Using Google App Engine With My Dreamhost Registered Domain

Hi There, I have registered a domain example.com using dreamhost, and currently have a standard wordpress blog set up on www.example.com. I'd like to have appengine.example.com point to my Google Appengine application, but am having some difficulty doing so. At the moment, appengine.example.com just points to my normal directory on the ...

Large http uploads failing with uploadify/php on Dreamhost

Ive been having trouble with a php and JavaScript upload script accepting large file uploads with Dreamhost. I realize that you are supposed to edit php.ini to change post max size and the memory limit, but it isn't behaving as it should. The only way I have ever successfully had a large file upload was switching to Dreamhost PS and mak...

Rails 3 on dreamhost?

I'd like to deploy a small Rails 3 app on dreamhost (just testing purposes, nothing serious) and I am wondering if anyone did it already... please chose one of I did it and it's super easy, here's how: ... Though I didn't try it, it should be easy, here's how: ... It's quite complicated, but this should get you started: .... NO WAI!!!1...

How can I install django-stdimage in my django project, rather than as a module (jailed shell, no path access)

The question about covers it. I'm using dreamhost, and need to utilize the stdimagefield rather than image field so I can do this: image3 = StdImageField(upload_to='path/to/img', size=(640, 480)) If there is a better way to do this, please let me know. Edit: Trying it like this, everything is working with the "python manage.py shell...

ASP.NET Model View Controller Application on DreamHost PS

Hello everyone :) I have an account with the excellent DreamHost web service. I also have a P.S. which means I should be able to modify essentially anything I want on the server. I'd like to create an ASP.NET MVC application, and I'd like to be able to run this from DH. The problem though is that DH provides Linux servers only. Is this...

Google Groups alternative

Hello, I'd like to be able to have Google groups functionality on my site. Meaning having the ability for people to email each other, with the emails posting to my site, in a threaded manner. Though I'm ideally looking for something free, if there's software out there that accomplishes this for a price, I'm also interested in learning ...

Getting rmagick to work with Phusion Passenger

I'm trying to deploy my app using Phusion Passenger on DreamHost and I'm very close ... I've unpacked my gems [ecco]$ rake gems (in /home/myuser/myurl.com/trunk) - [F] authlogic - [R] activesupport - [F] cancan - [F] formtastic - [R] activesupport >= 2.3.0 - [R] actionpack >= 2.3.0 - [F] paperclip - [F] rmagick - [F]...

Setting Access-Control-Allow-Origin in Dreamhost possible?

Just wanted a confirmation for this: Firefox currently doesn't play well for picking custom fonts through a sub-domain via the font-face tag. Other browsers do this without any problems. A little research showed up saying that i am required to set the Access-Control-Allow-Origin as is shown in the link here: http://pastie.org/653265 E...

SVN access/security concern

I'm considering using a third party hosting company to house an SVN repository. (I'm looking at Dreamhost but this may apply to other hosts as well.) The hosting company sets up the repository at http://svn.yourdomain.com/path. The problem I have noticed is that anyone could come along and export the files using: svn export http://sv...

Get country location of an IP with native PHP

Read on before you say this is a duplicate, it's not. (as far as I could see) I want to get the county code in php from the client. Yes I know you can do this using external sites or with the likes of "geoip_record_by_name" but I don't want to be dependent on an external site, and I can't install "pear" for php as im using shard Dreamh...

Which PHP version is required for str_split?

I relogin to my server in dreamhost and test some scripts.And I found I couldn't use str_split. Message of Undefined function was given.I checked the version in the server and its PHP Version is 5.2.12.And I just wonder which version is required?Thanks. Testcode: <?php $arr = str_split("lsdjflsdjflsdjflsdjfl"); print_r($arr); ?> Mes...

PHP: How do I install soap extension?

Ok. I am just starting to use soap and my first problem is installing it. I got this error: Fatal error: Class 'SoapClient' not found in /home/user/mysite.com/path/to/file.php on line 16 I am hosting my site in DreamHost and ask the guys there. But they told me that they don't support any third-party installation. Does anyone has t...

failed to connect to any given host:port - RoR Error?

Hi all I'm very new to Ruby on Rails so please go easy! I've uploaded the whole application to the server (Dreamhost) and gone through the steps. But when I try to run it I get the following error: failed to connect to any given host:port (Mongo::ConnectionFailure) I have installed the Mongo gem; but maybe I haven't got it configur...

Handling Incoming Mail to Multiple Recipients in PHP

Alright, this may take a moment or two to explain: I'm working on creating an Email<>SMS Bridge (like Teleflip). I have a few set parameters to work in: Dreamhost Webhosting PHP 5 (without PEAR) Postfix MySQL (If Needed) What I have right now, is a catch-all email address that forwards the email sent to a shell account. The shell ...

When I run Django on Dreamhost using SQLite, why do I get an OperationalError telling me that a table doesn’t exist?

I had a Django site running on Dreamhost. Although I used SQLite when developing locally, I initially used MySQL on Dreamhost, because that’s what the wiki page said to do, and because if I’m using an ORM, I might as well take advantage of it by running against a different database. After a while, I switched the settings on the server t...

No such file to load bundler error for Rails 3

I have a Rails 3 app ready for staging. I haven't got a VPS host set up yet. As I was planning to have everything on shared host for the first few months. Problem: cd myapp bundle check result: The Gemfile's dependencies are satisfied Passenger error: Error message: no such file to load -- bundler Exception class: LoadEr...

Unpacking gems [Rails 2.3.5]

I have the following gems defined in my environment.rb file: config.gem "authlogic" config.gem "paperclip" config.gem "pauldix-feedzirra", :lib => "feedzirra", :source => "http://gems.github.com" config.gem 'whenever', :lib => false, :source => 'http://gemcutter.org/' I have them installed on my local computer and everything i...

Django on Dreamhost - testing/sand box environment

I've been using webfaction for all my django needs for the last couple of years but have had a high traffic site fall in my lap that dreamhost are probably better suited to handling. To set up and experiment with a site with webfaction there are your [user].webfactional.com accounts. Which is sweet. Equivalently Dreamhost also offers [...

Trac FastCGI + Python on dreamhost leaves zombie python running

Hello there, Recently I installed trac in one of my dreamhost domains. I followed the instructions of http://trac.mlalonde.net/wiki/CreamyTrac and everything worked perfectly. At least i thought that was the case. After a few days, i started to notice that i was getting random 500 pages. I quickly checked the error log, and found a bun...