eZ Community » Forums » Setup & design » Powercontent extension and eZP4
expandshrink

Powercontent extension and eZP4

Powercontent extension and eZP4

Thursday 25 September 2008 12:24:35 pm - 3 replies

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

Modified on Thursday 25 September 2008 12:25:35 pm by Christian Johansen

Thursday 25 September 2008 2:32:53 pm

And your using the 4.0 version?

ref (trunk):
http://projects.ez.no/powercontent

Anyway strict errors, are not the end of the world..

Thursday 25 September 2008 3:11:40 pm

Anyway strict errors, are not the end of the world.. 

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.

Thursday 25 September 2008 5:01:11 pm

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 happy.gif Emoticon

Modified on Thursday 25 September 2008 6:59:36 pm by Christian Johansen

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from