1
Hi i am trying to relocate my XOOPS application from one server to other and facing with this problem. Any guess
Parse error: parse error, unexpected T_CLONE, expecting T_STRING in /home/user/public_html/html/kernel/object.php on line 528
This is what i have done.
1. created a db dump and loaded onto new server
2. created a tar.gz of html folder where XOOPS installtion is done on old server.
3. uploaded this tar.gz on new server and using cpanel unpacked it.
4. given chmod 757 to cache, templates_c and upload.
5. modifed the mainfile.php for new db data etc.
now when i visit mydomain.com/html i get the above error. Am i missing something while doing relocation.
this is what i see near line 528 in object.php
/**
* create a clone(copy) of the current object
*
* @access public
* @return object clone
*/
function &clone()
{
$class = get_class($this);
$clone = new $class();
foreach ($this->vars as $k => $v) {
$clone->assignVar($k, $v['value']);
}
// need this to notify the handler class that this is a newly created object
$clone->setNew();
return $clone;
}
Docs on the xoops.org says it might be due to file corruptions, but how to locate which file is corrupted if this is taken as truth
Thanks for support and your time.