1
jimhuang
Can not install any module include defaults
  • 2004/7/28 7:45

  • jimhuang

  • Just popping in

  • Posts: 1

  • Since: 2004/7/28


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.

2
uniquekaiser
Re: Can not install any module include defaults

I HAVE THE EXACT SAME PROBLEM!!!!!!!!!!!

HELP NEEDED ON THIS ISSUE

ASAP

Login

Who's Online

152 user(s) are online (97 user(s) are browsing Support Forums)


Members: 0


Guests: 152


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits