Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
egroupware php date time error after update[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1698

PostPosted: Thu Apr 19, 2007 8:52 pm    Post subject: egroupware php date time error after update[solved] Reply with quote

[glsa=][/glsa]
Code:
Fatal error: Cannot redeclare class datetime in /var/www/localhost/htdocs/egroupware/phpgwapi/inc/class.datetime.inc.php on line 45

Update must have clobbered egroupware along the way somewhere.
It had been 269 days since a reboot.
Reboot and egroupware just gives the above error.

I searched and found something here
But it is talking about php 5.2.

I we are running:
www-apps/egroupware
Latest version available: 1.0.0.009_p3
Latest version installed: 1.0.0.009_p3

dev-lang/php
Latest version available: 5.2.1-r3
Latest version installed: 5.2.1-r3
However I am not shure because the updates had used slots.
Any clues?
_________________
Donate to Gentoo


Last edited by turtles on Fri May 18, 2007 2:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1698

PostPosted: Wed May 02, 2007 5:03 pm    Post subject: Reply with quote

Bump.
Groupware server still down here.
_________________
Donate to Gentoo
Back to top
View user's profile Send private message
marslander
n00b
n00b


Joined: 04 Oct 2005
Posts: 14

PostPosted: Thu May 17, 2007 12:23 pm    Post subject: Reply with quote

say i ran onto the same problem but avoided it for now by re downgrading my php until they update egrouware i now the egroupware 1.3 is out but hm not in portage doh they are going to 1.4 in beta now that should have the fixes for php 5.2

but hope we goet it in the portage or we have to stick all head toghather to make ebuild for it hm

but just downgrade or run 2 version of php on your server you can run up to 5.1.6-pl11-gentoo that the version i'm running only form php 5.2 it bugs
Back to top
View user's profile Send private message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1698

PostPosted: Fri May 18, 2007 2:41 pm    Post subject: Reply with quote

I down graded to
Code:
dev-lang/php
      Latest version available: 5.1.6-r6
      Latest version installed: 5.1.6-r6
and I still get the same error:
Code:
Fatal error: Cannot redeclare class datetime in /var/www/localhost/htdocs/egroupware/phpgwapi/inc/class.datetime.inc.php on line 45


EDIT Restarting the server fixed it.
Solved thank you.
_________________
Donate to Gentoo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum