DreamHost Discussion Board http://discussion.dreamhost.com/ All threads on the DreamHost Discussion Board! Thu, 02 Jul 2009 19:40:00 -0700 http://discussion.dreamhost.com/ en Gallery 2 Database Problem -- Need Help http://discussion.dreamhost.com/showflat.pl?Board=3rdparty&Number=120449&page=0&view=collapsed&sb=5&o=14&vc=1 Thu, 02 Jul 2009 19:23:32 -0700 TNGeneWhiz 3rdparty http://discussion.dreamhost.com/showflat.pl?Board=3rdparty&Number=120449&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

I have an SQL dump from Gallery 2. It contains details for a thousand or so images. I can't import the file into a new Gallery implementation because the database structure of Gallery 2 has changed.

Perhaps I need to locate an older version and install it, then import my file...then update to Gallery 2.3? Or, perhaps I can somehow manually change the database to make it compatible with version 2.3?

I've asked for help on the Menalto forums, but they aren't very nice to people who aren't knowledgeable about PHP or SQL.

I've been trying to figure this out for two years. I could really use some help from someone who understands the database structure of Gallery 2 and is willing to help me get my images back on-line.

]]> Post Reply?

I have an SQL dump from Gallery 2. It contains details for a thousand or so images. I can't import the file into a new Gallery implementation because the database structure of Gallery 2 has changed.

Perhaps I need to locate an older version and install it, then import my file...then update to Gallery 2.3? Or, perhaps I can somehow manually change the database to make it compatible with version 2.3?

I've asked for help on the Menalto forums, but they aren't very nice to people who aren't knowledgeable about PHP or SQL.

I've been trying to figure this out for two years. I could really use some help from someone who understands the database structure of Gallery 2 and is willing to help me get my images back on-line.

]]> changing themes on wordpress using dreamhost http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120443&page=0&view=collapsed&sb=5&o=14&vc=1 Thu, 02 Jul 2009 15:49:28 -0700 roguetrader21 forum_troubleshooting http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120443&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

I am new to dreamhost and Wordpress and I need to change my theme but started out by downloading the easy install. It is my understanding that I need to download the advanced version. How do I do that? Should I delete everything and start over?

]]> Post Reply?

I am new to dreamhost and Wordpress and I need to change my theme but started out by downloading the easy install. It is my understanding that I need to download the advanced version. How do I do that? Should I delete everything and start over?

]]> Need help with SSI #include http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120438&page=0&view=collapsed&sb=5&o=14&vc=1 Thu, 02 Jul 2009 09:44:54 -0700 Flatpick Guitar forum_troubleshooting http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120438&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

Hi,

Hopefully I can articulate the problem. Until yesterday, several/all of my site's pages used the SSI script !--#include virtual . . ., and it worked fine. Today my site crashed. The Dreamhost team was very helpful in helping me fix that, and I'm mostly back up. But now none of my SSI script is working; the content is not being incorporated.

I believe the only change (other than removing a self-imposed disk quota! D'oh!), was (I have to quote b/c I don't understand it all): "I switched you to php5, created an .htaccess with addhandler and addtype . . ." Could that have caused by SSI script to stop working? Any advice?

Thank you very much,

Confused in Charlotte


]]> Post Reply?

Hi,

Hopefully I can articulate the problem. Until yesterday, several/all of my site's pages used the SSI script !--#include virtual . . ., and it worked fine. Today my site crashed. The Dreamhost team was very helpful in helping me fix that, and I'm mostly back up. But now none of my SSI script is working; the content is not being incorporated.

I believe the only change (other than removing a self-imposed disk quota! D'oh!), was (I have to quote b/c I don't understand it all): "I switched you to php5, created an .htaccess with addhandler and addtype . . ." Could that have caused by SSI script to stop working? Any advice?

Thank you very much,

Confused in Charlotte


]]> Domain name propagation taking unusually long. http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120431&page=0&view=collapsed&sb=5&o=14&vc=1 Thu, 02 Jul 2009 03:00:05 -0700 ra_mcd forum_troubleshooting http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120431&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

Hello, I've registered AngloGermanRacing.com with Dreamhost and gotten hosting with them as well. This was all set up on Sunday morning, it's now Thursday morning and the domain name still isn't working. The owner of the site is sort of counting on having this working by tomorrow and I was fairly sure Dreamhost was a reliable service. Now it could be something I've done, I'm fairly confident I've uploaded the site to the relevant folder on the FTP and even if I hadn't I'd have gotten some sort of indexing of the files on AngloGermanRacing.com, the domain simply isn't working. Anyone have any idea?

]]> Post Reply?

Hello, I've registered AngloGermanRacing.com with Dreamhost and gotten hosting with them as well. This was all set up on Sunday morning, it's now Thursday morning and the domain name still isn't working. The owner of the site is sort of counting on having this working by tomorrow and I was fairly sure Dreamhost was a reliable service. Now it could be something I've done, I'm fairly confident I've uploaded the site to the relevant folder on the FTP and even if I hadn't I'd have gotten some sort of indexing of the files on AngloGermanRacing.com, the domain simply isn't working. Anyone have any idea?

]]> Install Movable Type http://discussion.dreamhost.com/showflat.pl?Board=dreamhostapps&Number=120430&page=0&view=collapsed&sb=5&o=14&vc=1 Thu, 02 Jul 2009 00:50:37 -0700 widad dreamhostapps http://discussion.dreamhost.com/showflat.pl?Board=dreamhostapps&Number=120430&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

Dear all,

can any body help with the steps for installing Movable Type on Dreamhost?

Your help is greatly appreciated.

Best Regards

]]> Post Reply?

Dear all,

can any body help with the steps for installing Movable Type on Dreamhost?

Your help is greatly appreciated.

Best Regards

]]> Help with install PHPUnit on Dreamhost http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120427&page=0&view=collapsed&sb=5&o=14&vc=1 Wed, 01 Jul 2009 19:10:48 -0700 tuan forum_troubleshooting http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120427&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

Hi,

I installed PHPUnit test framework by PEAR installer but it didn't work. Have anyone successfully installed PHPUnit on Dreamhost? If yes, could you give installation instructions? Thanks.

Cheers

]]> Post Reply?

Hi,

I installed PHPUnit test framework by PEAR installer but it didn't work. Have anyone successfully installed PHPUnit on Dreamhost? If yes, could you give installation instructions? Thanks.

Cheers

]]> Email: catch-all and disallowed characters http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120424&page=0&view=collapsed&sb=5&o=14&vc=1 Wed, 01 Jul 2009 16:38:16 -0700 robbbbb forum_troubleshooting http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120424&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

Hey, I use the catch-all for one of my domains, and I rarely get any spam on it, and when I do, I just add that email address to the garbage email list, no problem. Until now.

some frakking spammer decided to make up a junk email address (something like "|aaaa11111zzzz11za@_____.com") with a pipe character at the beginning.

The mail manager won't let me add it to the garbage email list because the pipe is a disallowed character in email addresses. I tried adding the address WITHOUT the pipe, but it's still getting through.

I tried to use the mail filters to filter mail with "|" in the To or CC field, but it's still getting through.

Any other suggestions? I don't want to have to resort to getting rid of catchall.

]]> Post Reply?

Hey, I use the catch-all for one of my domains, and I rarely get any spam on it, and when I do, I just add that email address to the garbage email list, no problem. Until now.

some frakking spammer decided to make up a junk email address (something like "|aaaa11111zzzz11za@_____.com") with a pipe character at the beginning.

The mail manager won't let me add it to the garbage email list because the pipe is a disallowed character in email addresses. I tried adding the address WITHOUT the pipe, but it's still getting through.

I tried to use the mail filters to filter mail with "|" in the To or CC field, but it's still getting through.

Any other suggestions? I don't want to have to resort to getting rid of catchall.

]]> Streaming M4V http://discussion.dreamhost.com/showflat.pl?Board=forum_multimedia&Number=120417&page=0&view=collapsed&sb=5&o=14&vc=1 Wed, 01 Jul 2009 13:01:13 -0700 joyceg98 forum_multimedia http://discussion.dreamhost.com/showflat.pl?Board=forum_multimedia&Number=120417&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

At our annual conference last Saturday we recorded some excellent presentations by experts in our rare disease. We would like to post these on the internet.

They are currently in M4V format, each is about 330 meg in size (40-50 minutes).

Is there a way to do streaming of this format from Dreamhost?
or is there another platform (like Tube Mogul or something) where I could post the files and link to them from my Dreamhost website?

All coaching is welcome!

Thank you,
Joyce

]]> Post Reply?

At our annual conference last Saturday we recorded some excellent presentations by experts in our rare disease. We would like to post these on the internet.

They are currently in M4V format, each is about 330 meg in size (40-50 minutes).

Is there a way to do streaming of this format from Dreamhost?
or is there another platform (like Tube Mogul or something) where I could post the files and link to them from my Dreamhost website?

All coaching is welcome!

Thank you,
Joyce

]]> How do I host a site with outside registration? http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120416&page=0&view=collapsed&sb=5&o=14&vc=1 Wed, 01 Jul 2009 12:37:41 -0700 kkozinski forum_troubleshooting http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120416&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

Hi, I'm currently hosting a site under a domain name which I purchased through my account with Dreamhost. However, I would like to transfer this domain to a GoDaddy account so that the billing is done through there, and not my Dreamhost account. Is it possible to host a site without having the registration under my Dreamhost account? If so, do I have to upload the files to a separate domain name and the original domain name redirect to the separate name or what?

]]> Post Reply?

Hi, I'm currently hosting a site under a domain name which I purchased through my account with Dreamhost. However, I would like to transfer this domain to a GoDaddy account so that the billing is done through there, and not my Dreamhost account. Is it possible to host a site without having the registration under my Dreamhost account? If so, do I have to upload the files to a separate domain name and the original domain name redirect to the separate name or what?

]]> Custom DNS or Sub-Domain? http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120415&page=0&view=collapsed&sb=5&o=14&vc=1 Wed, 01 Jul 2009 11:13:31 -0700 wearethecreative forum_troubleshooting http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120415&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

Hi!

I've been reading the Wiki for Custom DNS records.

I am going to be running (at home) a SIP/VoIP server and want to use voip.mydomainname.com

Now, I think what the Wiki is telling me is to not add voip.mydomainname.com as a sub-domain with hosting (round robin or something?) but instead, when I go to add a custom A record for the domain, to specify voip in the 'Name' area of "Add a custom DNS record to mydomainname.com:" right?

Perhaps this will be better than creating a sub-domain in the Domains part of the panel, and then changing the DNS details to that of my server running at home?

I don't know which is better. I was thinking that by not adding it as a sub-domain in the panel, anyone trying to call me on voip.mydomainname.com won't first have the call protocol forwards to port 80 and instead it will all just be redirected to my home server.

Help greatly appreciated.

]]> Post Reply?

Hi!

I've been reading the Wiki for Custom DNS records.

I am going to be running (at home) a SIP/VoIP server and want to use voip.mydomainname.com

Now, I think what the Wiki is telling me is to not add voip.mydomainname.com as a sub-domain with hosting (round robin or something?) but instead, when I go to add a custom A record for the domain, to specify voip in the 'Name' area of "Add a custom DNS record to mydomainname.com:" right?

Perhaps this will be better than creating a sub-domain in the Domains part of the panel, and then changing the DNS details to that of my server running at home?

I don't know which is better. I was thinking that by not adding it as a sub-domain in the panel, anyone trying to call me on voip.mydomainname.com won't first have the call protocol forwards to port 80 and instead it will all just be redirected to my home server.

Help greatly appreciated.

]]> Hebrew language support? http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120412&page=0&view=collapsed&sb=5&o=14&vc=1 Wed, 01 Jul 2009 10:18:47 -0700 oren_rusho forum_troubleshooting http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120412&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

Hi, Is the MYSQL and html pages support Hebrew?

]]> Post Reply?

Hi, Is the MYSQL and html pages support Hebrew?

]]> KnowledgeTree Installation http://discussion.dreamhost.com/showflat.pl?Board=3rdparty&Number=120409&page=0&view=collapsed&sb=5&o=14&vc=1 Wed, 01 Jul 2009 03:49:02 -0700 guven 3rdparty http://discussion.dreamhost.com/showflat.pl?Board=3rdparty&Number=120409&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

Hi everyone,

I just tried to install knowledgetree opensource to my server. (Stack edition)

but at 0 percent i see this error..

"Yikes! One of your processes (ktdms-oss-3.6.1, pid 11057) was just killed because your processes are, as a whole, consuming too much memory. If you believe you've received this message in error, please contact Support."

Any body help?

Thanks


]]> Post Reply?

Hi everyone,

I just tried to install knowledgetree opensource to my server. (Stack edition)

but at 0 percent i see this error..

"Yikes! One of your processes (ktdms-oss-3.6.1, pid 11057) was just killed because your processes are, as a whole, consuming too much memory. If you believe you've received this message in error, please contact Support."

Any body help?

