Wrox Programmer Forums
|
BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6
This is the forum to discuss the Wrox book Beginning PHP, Apache, MySQLWeb Development by Michael K. Glass, Yann Le Scouarnec, Elizabeth Naramore, Gary Mailer, Jeremy Stolz, Jason Gerner; ISBN: 9780764557446
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 22nd, 2005, 06:21 PM
Registered User
 
Join Date: Jan 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help Needed: Incorrect key file Error

Hi, I am about two weeks into learning PHP/MySQL from the book and have come up against a brick wall. After fixing the e-mail/email issue the Chaper 12 CMS exercise seems to run fine except...

I create an article and save it (fine). I then Edit the article, make a change and save it (fine). I then repeat this and I get the following error message:

Could not update article; Incorrect key file for table: 'cms_articles'. Try to repair it

This message comes from the 'Save Changes' sequence in transact-article.php The table is then unusable until I run the REPAIR TABLES cms_articles command.

At the moment I don't know if it is a bug in the code, a problem with the way the Keys are set up in the cms_articles table, or something to do with the way my Database or MySQL is configured. Apart from the e-mail fix and the required changes to conn.php I am using the code unchanged and as downloaded from this site.

I am using the phpDev5 bundle from firepages.com.au comprising:
apache 1.3.2 7AND/OR apache 2.0.43
Zend Optimiser
PHP4.2.3
MySQL4 (alpha but stabler than the older release version
phpMyAdmin 2.3.2
Perl 5.6.1
Mod_Perl 1.27 dev

There must be someone out there who knows what this is all about and can come to my aid - please help keep me sane!







Similar Threads
Thread Thread Starter Forum Replies Last Post
Incorrect Syntax Error. binici ASP.NET 2.0 Basics 2 January 12th, 2007 01:33 AM
<xsl:for-each> and key() - help needed muchofrio XSLT 5 April 13th, 2006 09:28 AM
configured Identity is incorrect error stoorob Classic ASP Components 3 September 28th, 2005 10:07 AM
Error in File Crystalreport.rpt Incorrect log on p softles ASP.NET 1.x and 2.0 Application Design 1 July 26th, 2004 10:57 PM
Error Line 1: Incorrect syntax near '='. Calibus Classic ASP Databases 9 July 20th, 2004 02:22 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.