I'm trying to implement CouchCMS with a one page HTML document that I've developed for a client. The client just want to be able to add images and texts to a gallery in the HTML site, without having to edit the code. So I thought that CouchCMS would be a perfect solution for this.
I tried to follow the Sample Portfolio Site Tutorial but I'm getting stuck at the section where you are being asked to rename the HTML document to PHP. In my case, I only have one HTML document named index.html, so I rename it to index.php. But when I visit the index.php in my browser, the window is just blank. From what I understand, I should see the same thing as when I visit the index.html, right?
For your information I'm using MAMP on Mac for this installation. I also tried to rename the index.html to home.php, but that didn't work either. Lastly I tried to continue with the tutorial by adding
Is this a usual problem and do you know how to solve this?
I tried to follow the Sample Portfolio Site Tutorial but I'm getting stuck at the section where you are being asked to rename the HTML document to PHP. In my case, I only have one HTML document named index.html, so I rename it to index.php. But when I visit the index.php in my browser, the window is just blank. From what I understand, I should see the same thing as when I visit the index.html, right?
For your information I'm using MAMP on Mac for this installation. I also tried to rename the index.html to home.php, but that didn't work either. Lastly I tried to continue with the tutorial by adding
- Code: Select all
<?php require_once( 'couch/cms.php' ); ?>
- Code: Select all
<?php COUCH::invoke(); ?>
Is this a usual problem and do you know how to solve this?