This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Extensions » ezTeamRoom
expandshrink

ezTeamRoom

ezTeamRoom

Thursday 15 April 2010 10:59:29 pm - 12 replies

I try to install ezteamroom. All is fine, exept the last command :

php runcronjobs.php -s ezteamroom frequent
Using siteaccess ezteamroom for cronjob
An unexpected error has occurred. Please contact the webmaster.

In site_admin, all seems Ok, i find classes, roles of teamroom.

But on the Teamrooms frontpage, i see only the teamroom-image-pool and text (Lorem ipsum ...), and no blocks or icons ...

Thanks for your help

Friday 16 April 2010 11:00:19 am

Hi Henri,

Are you running the command on a local pc or webserver/hosting? In case this is on a webserver/hosting try:

/usr/local/bin/php php runcronjobs.php -s ezteamroom frequent

Regards Robin

p.s. welcome to the community portal blunk.gif Emoticon

Modified on Friday 16 April 2010 11:01:19 am by Robin Muilwijk

Friday 16 April 2010 11:39:06 am

Frequent cronjob launches all the initialization process for the new ezteamrooms you created. It uses the native eZ Publish workflow system. If your .ini settings are wrong, it gives you back some "unexpected error occurred". I solved it this way :

* re-checking all the install process described in extension/ezteamroom/INSTALL file

* re-checking the order of my ActiveExtension[] extension calling (cf. extension/ezteamroom/INSTALL text file, step 4)

* re-checking all the .ini, files in extension/ezteamroom/settings/siteaccess/ezteamroom/*.ini

* re-checking all the .ini, files in settings/siteaccess/ezteamroom/*.ini

* re-checking [TeamroomSettings] -> TeamroomPoolNodeID=VALUE in teamroom.ini*

* rechecking var/log/error.log after running php runcronjobs.php -s ezteamroom frequent (some usefull infos appeared there for me)

Hope it will help you.

Sincerely,
Ronan

Friday 16 April 2010 5:31:29 pm

Thanks,

Robin, the server run on my local PC

Ronan, I check what you write.
And the error.log is :
Unexpected error, the message was : Unable to connect to the database server 'localhost' in /home/henri/www/ezp43/lib/ezdb/classes/ezmysqldb.php on line 164
but eZp use my database on localhost normally.

Other errors like : Failed opening file 'settings/override/site.ini.append.php.tmp' for writing, but right for site.ini.append.php are 777.

I try 3 differents install, 2 with eZp 4.3 and 1 with eZp 4.2, with the same issue !

Friday 16 April 2010 8:22:22 pm

Hi Henri,

What is the path to the php installation? For me, on my PC this is C:\wamp\bin\php so to run a cronjob I need to enter the following command:

C:\wamp\bin\php php runconjobs.php

You might want to check on your path to php and try something similar. If that's not it, Ronan might be on to something.

-- Robin

Saturday 17 April 2010 10:23:57 pm

I try : /usr/bin/php runcronjobs.php -s ezteamroom frequent with the same issue : unexpected error ...

If I use an other site access : php runcronjobs.php -s site frequent the script works well.

I think that Ronan is right suspecting an error in .ini setting.

Thanks

Monday 19 April 2010 9:39:11 am

Hi Henri !

Once properly nailed down that this is a bug/issue, would you mind reporting it in the public issue tracker [1], making sure this is fixed shortly ?

Thanks in advance,
Cheers,

[1] : http://issues.ez.no/ezpublish

Tuesday 11 May 2010 5:55:08 pm

Hi,

I have the exact same thing as described above and am also not able to solve this issue.

However, I maybe got a better error message that maybe is of any help to you.

If I throw the command: "php runcronjobs.php -s ezflow_site frequent" then I'm getting the following result:

-=-=-=-=-=-=-=-=-=-=-

Running cronjobs/workflow.php at: 05/11/2010 03:47 pm
Checking for workflow processes
Step 1: Create teamroom content No parent node defined. Using node 2.
Created: Team member
Created: Moderators
Created: Tasks
Created: Files
Created: Milestones
Created: Message Board
Created: Blog
Created: Calendar
Created: Wiki
Step 2: Create teamroom boxes No parent node defined. Using node 2.
Created: Boxes
Created: Calendar
Created: Latest Files
Created: Current Lightbox
Created: Latest Member
Created: Last Blog Entry
Created: This Teamroom
Created: Teamroom Moderators
Step 3: Setting Teamroom Startpage
PHP Fatal error: Call to a member function attribute() on a non-object in /var/www/html/<mysite>/extension/ezxmlinstaller/xmlinstallerhandler/ezmodifycontent.php on line 60
Fatal error: eZ Publish did not finish its requestThe execution of eZ Publish was abruptly ended, the debug output is present below.

-=-=-=-=-=-=-=-=-=-=-

Hope this makes any sence to some of you...

Greetings,
Floris

Wednesday 12 May 2010 8:24:51 pm

Hi Floris,

This is beyond my knowledge, I'll ask around and see if we can get some help on this.

Regards Robin

Wednesday 12 May 2010 9:21:05 pm

Hi Floris,

you have a "No parent node defined. Using node 2." message, but I suppose your teamroom siteaccess' node ID isn't 2. The teamroom root node id is usually a children of your main siteaccess root node (under 2).

TheTeamroomPoolNodeID is setted in teamroom.ini, in the [TeamroomSettings] group

Did you re-check the order of the various ActiveExtension[] extension calls ? (cf. extension/ezteamroom/INSTALL text file, step 4)

Friday 04 June 2010 3:05:48 pm

I was having the same problem:

php runcronjobs.php -s ezteamroom frequent
Using siteaccess ezteamroom for cronjob
An unexpected error has occurred. Please contact the webmaster.

So on the configuration section, remember to follow:
step 2. If it is not set globally, configure the database settings in the ezteamroom siteaccess.
This is because a new siteaccess (ezteamroom) is been created and it doesn't have database settings by default, so it needs to be added:

[DatabaseSettings]

DatabaseImplementation=ezmysqli

Server=localhost

Port=

User=YourUser

Password=YourPassword

Database=YourDatabase

Charset=Socket=disabled

Friday 24 December 2010 8:30:28 am

Florish: Did you end up finding a solution. I'm experiencing the same problem. Are you using host or URI site-access, I'm using host and wondering if it might be related.

Step 3: Setting Teamroom Startpage

PHP Fatal error: Call to a member function attribute() on a non-object in /var/www/html/<mysite>/extension/ezxmlinstaller/xmlinstallerhandler/ezmodifycontent.php on line 60

Thursday 20 January 2011 4:34:08 pm

I am having pretty much the same problem as Brendan does.

Step 2: Create teamroom boxes

No parent node defined. Using node 2.

Created: Boxes

Created: Calendar

Created: Latest Files

Created: Current Lightbox

Created: Latest Member

Created: Last Blog Entry

Created: This Teamroom

Created: Teamroom ModeratorsStep

3: Setting Teamroom Startpage

PHP Fatal error: Call to a member function attribute() on a non-object in /home/www/thednaoffashion.org/web/www-docs/extension/ezxmlinstaller/xmlinstallerhandler/ezmodifycontent.php on line 60

Tried everything including re-installing teamroom. The one problem which I see, that if you set the Top Level node other from the (2), it breaks down like this. And there is no way of changing if you have it already set up. Or is there something that I do not see or understand.

Anyone?

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from