I'm trying to set up a fresh campsite install, version 3.2. I can create articles, publish them, and the section names show up on the home page, but when I click those, the page loads, but without any content aside from the title and section names.
In preview, I receive:
Parse errors:
Invalid property full_text of object Article
Invalid property full_text of object Article
Invalid property full_text of object Article
Invalid property full_text of object Article
Invalid property byline of object Article
Invalid property intro of object Article
Invalid property full_text of object Article
As a test, I set all three templates to use the camp_index.tpl (from template_engine/) file. With this set, accessing anything (home page, articles) results in the following error:
---
PHP Fatal error: Uncaught exception 'InvalidValueException' with message 'the value is not a valid datetime' in /var/www/campsite/template_engine/metaclasses/MetaDatetime.php:36
Stack trace:
#0 /var/www/campsite/template_engine/metaclasses/MetaDatetime.php(30): MetaDatetime->setValue(NULL)
#1 /var/www/campsite/template_engine/metaclasses/MetaArticle.php(296): MetaDatetime->__construct(NULL)
#2 /var/www/campsite/template_engine/metaclasses/MetaDbObject.php(107): MetaArticle->getCreationMonthName()
#3 /var/www/campsite/template_engine/metaclasses/MetaArticle.php(209): MetaDbObject->getCustomProperty('mon_name')
#4 /var/www/campsite/template_engine/metaclasses/MetaArticle.php(143): MetaArticle->getCustomProperty('mon_name')
#5 /var/www/campsite/templates_c/%%51^514^514FA65D%%camp_index.tpl.php(1112): MetaArticle->__get('mon_name')
#6 /var/www/campsite/include/smarty/Smarty.class.php(1258): include('/var/www/campsi...')
#7 /var/www/campsite/include/smarty/Smarty.class.php(1108): Smarty->fetch('camp_index.tpl', NULL, NULL, true)
in /var/www/campsite/template_engine/metaclasses/MetaDatetime.php on line 36
---
... the uploadDate is being interpretted as null. Throwing in some extra echo's tells me that the line "{{ set_publication identifier="1" }}", around 483 in the camp_index.tpl file, causes a new metaArticle to be created with both parameters being null, thus nothing is grabbed from the database.
... can anyone help me out? I don't believe the demo data was ever installed.
Please describe all the steps that you took from the Campsite package
download until you got this error. Did you take all the steps of the install
procedure?
Mugur
On Tue, Mar 24, 2009 at 12:13 AM, wrote:
> I'm trying to set up a fresh campsite install, version 3.2. I can create
> articles, publish them, and the section names show up on the home page, but
> when I click those, the page loads, but without any content aside from the
> title and section names.
>
> In preview, I receive:
> Parse errors:
> Invalid property full_text of object Article
> Invalid property full_text of object Article
> Invalid property full_text of object Article
> Invalid property full_text of object Article
> Invalid property byline of object Article
> Invalid property intro of object Article
> Invalid property full_text of object Article
>
> As a test, I set all three templates to use the camp_index.tpl (from
> template_engine/) file. With this set, accessing anything (home page,
> articles) results in the following error:
>
> ---
> PHP Fatal error: Uncaught exception 'InvalidValueException' with message
> 'the value is not a valid datetime' in
> /var/www/campsite/template_engine/metaclasses/MetaDatetime.php:36
> Stack trace:
> #0 /var/www/campsite/template_engine/metaclasses/MetaDatetime.php(30):
> MetaDatetime->setValue(NULL)
> #1 /var/www/campsite/template_engine/metaclasses/MetaArticle.php(296):
> MetaDatetime->__construct(NULL)
> #2 /var/www/campsite/template_engine/metaclasses/MetaDbObject.php(107):
> MetaArticle->getCreationMonthName()
> #3 /var/www/campsite/template_engine/metaclasses/MetaArticle.php(209):
> MetaDbObject->getCustomProperty('mon_name')
> #4 /var/www/campsite/template_engine/metaclasses/MetaArticle.php(143):
> MetaArticle->getCustomProperty('mon_name')
> #5
> /var/www/campsite/templates_c/%%51^514^514FA65D%%camp_index.tpl.php(1112):
> MetaArticle->__get('mon_name')
> #6 /var/www/campsite/include/smarty/Smarty.class.php(1258):
> include('/var/www/campsi...')
> #7 /var/www/campsite/include/smarty/Smarty.class.php(1108):
> Smarty->fetch('camp_index.tpl', NULL, NULL, true)
> in /var/www/campsite/template_engine/metaclasses/MetaDatetime.php on line
> 36
> ---
>
> ... the uploadDate is being interpretted as null. Throwing in some extra
> echo's tells me that the line "{{ set_publication identifier="1" }}", around
> 483 in the camp_index.tpl file, causes a new metaArticle to be created with
> both parameters being null, thus nothing is grabbed from the database.
>
>
> ... can anyone help me out? I don't believe the demo data was ever
> installed.
>