WordPress database error: [Can't open file: 'wp_comments.MYD'. (errno: 144)]
SELECT ID, COUNT( comment_ID ) AS ccount FROM wp_posts LEFT JOIN wp_comments ON ( comment_post_ID = ID AND comment_approved = '1') WHERE ID IN (66) GROUP BY ID

Curioso! » Blog Archive » Script to convert Postscript to PDF


Script to convert Postscript to PDF



I needed to convert lots of Word files to PDF. This script automates the second step, convert Postscript to PDF.

use Win32;
use Win32::API;
use Win32::OLE;
use Win32::OLE qw(in);
sub ps2pdf {
	my $psfile = shift;
	my $pdffile = shift;
	my $distiller = Win32::OLE->new('PDFDistiller.PDFDistiller.1')
		or die Win32::OLE->LastError;
	$distiller->FileToPDF($psfile, $pdffile, 'Print');
}

WordPress database error: [Can't open file: 'wp_comments.MYD'. (errno: 144)]
SELECT * FROM wp_comments WHERE comment_post_ID = '66' AND comment_approved = '1' ORDER BY comment_date

Leave a Reply