Forums / Setup & design / Powercontent extension and eZP4
Christian Johansen
Thursday 25 September 2008 3:24:35 am
I'm updating by blog, and also upgrading to eZP 4. I'm having some trouble with the powercontent extension. The wiki page says that it should work with 4.0, BUT:
Posting a comment stops at /powercontent/action with the following in debug output:
Strict: PHP Sep 25 2008 12:17:38 Only variables should be assigned by reference in /my/site/extension/powercontent/modules/powercontent/action.php on line 4 Strict: PHP Sep 25 2008 12:17:38 Only variables should be assigned by reference in /my/site/extension/powercontent/modules/powercontent/action.php on line 26 Strict: PHP Sep 25 2008 12:17:38 Only variables should be assigned by reference in /my/site/extension/powercontent/modules/powercontent/action.php on line 42 Strict: PHP Sep 25 2008 12:17:38 Only variables should be assigned by reference in /my/site/extension/powercontent/modules/powercontent/action.php on line 49 Strict: PHP Sep 25 2008 12:17:38 Only variables should be assigned by reference in /my/site/extension/powercontent/modules/powercontent/action.php on line 52 Strict: PHP Sep 25 2008 12:17:38 Only variables should be assigned by reference in /my/site/extension/powercontent/modules/powercontent/action.php on line 53 Strict: PHP Sep 25 2008 12:17:38 Only variables should be assigned by reference in /my/site/extension/powercontent/modules/powercontent/action.php on line 56 Strict: PHP Sep 25 2008 12:17:38 Only variables should be assigned by reference in /my/site/extension/powercontent/modules/powercontent/action.php on line 59 Strict: PHP Sep 25 2008 12:17:38 Only variables should be assigned by reference in /my/site/extension/powercontent/modules/powercontent/action.php on line 62 Strict: PHP Sep 25 2008 12:17:38 mktime() [<a href='function.mktime'>function.mktime</a>]: You should be using the time() function instead in /my/site/extension/powercontent/modules/powercontent/action.php on line 67 Strict: PHP Sep 25 2008 12:17:38 Only variables should be assigned by reference in /my/site/extension/powercontent/modules/powercontent/action.php on line 74 Strict: PHP Sep 25 2008 12:17:38 Only variables should be assigned by reference in /my/site/extension/powercontent/modules/powercontent/action.php on line 82
Has anyone seen this? Also, no comment is actually posted. I'm using PHP 5.2.0-8+etch11
André R.
Thursday 25 September 2008 5:32:53 am
And your using the 4.0 version?
ref (trunk):http://projects.ez.no/powercontent
Anyway strict errors, are not the end of the world..
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription @: http://twitter.com/andrerom
Kristof Coomans
Thursday 25 September 2008 6:11:40 am
In most cases it's better to fix them though, it's a clear sign that your code is doing something which is bad practice.
independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org
Thursday 25 September 2008 8:01:11 am
Great, thanks! I was using the wrong subversion repository (pubsvn) that was linked from http://ezpedia.org/wiki/en/ez/powercontent
Update: I updated the ezpedia page so new users won't make the same mistake :)