Thanks


]]> HOW TO INSTALL A PLUGIN FOR WP? http://discussion.dreamhost.com/showflat.pl?Board=dreamhostapps&Number=120406&page=0&view=collapsed&sb=5&o=14&vc=1 Tue, 30 Jun 2009 23:11:13 -0700 sinocman dreamhostapps http://discussion.dreamhost.com/showflat.pl?Board=dreamhostapps&Number=120406&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

I TRY TO INSTALL A WORDPRESS PLUGIN CALLED"All in One SEO Pack",WHILE INTALLING,I WAS ASKED FOR "Connection Information"WHICH INCLUDE THE HOSTNAME USERNAME AND PASSWORD,WHERE AND HOW CAN I GET THE INFORMATION NEEDED? THANKS A LOT !

Welcome to the Pingdu forum
http://hi.baidu.com/pingdu ]]> Post Reply?

I TRY TO INSTALL A WORDPRESS PLUGIN CALLED"All in One SEO Pack",WHILE INTALLING,I WAS ASKED FOR "Connection Information"WHICH INCLUDE THE HOSTNAME USERNAME AND PASSWORD,WHERE AND HOW CAN I GET THE INFORMATION NEEDED? THANKS A LOT !

Welcome to the Pingdu forum
http://hi.baidu.com/pingdu ]]> wordpress hacked multiple times http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120405&page=0&view=collapsed&sb=5&o=14&vc=1 Tue, 30 Jun 2009 22:34:42 -0700 unitcircle forum_troubleshooting http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120405&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

I've had the link injection hack on my wordpress installation multiple times similar to what is described here: http://wordpress.org/support/topic/261886?replies=25

however, I keep changing my passwords and installing security plug ins but it keeps happening. Is it possible that this is a dreamhost security issue and not my issue? Is anyone else having this problem?

]]> Post Reply?

I've had the link injection hack on my wordpress installation multiple times similar to what is described here: http://wordpress.org/support/topic/261886?replies=25

however, I keep changing my passwords and installing security plug ins but it keeps happening. Is it possible that this is a dreamhost security issue and not my issue? Is anyone else having this problem?

]]> Hosting a second domain http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120404&page=0&view=collapsed&sb=5&o=14&vc=1 Tue, 30 Jun 2009 20:00:23 -0700 shai1 forum_troubleshooting http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120404&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

I currently have a site hosted at DreamHost and would like to transfer hosting of another site to my account. The second site is currently live at another provider and I don't want to negatively affect the uptime of my current DreamHost site or my other site.

I want to know how I develop my new site at DreamHost before I transfer the hosting to DreamHost. I looked at the "mirror" a domain, but I'm nervous about taking down either one of my sites.

Any help would be greatly appreciated.

]]> Post Reply?

I currently have a site hosted at DreamHost and would like to transfer hosting of another site to my account. The second site is currently live at another provider and I don't want to negatively affect the uptime of my current DreamHost site or my other site.

I want to know how I develop my new site at DreamHost before I transfer the hosting to DreamHost. I looked at the "mirror" a domain, but I'm nervous about taking down either one of my sites.

Any help would be greatly appreciated.

]]> Problem with SQL http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120401&page=0&view=collapsed&sb=5&o=14&vc=1 Tue, 30 Jun 2009 15:54:39 -0700 osoisimo forum_troubleshooting http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120401&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

Does anybody know why this is not working:

"SELECT DISTINCT(rowerid), age, weight, city, state, country, date_rowed, distance, time, comments FROM workouts WHERE distance='500' ORDER BY time ASC"

It keeps selecting all the values, even if they are the same rowerid

]]> Post Reply?

Does anybody know why this is not working:

"SELECT DISTINCT(rowerid), age, weight, city, state, country, date_rowed, distance, time, comments FROM workouts WHERE distance='500' ORDER BY time ASC"

It keeps selecting all the values, even if they are the same rowerid

]]> How to delete/close/cancel DreamHostApps Account? http://discussion.dreamhost.com/showflat.pl?Board=dreamhostapps&Number=120396&page=0&view=collapsed&sb=5&o=14&vc=1 Mon, 29 Jun 2009 23:19:07 -0700 blueriver dreamhostapps http://discussion.dreamhost.com/showflat.pl?Board=dreamhostapps&Number=120396&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

Is there a way to delete/close/cancel a DreamHost APPS account.

I tried it and found it limiting, and don't want to keep it around.

but I can't find any link or menu option to

1) Change email id
2) Cancel/Close/Delete the account

]]> Post Reply?

Is there a way to delete/close/cancel a DreamHost APPS account.

I tried it and found it limiting, and don't want to keep it around.

but I can't find any link or menu option to

1) Change email id
2) Cancel/Close/Delete the account

]]> Problem Running PHP script through Cron http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120392&page=0&view=collapsed&sb=5&o=14&vc=1 Mon, 29 Jun 2009 17:48:49 -0700 osoisimo forum_troubleshooting http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120392&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

Hey I am using the web panel to set up cron. I have the following command set to run:
/usr/local/bin/php5/home/osoisimo/rowerslog.com/cron/send_reminders.php

it should run every 10 min. However, it has yet to run. I have checked the script itself and it works. Why o why hasn't it run?

]]> Post Reply?

Hey I am using the web panel to set up cron. I have the following command set to run:
/usr/local/bin/php5/home/osoisimo/rowerslog.com/cron/send_reminders.php

it should run every 10 min. However, it has yet to run. I have checked the script itself and it works. Why o why hasn't it run?

]]> sendmail not sending in procmail http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120391&page=0&view=collapsed&sb=5&o=14&vc=1 Mon, 29 Jun 2009 16:20:23 -0700 MrGibbage forum_troubleshooting http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120391&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

I have this recipe in my .procmailrc

:0
! my@email.address.com

reading the logs, it looks like sendmail is getting and sending the file

procmail: [18010] Mon Jun 29 16:07:43 2009
procmail: Executing "/usr/sbin/sendmail,-oi,my@email.address.com"
procmail: [18010] Mon Jun 29 16:07:43 2009
procmail: Assigning "LASTFOLDER=/usr/sbin/sendmail -oi my@email.address.com"
procmail: Notified comsat: "dreamhost_ps_login_name@:/usr/sbin/sendmail -oi my@email.address.com"
From myTestAccount@gmail.com Mon Jun 29 16:07:43 2009
Subject: test8
Folder: /usr/sbin/sendmail -oi my@email.address.com 1972

So procmail is getting the message, sendmail is apparently getting the message, but I never receive the message in my inbox.

I tried testing sendmail on the command line

# /usr/sbin/sendmail -oi my@email.address.com <testfile

and that worked. I received that email. So what am I missing in my procmail?

Cheers,
Skip

]]> Post Reply?

I have this recipe in my .procmailrc

:0
! my@email.address.com

reading the logs, it looks like sendmail is getting and sending the file

procmail: [18010] Mon Jun 29 16:07:43 2009
procmail: Executing "/usr/sbin/sendmail,-oi,my@email.address.com"
procmail: [18010] Mon Jun 29 16:07:43 2009
procmail: Assigning "LASTFOLDER=/usr/sbin/sendmail -oi my@email.address.com"
procmail: Notified comsat: "dreamhost_ps_login_name@:/usr/sbin/sendmail -oi my@email.address.com"
From myTestAccount@gmail.com Mon Jun 29 16:07:43 2009
Subject: test8
Folder: /usr/sbin/sendmail -oi my@email.address.com 1972

So procmail is getting the message, sendmail is apparently getting the message, but I never receive the message in my inbox.

I tried testing sendmail on the command line

# /usr/sbin/sendmail -oi my@email.address.com <testfile

and that worked. I received that email. So what am I missing in my procmail?

Cheers,
Skip

]]> secure ftp http://discussion.dreamhost.com/showflat.pl?Board=forum_beginners&Number=120388&page=0&view=collapsed&sb=5&o=14&vc=1 Mon, 29 Jun 2009 15:23:11 -0700 theMezz forum_beginners http://discussion.dreamhost.com/showflat.pl?Board=forum_beginners&Number=120388&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

I ftp now to update my web sites.
I want to change that to a secure mode.

How do I do that? and what protocol do I set filezilla too when I ftp in?

thanks

--
http://theMezz.com ]]> Post Reply?

I ftp now to update my web sites.
I want to change that to a secure mode.

How do I do that? and what protocol do I set filezilla too when I ftp in?

thanks

--
http://theMezz.com ]]> php.ini fix to max_upload breaks sendmail http://discussion.dreamhost.com/showflat.pl?Board=forum_programming&Number=120387&page=0&view=collapsed&sb=5&o=14&vc=1 Mon, 29 Jun 2009 12:06:47 -0700 nagi forum_programming http://discussion.dreamhost.com/showflat.pl?Board=forum_programming&Number=120387&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

Hi folks-

Please understand I'm a designer, not a programmer.

I found some instructions that actually made sense to me to run my own php.ini on DH.
http://www.activecollab.com/forums/topic/1507/
Now I can upload large audio files to my site. Great.

However, today I realized that what that actually did was break sendmail (or at least I can't send messages from the site). When I comment out the changes to my .htaccess file, I CAN send mail.

I really don't know what I'm doing here. I tried to edit some things in the php.ini file, but it didn't help.

Can someone tell me how to fix it?


]]> Post Reply?

Hi folks-

Please understand I'm a designer, not a programmer.

I found some instructions that actually made sense to me to run my own php.ini on DH.
http://www.activecollab.com/forums/topic/1507/
Now I can upload large audio files to my site. Great.

However, today I realized that what that actually did was break sendmail (or at least I can't send messages from the site). When I comment out the changes to my .htaccess file, I CAN send mail.

I really don't know what I'm doing here. I tried to edit some things in the php.ini file, but it didn't help.

Can someone tell me how to fix it?


]]> (Very) Basic Publishing Question http://discussion.dreamhost.com/showflat.pl?Board=forum_beginners&Number=120383&page=0&view=collapsed&sb=5&o=14&vc=1 Mon, 29 Jun 2009 10:50:15 -0700 nyczoo forum_beginners http://discussion.dreamhost.com/showflat.pl?Board=forum_beginners&Number=120383&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

Hello!

I can't seem to find the answer to a very basic question: After files up are uploaded via FTP, where do they need to go to make them public at www.example.com? How do you get them so they're accessible as HTTP?

Thanks!

]]> Post Reply?

Hello!

I can't seem to find the answer to a very basic question: After files up are uploaded via FTP, where do they need to go to make them public at www.example.com? How do you get them so they're accessible as HTTP?

Thanks!

]]> Update Backups http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120382&page=0&view=collapsed&sb=5&o=14&vc=1 Mon, 29 Jun 2009 10:20:09 -0700 newbieworks forum_troubleshooting http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120382&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

I uploaded a bunch of family pictures to my Dreamhost backup account and just got done removing duplicates. What would be the best way to update everything without deleting the folder and uploading it again? I'm assuming rsync? And what would be the command? The pictures are located at "z:\pictures" and on Dreamhost backups as "pictures\"

]]> Post Reply?

I uploaded a bunch of family pictures to my Dreamhost backup account and just got done removing duplicates. What would be the best way to update everything without deleting the folder and uploading it again? I'm assuming rsync? And what would be the command? The pictures are located at "z:\pictures" and on Dreamhost backups as "pictures\"

]]> IPHONE HTML Issue http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120381&page=0&view=collapsed&sb=5&o=14&vc=1 Mon, 29 Jun 2009 07:23:46 -0700 tahoe forum_troubleshooting http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120381&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

When trying to view a HTML email on Iphone, get the following Message "This message cannot be displayed because of the way it is formatted. Ask the sender to send it again using a different format or email program. Multipart/Alternative" - This Only occurs when StoreGrid application sends a mail to any of my dreamhost email accounts/Domains. All other HTML mails to these Domains are viewed OK. If a send a mail from StoreGrid to another Email account hosted under Gmail I can view the same mail OK on my Iphone. Further more if I use outlook to view the mail on Dreamhost its OK.

The only combination I get this error is when Storegrid sends a mail to a domain hosted on dreamhost email servers and viewed by Iphone.

Anyone had/seen or a fix for this problem ?

]]> Post Reply?

When trying to view a HTML email on Iphone, get the following Message "This message cannot be displayed because of the way it is formatted. Ask the sender to send it again using a different format or email program. Multipart/Alternative" - This Only occurs when StoreGrid application sends a mail to any of my dreamhost email accounts/Domains. All other HTML mails to these Domains are viewed OK. If a send a mail from StoreGrid to another Email account hosted under Gmail I can view the same mail OK on my Iphone. Further more if I use outlook to view the mail on Dreamhost its OK.

The only combination I get this error is when Storegrid sends a mail to a domain hosted on dreamhost email servers and viewed by Iphone.

Anyone had/seen or a fix for this problem ?

]]> Trac on DreamHosting http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120378&page=0&view=collapsed&sb=5&o=14&vc=1 Sun, 28 Jun 2009 22:52:30 -0700 dakic forum_troubleshooting http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120378&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

Hi,

