Training, Open Source computer languages
PerlPHPPythonMySQLApache / TomcatTclRubyJavaC and C++LinuxCSS 
Search for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
 
For 2023 (and 2024 ...) - we are now fully retired from IT training.
We have made many, many friends over 25 years of teaching about Python, Tcl, Perl, PHP, Lua, Java, C and C++ - and MySQL, Linux and Solaris/SunOS too. Our training notes are now very much out of date, but due to upward compatability most of our examples remain operational and even relevant ad you are welcome to make us if them "as seen" and at your own risk.

Lisa and I (Graham) now live in what was our training centre in Melksham - happy to meet with former delegates here - but do check ahead before coming round. We are far from inactive - rather, enjoying the times that we are retired but still healthy enough in mind and body to be active!

I am also active in many other area and still look after a lot of web sites - you can find an index ((here))
Which Blog Software?

Posted by Chris_Isaac (Chris Isaac), 18 August 2006
Hi

I'm thinking of starting a blog, can anyone recommend any particular blog software, preferably PHP based?

Thanks



Posted by admin (Graham Ellis), 19 August 2006
We're using Moveable Type, which is Perl rather than PHP based ... works very well, installs easily, no need for any Perl knowledge.   You could also use one of the blogging sites such as bloglines that'll host your blog and put you right into a community.

Although MT is Perl based, note that we access its MySQL databases through PHP in our archive and search engine on the "wellho" and "train" sites .... if you're looking for a PHP based blog because you want to collect / change / edit the data through your own PHP scripts, MT will work for you!

Posted by Chris_Isaac (Chris Isaac), 19 August 2006
Funny enough I've already downloaded MT, but when I saw Perl I shyed away.  If I don;t need to know Perl I'll give it a go.

Thanks.

Posted by Chris_Isaac (Chris Isaac), 2 October 2007
Well I finally got around to installing MT, I uncompressed into a folder called MT under the cgi-bin directory, put the mt-static directory under the web root directory.  I tried to run mt.cgi but it comes up with the following error:

Got an error: BEGIN not safe after errors--compilation aborted at lib/MT.pm line 45.

I've looked at mt.pm and all line 45 is is a '}'  the block of code is as follows:

Code:
BEGIN {
   $plugins_installed = 0;

   ( $VERSION, $SCHEMA_VERSION ) = ( '4.01', '4.0026' );
   ( $PRODUCT_NAME, $PRODUCT_CODE, $PRODUCT_VERSION, $VERSION_ID ) = (
       'Movable Type Publishing Platform',    'MT',
       '4.01', '4.01'
   );

   $DebugMode = 0;

   # Alias lowercase to uppercase package; note: this is an equivalence
   # as opposed to having @mt::ISA set to 'MT'. so @mt::Plugins would
   # resolve as well as @MT::Plugins.
   *{mt::} = *{MT::};

   # Alias these; Components is the preferred array for MT 4
   *Plugins = \@Components;
}


I can't see any problems.. but then again I don;t know what the block of code is supposed to do

Any suggestions appreciated.

Posted by admin (Graham Ellis), 2 October 2007
Chris, that looks like a follow-up error message rather than the initial one.

Were you running mt.cgi from the command line (Shell) or as a URL?  If the latter, what got written to the server's error log file?

Posted by Chris_Isaac (Chris Isaac), 3 October 2007
Hi Graham

Thanks for the response.

I run it through the url www.mywebsitehere.co.uk/cgi-bin/mt/mt.cgi, and got the message straight away.  I've tried checking the error log, but there are no entries since July.  I've also run the mt-check.cgi file and the only thing it highlights is that I'm running a slightly older version of perl.  The rest of the items were ok.

should I try getting hold of an older version of MT and installing that?







This page is a thread posted to the opentalk forum at www.opentalk.org.uk and archived here for reference. To jump to the archive index please follow this link.

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2024: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho