Hello everyone, i'm trying to learn CakePHP by the bog tutorial, i'm using APache2Triad 1.5.4 and CakePHP 1.1.19.6305 and i had two problems:
1) MySQL did'nt accept the DEFAULT parameter in: CREATE TABLE posts ( id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY, title VARCHAR(50), body TEXT, created DATETIME DEFAULT NOT NULL, modified DATETIME DEFAULT NOT NULL ); 2) After i created the view "index.thtml" i tried to see what i did in the browser and i got this error: " Parse error: syntax error, unexpected T_CLASS in C:\apache2triad\htdocs\cake\app\controllers\posts_controller.php on line 2", this doens't make any sense to me, because all the code i copied ctrl+c ctrl+v from the tutorial and all syntax is correct. so if anyone can help me with this, tks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
