login | register
Fri 12 of Mar, 2010 (05:11 UTC)

bitweaver - Web Application Framework and CMS

Web Application Framework and CMS

     
Get RSS Feed

Fatal error since php upgrade

Sylvain
Joined: 07 Jan 2009
Reply to this PostReply with Quote to this Post

Fatal error since php upgrade

Posted:Wed 07 of Jan, 2009 (09:48 UTC)
Hello,

I have a very serious problem with my bitweaver site since the PHP upgrade of my web hosting.
Now with PHP 5.2.8 I have the following message on every page:

Fatal error: Non-static method LibertyAttachable::LibertyAttachable() cannot be called statically, assuming $this from incompatible context in ...BitSticky.php on line 34

I was running 1.3.1 and I upgraded in emergency to R2 but I have exactly the same issue (I clone copy on my PC running php 5.2.6 is working well).
Do you have an idea?
Thanks
ConcernedUser
Reply to this PostReply with Quote to this Post

Re: Fatal error since php upgrade

Posted:Sat 10 of Jan, 2009 (14:11 UTC)
I am having the exact same problem. My host must have upgraded php over the holidays as the wiki part of bitweaver suddenly stopped working. The files (fisheye?) section and such (admin section) still seem to function normally.

I tried changing the offending statement to new LibertyAttachable(); but that just creates another trail of errors for me to follow and didn't resolve the problem.

Is there any way to set php to emulate files in a certain directory (ie: htaccess or php.ini overrides) as an older version of php? That seems to be the real problem here - the change in php syntax.
xing
Joined: 07 Mar 2004
Reply to this PostReply with Quote to this Post

Re: Fatal error since php upgrade

Posted:Thu 15 of Jan, 2009 (15:39 UTC)
can you try replacing:
LibertyAttachable::LibertyAttachable()

with:
LibertyContent::LibertyContent()


on that line of BitSticky.php?

x