what is happening with this? I know that I tried it once it was announced, didn't work, I tried few times and then option dissapeared?
I guess it was gone because there was some problem, but is it likely you will have this back as a feature, maybe somewhat different?

All best and keep up the good work

Zeljko

]]> Post Reply?

Hi,

what is happening with this? I know that I tried it once it was announced, didn't work, I tried few times and then option dissapeared?
I guess it was gone because there was some problem, but is it likely you will have this back as a feature, maybe somewhat different?

All best and keep up the good work

Zeljko

]]> MediaWiki won't keep me signed in. http://discussion.dreamhost.com/showflat.pl?Board=3rdparty&Number=120376&page=0&view=collapsed&sb=5&o=14&vc=1 Sun, 28 Jun 2009 20:14:50 -0700 Paul36 3rdparty http://discussion.dreamhost.com/showflat.pl?Board=3rdparty&Number=120376&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

Installing MediaWiki worked fine but I'm having trouble staying signed in. Whenever I move to a new page, I'm kicked off my signed in account and it sees me as an IP without an account. I've had trouble like this with Wikipedia as well. The solution on Wikipedia was to always sign in on their secure server. Then I wouldn't be kicked off my account.

I'm not sure whether that's an option on Dreamhost. Does anyone have a solution? I suspect that part of the problem is my ISP. My IP often seems to be interpreted as a proxy server.

]]> Post Reply?

Installing MediaWiki worked fine but I'm having trouble staying signed in. Whenever I move to a new page, I'm kicked off my signed in account and it sees me as an IP without an account. I've had trouble like this with Wikipedia as well. The solution on Wikipedia was to always sign in on their secure server. Then I wouldn't be kicked off my account.

I'm not sure whether that's an option on Dreamhost. Does anyone have a solution? I suspect that part of the problem is my ISP. My IP often seems to be interpreted as a proxy server.

]]> Silly question but... *DELETED* http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120373&page=0&view=collapsed&sb=5&o=14&vc=1 Sun, 28 Jun 2009 17:17:42 -0700 bjan forum_troubleshooting http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120373&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

Post deleted by bjan ]]> Post Reply?

Post deleted by bjan ]]> 500 Internal Server Error http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120371&page=0&view=collapsed&sb=5&o=14&vc=1 Sun, 28 Jun 2009 10:48:19 -0700 figuringout forum_troubleshooting http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120371&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

Hi,

I use dreamhost to host jokatimes.com. This is a wordpress based online newpaper for my school. We recently had an uptick in the traffic and since then we have been getting a 500 error. I really need to fix this asap! Any help will be appreciated. I've tried to look for the error logs, but have not found them either.

]]> Post Reply?

Hi,

I use dreamhost to host jokatimes.com. This is a wordpress based online newpaper for my school. We recently had an uptick in the traffic and since then we have been getting a 500 error. I really need to fix this asap! Any help will be appreciated. I've tried to look for the error logs, but have not found them either.

]]> MySQL with no privleges http://discussion.dreamhost.com/showflat.pl?Board=forum_programming&Number=120370&page=0&view=collapsed&sb=5&o=14&vc=1 Sat, 27 Jun 2009 21:37:20 -0700 cosmocrazy forum_programming http://discussion.dreamhost.com/showflat.pl?Board=forum_programming&Number=120370&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

Hello. I have just created a new database with easy to remember passwords. The hostname used to reach the database has already propegated, so I am able to use PHPmyAdmin to configure it. I have added two tables, "student" and "faculty" with the appropriate structures. (name, homeroom etc.)

I have already set up a user for this database, but in my PHP script, I am unable to add to the database tables. I get the error:

INSERT command denied to user 'parking_permit'@'apache2-zoo.greenlantern.dreamhost.com' for table 'student'

However, in the control panel, the user "parking_permit" has every privilege checked off with no exceptions. This is all vanilla, but I can't seem to insert any rows. What is the problem?

]]> Post Reply?

Hello. I have just created a new database with easy to remember passwords. The hostname used to reach the database has already propegated, so I am able to use PHPmyAdmin to configure it. I have added two tables, "student" and "faculty" with the appropriate structures. (name, homeroom etc.)

I have already set up a user for this database, but in my PHP script, I am unable to add to the database tables. I get the error:

INSERT command denied to user 'parking_permit'@'apache2-zoo.greenlantern.dreamhost.com' for table 'student'

However, in the control panel, the user "parking_permit" has every privilege checked off with no exceptions. This is all vanilla, but I can't seem to insert any rows. What is the problem?

]]> IRC Logger http://discussion.dreamhost.com/showflat.pl?Board=forum_programming&Number=120366&page=0&view=collapsed&sb=5&o=14&vc=1 Sat, 27 Jun 2009 04:34:00 -0700 Gnepets forum_programming http://discussion.dreamhost.com/showflat.pl?Board=forum_programming&Number=120366&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

I am interested in writing a custom IRC logger to a database, hopefully in java.

*what type of account do I need?

*can I have the server check if the application is not running and start it?
**start automatically after a server reset?

]]> Post Reply?

I am interested in writing a custom IRC logger to a database, hopefully in java.

*what type of account do I need?

*can I have the server check if the application is not running and start it?
**start automatically after a server reset?

]]> Images vanished from Drupal http://discussion.dreamhost.com/showflat.pl?Board=dreamhostapps&Number=120364&page=0&view=collapsed&sb=5&o=14&vc=1 Sat, 27 Jun 2009 01:08:37 -0700 electricmonk dreamhostapps http://discussion.dreamhost.com/showflat.pl?Board=dreamhostapps&Number=120364&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

Hi,

All images (imagefield values) have vanished from my Drupal site sometime yesterday. Can this be fixed?

]]> Post Reply?

Hi,

All images (imagefield values) have vanished from my Drupal site sometime yesterday. Can this be fixed?

]]> noob: script permissions issue with capistrano http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120363&page=0&view=collapsed&sb=5&o=14&vc=1 Fri, 26 Jun 2009 21:59:49 -0700 cloister forum_troubleshooting http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120363&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

I do my development on a Windows laptop (I know, I know...). I am struggling to get a capistrano deployment system going for the first time. I have followed the instructions in the support wiki "Capistrano" topic to create my config/deploy.rb file.

When I run "cap deploy" from my dev machine, it seems to do fine until it wants to run the script located at:

/home/#{user}/mydomain.com/current/script/process/reaper

at which point capistrano encounters a "permission denied" error and exits. When I log on to the shell and look at the permissions on that file, I see that sure enough, the execute bit is not set.

Now, logging on to the console and typing "chmod +x mydomain.com/current/script/process/*" is not the problem. I could do that.

