FORUMS CLOSED DUE TO SPAM. YOU STILL CAN ADD POST!

PHP error after installing a theme

Feed 5 posts, 3 voices

Avatar
40 posts

After installing a theme (unbound) this morning is got this message :

I’m running frog on my local machine using MAMP unders OSX 10.5!

includeSnippet('unbound_hd'); ?> title(); ?> content(); ?> hasContent('extended')) echo $this->content('extended'); ?>
 comment_status != Comment::NONE) $this->includeSnippet('comment-each'); ?>
 comment_status == Comment::OPEN) $this->includeSnippet('comment-form'); ?>
 content('sidebar', true); ?> 
 content('col-three', true); ?>
 includeSnippet('unbound_ft'); ?>

I followed to instructions included in the template, and ended up getting this. All help is welcome :D!

jeCa

 
Avatar
1493 posts

Hi jeCa: I’m not quite clear on what the error message is. However, if you’re having problems, the comment code is probably the culprit. If you haven’t changed anything in the Layout, then find lines 33-36, which should look like this:

	<?php if ($this->comment_status != Comment::NONE) 
		$this->includeSnippet('comment-each'); ?>
	<?php if ($this->comment_status == Comment::OPEN) 
		$this->includeSnippet('comment-form'); ?>

And remove them! That should do it. Let us know how it goes!

 
Avatar
40 posts

@David : thanks for the quick reply!

but it’s no PHP error. It seems that I have to make the public folder writeable, but since I’m running it on my local machine I don’t know how to set it to “write”. I only know how to do it through and FTP client.

Anyone here knowing who knows how to do this?

 
Avatar
1493 posts

Sorry, jeCa — I run XAMPP for localhost stuff … might be some MAMP types about!

 
Avatar
291 posts

@jeCa: Either do the following on terminal:

chmod a+w /path/to/the/folder

Or alternatively select the folder you want to change. Press apple-i and change the permissions from there.

 
Avatar
40 posts

I removed the entire folder & did a new set-up but after the install I made the folders writeable and it worked. Thanks for the aid David & tuupola :)