Phprad Classic Online

chmod 777 templates_c/ # Clear compiled templates rm -rf templates_c/* Solution: Verify credentials and PDO driver

return true; Modify class files:

CREATE TABLE posts ( id INT PRIMARY KEY AUTO_INCREMENT, category_id INT, title VARCHAR(255) NOT NULL, content TEXT, author VARCHAR(100), status ENUM('draft', 'published') DEFAULT 'draft', publish_date DATE, views INT DEFAULT 0, created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP, FOREIGN KEY (category_id) REFERENCES categories(id) ON DELETE SET NULL ); phprad classic

public function OnAfterInsert()

// config.php ini_set('display_errors', 1); error_reporting(E_ALL); Solution: Check permissions and paths chmod 777 templates_c/ # Clear compiled templates rm


Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

2 thoughts on “Q&A: Writing Academy YA fast with Samaire Provost