My question is: what do I do so this problem doesn't crop up EVERY time I deploy? Because next time, it will get those same scripts from the SVN repository and they still won't have +x on them.

Anybody else encountered this?

]]> Post Reply?

I do my development on a Windows laptop (I know, I know...). I am struggling to get a capistrano deployment system going for the first time. I have followed the instructions in the support wiki "Capistrano" topic to create my config/deploy.rb file.

When I run "cap deploy" from my dev machine, it seems to do fine until it wants to run the script located at:

/home/#{user}/mydomain.com/current/script/process/reaper

at which point capistrano encounters a "permission denied" error and exits. When I log on to the shell and look at the permissions on that file, I see that sure enough, the execute bit is not set.

Now, logging on to the console and typing "chmod +x mydomain.com/current/script/process/*" is not the problem. I could do that.

My question is: what do I do so this problem doesn't crop up EVERY time I deploy? Because next time, it will get those same scripts from the SVN repository and they still won't have +x on them.

Anybody else encountered this?

]]> Installing Xdebug http://discussion.dreamhost.com/showflat.pl?Board=forum_programming&Number=120358&page=0&view=collapsed&sb=5&o=14&vc=1 Fri, 26 Jun 2009 13:43:17 -0700 eboraks forum_programming http://discussion.dreamhost.com/showflat.pl?Board=forum_programming&Number=120358&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

Hello there,

I need to install xdebug, I know that I will need to cp the php.ini to my directory. But except of that, I wanted to know if someone have any tips, workarounds or other suggestions before I am start working on it.

]]> Post Reply?

Hello there,

I need to install xdebug, I know that I will need to cp the php.ini to my directory. But except of that, I wanted to know if someone have any tips, workarounds or other suggestions before I am start working on it.

]]> mod_rewrite - removing .htm extensions http://discussion.dreamhost.com/showflat.pl?Board=forum_beginners&Number=120357&page=0&view=collapsed&sb=5&o=14&vc=1 Fri, 26 Jun 2009 13:32:18 -0700 towerwindow forum_beginners http://discussion.dreamhost.com/showflat.pl?Board=forum_beginners&Number=120357&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

Hey there... this is my first time posting on here, so I hope I'm following the proper protocol (if I'm not, please let me know)...

So, I'm wanting to set up an .htaccess file such that the .htm extensions on certain webpages can be dropped. I.e. - www.xxxx.com/freestuff.htm can just be www.xxxx.com/freestuff

I've seen the topic covered in a million places online, but honestly, I'm a complete novice at this. Until yesterday, I didn't know what an .htaccess file even was (or Apache/mod_rewrite for that matter), so yeah... not sure I'm gonna be figuring this out on my own. :)

Any help anyone can provide would be awesome. Thanks...

Gavin

]]> Post Reply?

Hey there... this is my first time posting on here, so I hope I'm following the proper protocol (if I'm not, please let me know)...

So, I'm wanting to set up an .htaccess file such that the .htm extensions on certain webpages can be dropped. I.e. - www.xxxx.com/freestuff.htm can just be www.xxxx.com/freestuff

I've seen the topic covered in a million places online, but honestly, I'm a complete novice at this. Until yesterday, I didn't know what an .htaccess file even was (or Apache/mod_rewrite for that matter), so yeah... not sure I'm gonna be figuring this out on my own. :)

Any help anyone can provide would be awesome. Thanks...

Gavin

]]> Primary webpage http://discussion.dreamhost.com/showflat.pl?Board=forum_beginners&Number=120351&page=0&view=collapsed&sb=5&o=14&vc=1 Fri, 26 Jun 2009 12:29:38 -0700 vennard forum_beginners http://discussion.dreamhost.com/showflat.pl?Board=forum_beginners&Number=120351&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

HI,

Im transferring my domain to dreamhost, and I'm trying to figure out how to specify an html file to be the primary page when people go to my domain.

When people go to example.com, I want it to be re-directed to example.com/home_new.html

is this possible?



]]> Post Reply?

HI,

Im transferring my domain to dreamhost, and I'm trying to figure out how to specify an html file to be the primary page when people go to my domain.

When people go to example.com, I want it to be re-directed to example.com/home_new.html

is this possible?



]]> zenphoto http://discussion.dreamhost.com/showflat.pl?Board=dreamhostapps&Number=120348&page=0&view=collapsed&sb=5&o=14&vc=1 Fri, 26 Jun 2009 11:33:48 -0700 DaveBlakemore dreamhostapps http://discussion.dreamhost.com/showflat.pl?Board=dreamhostapps&Number=120348&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

I quickly set up zenphoto a number of months ago but did not get chance to do anything with it. I know want to start using it by have last my admin password.

Using the captcha string to send a reset password link to the admin id but it did not work.

What is the best way to either reset the password or just get rid of everything and start again. I would like to keep the current naming convention.

_______________________
Dave Blakemore ]]> Post Reply?

I quickly set up zenphoto a number of months ago but did not get chance to do anything with it. I know want to start using it by have last my admin password.

Using the captcha string to send a reset password link to the admin id but it did not work.

What is the best way to either reset the password or just get rid of everything and start again. I would like to keep the current naming convention.

_______________________
Dave Blakemore ]]> Suggestion: View DNS http://discussion.dreamhost.com/showflat.pl?Board=dreamhostapps&Number=120347&page=0&view=collapsed&sb=5&o=14&vc=1 Fri, 26 Jun 2009 09:06:02 -0700 bretmiller dreamhostapps http://discussion.dreamhost.com/showflat.pl?Board=dreamhostapps&Number=120347&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

I understand the limited service provided by DreamHost Apps, and after investigation of the service is one reason why I decided NOT to use DreamHost to register my domain.

What would be very useful is to provide a list of what SHOULD be in DNS so that we can configure that on the DNS service of our choice.

]]> Post Reply?

I understand the limited service provided by DreamHost Apps, and after investigation of the service is one reason why I decided NOT to use DreamHost to register my domain.

What would be very useful is to provide a list of what SHOULD be in DNS so that we can configure that on the DNS service of our choice.

]]> Dreamhost takes ip nameserver? http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120339&page=0&view=collapsed&sb=5&o=14&vc=1 Thu, 25 Jun 2009 16:58:31 -0700 gyuunyuu forum_troubleshooting http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120339&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

I've tried to use a a nameserver with ip address (by OpenDNS, 208.67.222.222) and the panel recognizes it as invalid saying "Error: "222" is not a valid TLD for a domain!". Can you guys help me?

]]> Post Reply?

