Jump to content


  • Posts

  • Joined

  • Last visited

Contact Methods

  • Website URL
  • ICQ

Profile Information

  • Location

dcasal's Achievements


Explorer (4/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges



  1. Oh ok thanks, I just didn't wanna submit a ticket if I could find answers on the forum...will do that now though. Cheers, David
  2. Hello all, It's that time of the year, and my main email address at TCH has been hit by serious spam. I've done everything I can with the user_prefs file in the .spamassassin folder, but I would like to include custom rule sets for stock market emails with inline gifs (the bain of my life right now) as a stock.cf file in that directory, for example. Are we set up so that it should work if I do that? Or are we restricted to putting custom rules in user_prefs...I ask because the the ruleset files I need to use are large. Thanks!java script:emoticon('',%20'smid_39')
  3. ARGH! That's such a pain! I'm not even sure how to do that with the time module instead... Do you know of some way I might be able to install just the datetime module in my home directory, or something? So frustrating :-( d
  4. Hello everybody! I'm having trouble executing a tiny Python CGI script on server68. Although the following works fine: <!--#echo var="DATE_LOCAL" --> This won't: <!--#exec cgi="cgi-bin/thomastime2.cgi" --> This is the script: >#!/usr/bin/python import cgi import datetime print "Content-type: text/plain\r\n\r\n", "hello" birthday = datetime.date(1955, 4, 1) today = datetime.date.today() age = today - birthday print age.days, "days ago" The permissions are 0755 and it is definitely in cgi-bin. The error log I can see from cpanel says: >[Thu Nov 10 12:18:08 2005] [error] [client] Premature end of script headers: /home/thomaspl/public_html/cgi-bin/thomastime2.cgi I've gone through the usual checks for this kind of error as instructed by Google, but no joy :-( Please please help? d
  5. Andy comes to the resque! What a Star. Pesky .htaccess... ;-) d
  6. It looks like not even public_html/index.html can display images in the public_html/images folder, as <img src="images/toad.jpg"></img> in index.html won't work (meaning, the browser won't display it) Anyone have any clue why that might be happening? d
  7. Hello everybody, A while ago, I noticed that my MediaWiki instance couldn't find any of its images...I checked permissions on the /public_html/wiki/home/images directory and it was 775..I changed that to 777 but it didn't make a difference... Anyone know of a common mistake I might have made? Cheers, David
  8. dcasal


    OW! Oh no...is there any plan to install Ruby at some point? (please?) d
  9. dcasal


    Hello all! Just trying to find out whether I can use Ruby scripts within my server space (reseller account). Want to give <a href="http://www.rubyonrails.org/show/HomePage">Rails</a> a try, so thought I'd ask. Cheers, David
  10. Unfortunately, all of the information there focuses on importing MT entries after using the normal MT export feature (which I can't use, because my Berkely DB is dead). So, since I am using a Perl script to extract entry information from the .html archives, most of it does not apply. So, for example, the date correction information on the above article quotes lib/MT/ImportExport.pm to correct so it exports date formats right. No point me playing there :-( I just have no idea why the posts are being exported with a 1969 date on them. Someone out there must have had this happen to them before. Am I the only sad person to have tried to export from .html archives? *sob* d
  11. Well, I just can't figure it out. I've read every single forum post I could find, here and at WP forums. No idea why the MySQL database is got 1969 as the date for the posts. It occurs to me that that sounds like the 'birth of Unix' date, and by default the oldest date in Linux systems (but I though that was seventy-something). But still, no idea how to change the date handling here. Oh please, someone (some goddess/god perhaps) smile down on me and tell me whassup. All I want's me entries back. Blimey, can't be that hard, cannit? d
  12. Hmmmmm. I've just gone to phpmyadmin to look at the blog db, and I can see the posts. They've almost all got 1969 as the post date! I can see how that might just be a little bit of a problem for WP. Looking around to see what happened.... will post again when I know ;-) hope your classes are enjoyable :-) d
  13. Hi Lisa, No, can't see them there either. However, once the import is done, two weird things happen. I can see the user that the import was done with, and in categories, there are 52 entries listed (more or less what I expect it was trying to import). But, logging in as that user or just browsing around trying to find any other entries but the sample one gives no joy. So it gets as far as creating a user with the entries, but not as far as actually storing them somewhere sane, like the month/day/year they belong to... An excerpt from the import.txt file I'm getting from parse.pl: AUTHOR: dc TITLE: First post! DATE: 06/06/2003 00:00:00 ----- BODY: <p>That's, like, soooo slashdot</p> ----- EXTENDED BODY: -------- Maybe it's the '------' characters? Could it be it's ISO instead of UTF8, which I read WP does by default? Can't understand it. Could it be something to do with the date format? It looks like the MT export I did with the Perl script exported the dates alright, and time, but no 'am/pm' data...maybe that's a problem? Yelp! d
  14. Huh. I seem to have run into a wall ;-) After playing with the Perl script to import from .html archives into MT import format, and getting what looks for all the world like a nicely, correctly formatted 'import.txt' out of it, I tried importing. No go. Then I munged the Perl to correspond a little closer to my blog's 'date' div, etc. Now, when I invoke blog/wp-admin/import-mt.php, I can see it is trying 'blablapost imported...'. However, when it's done and it offers a link to the blog, I cannot see any of them in the archives. Only the first, sample post from the installation is there. Any ideas? So close, yet so far! d
  15. You are such a star! Thanks very much. Took a while getting the right perl modules for that script, but I think I've got it. Cheers, David
  • Create New...