1
Hi, everyone.
I have install Xoops2.07 the newest version.
My server environment is FreeBSD5 / Apache2 / MySQL5 / php5
So, I ran into that T_CLONE problem after I installed the XOOPS2.07
And I follow the advise posted in the forum to get away the problem.
Now, I am ran into another trick problem.
I can enter the backend console but I can not add any of the default modules such as "vote", "contact" , "news" ...etc
I try every default modules but no success.
I am begin to wonder if it's the reason that I change the CLONE() that cost this strange issue pop up?
Or there are something that I didn't fix it?
This is how I modify the object.php
function [b]&obj_clone()[/b]
{
$class = get_class($this);
[b]$obj_clone[/b] = new $class();
foreach ($this->vars as $k => $v) {
//$clone->assignVar($k, $v['value']);
[b]$obj_clone[/b]->assignVar($k, $v['value']);
}
// need this to notify the handler class that this is a newly created object
[b]$obj_clone[/b]->setNew();
return [b]$obj_clone[/b];
}
Is there anyone who can help me out with the module issue?
PS: forgot to mention...
NO ERROR CODE SHOWS
ONLY ERROR MESSAGES SAID THIS MODULE INSTALL FAILED.