I've tried to use a a nameserver with ip address (by OpenDNS, 208.67.222.222) and the panel recognizes it as invalid saying "Error: "222" is not a valid TLD for a domain!". Can you guys help me?

]]> MediaWiki problem http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120337&page=0&view=collapsed&sb=5&o=14&vc=1 Thu, 25 Jun 2009 15:20:41 -0700 yourhypnotist forum_troubleshooting http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120337&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

Hi

I am attempting to go to my media wiki at http://bighypnosisbook.yh.dreamhosters.com/

However there appears to be a problem can you help?


]]> Post Reply?

Hi

I am attempting to go to my media wiki at http://bighypnosisbook.yh.dreamhosters.com/

However there appears to be a problem can you help?


]]> DreamHostApps Wordpress limitations? http://discussion.dreamhost.com/showflat.pl?Board=dreamhostapps&Number=120330&page=0&view=collapsed&sb=5&o=14&vc=1 Thu, 25 Jun 2009 13:42:36 -0700 joelbarker dreamhostapps http://discussion.dreamhost.com/showflat.pl?Board=dreamhostapps&Number=120330&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

Hello. I am trying to use DreamHost Apps to demonstrate what a client's page would look like before we build it. To do that I need to upload a particular theme and/or plugin. Can I do that with DreamHost App?

]]> Post Reply?

Hello. I am trying to use DreamHost Apps to demonstrate what a client's page would look like before we build it. To do that I need to upload a particular theme and/or plugin. Can I do that with DreamHost App?

]]> Python and SQLite Problem http://discussion.dreamhost.com/showflat.pl?Board=forum_programming&Number=120328&page=0&view=collapsed&sb=5&o=14&vc=1 Thu, 25 Jun 2009 12:24:38 -0700 mbader forum_programming http://discussion.dreamhost.com/showflat.pl?Board=forum_programming&Number=120328&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

Hello,

I am new to both SQLite and Python. I am trying to write a script that calls data from a database and prints it to a website. The problem is, when I try to do this, as soon as I try to do something with cursor.execute("SQL cmd"), the webpage stops printing at that spot and does not continue. When I run it in from the shell, however, the program prints as it should.

My script is:
import cgi
import sqlite3 as sql

def defineContentType():
print "Content-type:text/html\n"
defineContentType()
print """<html>
<head>
<title>test page</title>
</head>
<body>This is before <br />"""

conn = sql.connect("data_temp")
cur = conn.cursor()
cur.execute('''SELECT type FROM sqlite_master WHERE tbl_name="data"''')
if len(cur.fetchall())>0:
cur.execute('''DROP TABLE data''')
conn.commit()
cur.execute('''CREATE TABLE data (
id INTEGER PRIMARY KEY AUTOINCREMENT,
strfield varchar(8),
numfld1 FLOAT NOT NULL,
numfld2 FLOAT NOT NULL)''')
conn.commit()
cur.execute('''INSERT INTO data (strfield, numfld1, numfld2) VALUES ("%s",%f,%f)''' % ("testing123",40.8052, -73.9654))
conn.commit()
cur.execute('''SELECT * FROM data''')
print cur.fetchall()
conn.close()


print """This is after
</body>
</html>"""

When I call it from a browser, this is what I get:
<html>
<head>
<title>test page</title>
</head>
<body>This is before <br />


But when I run the file from the shell, I get:
Content-type:text/html

<html>
<head>
<title>test page</title>
</head>
<body>This is before <br />
[(1, u'testing123', 40.805199999999999, -73.965400000000002)]
This is after
</body>
</html>

Can anyone please explain why the program might stop printing when retrieved through a browser and run fine when run in the shell?

]]> Post Reply?

Hello,

I am new to both SQLite and Python. I am trying to write a script that calls data from a database and prints it to a website. The problem is, when I try to do this, as soon as I try to do something with cursor.execute("SQL cmd"), the webpage stops printing at that spot and does not continue. When I run it in from the shell, however, the program prints as it should.

My script is:
import cgi
import sqlite3 as sql

def defineContentType():
print "Content-type:text/html\n"
defineContentType()
print """<html>
<head>
<title>test page</title>
</head>
<body>This is before <br />"""

conn = sql.connect("data_temp")
cur = conn.cursor()
cur.execute('''SELECT type FROM sqlite_master WHERE tbl_name="data"''')
if len(cur.fetchall())>0:
cur.execute('''DROP TABLE data''')
conn.commit()
cur.execute('''CREATE TABLE data (
id INTEGER PRIMARY KEY AUTOINCREMENT,
strfield varchar(8),
numfld1 FLOAT NOT NULL,
numfld2 FLOAT NOT NULL)''')
conn.commit()
cur.execute('''INSERT INTO data (strfield, numfld1, numfld2) VALUES ("%s",%f,%f)''' % ("testing123",40.8052, -73.9654))
conn.commit()
cur.execute('''SELECT * FROM data''')
print cur.fetchall()
conn.close()


print """This is after
</body>
</html>"""

When I call it from a browser, this is what I get:
<html>
<head>
<title>test page</title>
</head>
<body>This is before <br />


But when I run the file from the shell, I get:
Content-type:text/html

<html>
<head>
<title>test page</title>
</head>
<body>This is before <br />
[(1, u'testing123', 40.805199999999999, -73.965400000000002)]
This is after
</body>
</html>

Can anyone please explain why the program might stop printing when retrieved through a browser and run fine when run in the shell?

]]> FTP Log? http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120327&page=0&view=collapsed&sb=5&o=14&vc=1 Thu, 25 Jun 2009 12:12:16 -0700 tobyport forum_troubleshooting http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120327&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

is there a way of checking ftp activity of the user accounts one has set up in ones domain?

]]> Post Reply?

is there a way of checking ftp activity of the user accounts one has set up in ones domain?

]]> Announce list - &quot;non-standard characters&quot; http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120326&page=0&view=collapsed&sb=5&o=14&vc=1 Thu, 25 Jun 2009 11:55:39 -0700 kgreenbaum forum_troubleshooting http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120326&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

I've set up a colleague to use the announce list feature to send our church newsletter. She's done it successfully for weeks. Today, she's getting the error "Please remove any non-standard characters" when she tries to send it. She's sent me the html for the newsletter. I've replicated the problem. I can't image what non-standard characters it's finding. Looks like straight ascii text to me.

Does anyone have a suggestion about how to address this?

]]> Post Reply?

I've set up a colleague to use the announce list feature to send our church newsletter. She's done it successfully for weeks. Today, she's getting the error "Please remove any non-standard characters" when she tries to send it. She's sent me the html for the newsletter. I've replicated the problem. I can't image what non-standard characters it's finding. Looks like straight ascii text to me.

Does anyone have a suggestion about how to address this?

]]> Hijacked domain http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120325&page=0&view=collapsed&sb=5&o=14&vc=1 Thu, 25 Jun 2009 11:52:13 -0700 mrblueearth forum_troubleshooting http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120325&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

My client had his domain name hijacked by an employee who has the login info and control of the email account associated with the domain name. My client doesn't really email. How do I restore his control of the domain name? So far I get unhelpful email blather.

]]> Post Reply?

My client had his domain name hijacked by an employee who has the login info and control of the email account associated with the domain name. My client doesn't really email. How do I restore his control of the domain name? So far I get unhelpful email blather.

]]> Problems with preg_replace? http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120323&page=0&view=collapsed&sb=5&o=14&vc=1 Thu, 25 Jun 2009 10:50:12 -0700 flyingpylon forum_troubleshooting http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120323&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

A script that has been running successfully for a few months has suddenly stopped working (just within the last couple days, I believe). It generates the following warning message:

Warning: preg_replace() [function.preg-replace]: Numeric named subpatterns are not allowed in [filename]

Has something changed in Dreamhost's PHP configuration?

Any help or advice would be greatly appreciated.

]]> Post Reply?

A script that has been running successfully for a few months has suddenly stopped working (just within the last couple days, I believe). It generates the following warning message:

Warning: preg_replace() [function.preg-replace]: Numeric named subpatterns are not allowed in [filename]

Has something changed in Dreamhost's PHP configuration?

Any help or advice would be greatly appreciated.

]]> redirect a domain to my blogspot.com blog http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120318&page=0&view=collapsed&sb=5&o=14&vc=1 Thu, 25 Jun 2009 07:56:29 -0700 guarez forum_troubleshooting http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120318&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

hi.. i need to redirect my domain to my blog in blogspot.com, i now the "redirect" function in the control panel, but i need the url dont change when i visit my domain..


how i can do that?


]]> Post Reply?

hi.. i need to redirect my domain to my blog in blogspot.com, i now the "redirect" function in the control panel, but i need the url dont change when i visit my domain..


how i can do that?


]]> Custom PHP include path http://discussion.dreamhost.com/showflat.pl?Board=forum_programming&Number=120300&page=0&view=collapsed&sb=5&o=14&vc=1 Wed, 24 Jun 2009 15:55:01 -0700 cdaveb forum_programming http://discussion.dreamhost.com/showflat.pl?Board=forum_programming&Number=120300&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

I'm trying to find a way to set a custom PHP include path without having to hard code it into each page. Traditionally I've done this via .htaccess but that doesn't seem to be supported with the default PHP setup on Dreamhost. I tried doing the custom PHP ini thing but it didn't seem to work when I followed the posted instructions on the wiki (and may be overkill for my needs if there's a simpler solution). Any suggestions on the best approach on Dreamhost to solve this problem?


]]> Post Reply?

I'm trying to find a way to set a custom PHP include path without having to hard code it into each page. Traditionally I've done this via .htaccess but that doesn't seem to be supported with the default PHP setup on Dreamhost. I tried doing the custom PHP ini thing but it didn't seem to work when I followed the posted instructions on the wiki (and may be overkill for my needs if there's a simpler solution). Any suggestions on the best approach on Dreamhost to solve this problem?


]]> [user deletion]How long does it to become effectiv http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120295&page=0&view=collapsed&sb=5&o=14&vc=1 Wed, 24 Jun 2009 13:03:18 -0700 Stolz forum_troubleshooting http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120295&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

I used to have my domain on a friends dream host server. He created for me an username so I can acces it via SSH or FTP. Now I have my own Dreamhost ID. My friend deleted my previous user for me to be able to create it in my own account, but panel tells me the username is not available.

As I could not use my previous username I created a new one, then my friend told me the reason I could not create an user with my previous username could be the user deletion can take several hours to become effective, so I deleted the new user I've just created (may be this is my big mistake).

Now the hours have passed and I can't create an account with my original username nor the last one, so I begin to wonder if my fried was right and user deletion takes a time to become effective and I just did not wait enough time or in the other hand, once you delete an account the username could never be taken again.

Can anyone confirm me if once an username is deleted it can be created again?

Thanks.

]]> Post Reply?

I used to have my domain on a friends dream host server. He created for me an username so I can acces it via SSH or FTP. Now I have my own Dreamhost ID. My friend deleted my previous user for me to be able to create it in my own account, but panel tells me the username is not available.

As I could not use my previous username I created a new one, then my friend told me the reason I could not create an user with my previous username could be the user deletion can take several hours to become effective, so I deleted the new user I've just created (may be this is my big mistake).

Now the hours have passed and I can't create an account with my original username nor the last one, so I begin to wonder if my fried was right and user deletion takes a time to become effective and I just did not wait enough time or in the other hand, once you delete an account the username could never be taken again.

Can anyone confirm me if once an username is deleted it can be created again?

Thanks.

]]> Domain trouble http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120291&page=0&view=collapsed&sb=5&o=14&vc=1 Wed, 24 Jun 2009 11:03:34 -0700 gluconate forum_troubleshooting http://discussion.dreamhost.com/showflat.pl?Board=forum_troubleshooting&Number=120291&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

I had my domain hosted on a friends dream host server, but now want to add it to my server, so he deleted it off of his and when I try to add it to mine this is the error I get: Can't add domain: you don't have permission to add.

Any thoughts on this?


]]> Post Reply?

I had my domain hosted on a friends dream host server, but now want to add it to my server, so he deleted it off of his and when I try to add it to mine this is the error I get: Can't add domain: you don't have permission to add.

Any thoughts on this?


]]> irc client on VPS? http://discussion.dreamhost.com/showflat.pl?Board=3rdparty&Number=120289&page=0&view=collapsed&sb=5&o=14&vc=1 Wed, 24 Jun 2009 09:26:37 -0700 radiumsoup 3rdparty http://discussion.dreamhost.com/showflat.pl?Board=3rdparty&Number=120289&page=0&view=collapsed&sb=5&o=14&vc=1 Post Reply?

I've seen allusions to an exception to the irc client process ban if one has a VPS, but I'd really rather make sure I get a straight answer before setting a client (not server) up on my VPS to run 24/7 on a low volume (~50 lines a day) channel.

Is this allowed or not?

]]> Post Reply?

I've seen allusions to an exception to the irc client process ban if one has a VPS, but I'd really rather make sure I get a straight answer before setting a client (not server) up on my VPS to run 24/7 on a low volume (~50 lines a day) channel.

Is this allowed or not?

]]>