unable to install - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Installation & Setup (http://get-simple.info/forums/forumdisplay.php?fid=5) +--- Thread: unable to install (/showthread.php?tid=73) |
unable to install - viik - 2009-08-18 Hello to everyone, after downloading, decompressing, uploading and chmod "755" the "data" directory, I go to the related url and I got this: Code: Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /members/viik/GetSimple/admin/inc/basic.php on line 85 I'm trying this on altervista.org Can anyone help me please? thank you guys unable to install - ccagle8 - 2009-08-18 the line it's talking about is "public function..." --- i dont see anything wrong with this code ... unless of course some hosts don't have access to the special variable $this. class SimpleXMLExtended extends SimpleXMLElement{ public function addCData($cdata_text){ $node= dom_import_simplexml($this); $no = $node->ownerDocument; $node->appendChild($no->createCDATASection($cdata_text)); } } unable to install - Derek - 2009-08-18 Chris: I think this has to do with file permissions. Trying to open the XML file, but throwing a weird error unable to install - viik - 2009-08-19 mhm.. so what can I do to try "get simple"? thank you guys unable to install - Derek - 2009-08-20 CHMOD 777 EVERYTHING before you run the install script. unable to install - viik - 2009-08-20 I have chmod 777 also the whole directory "GetSimple" but nothing, same error. I also have this error from other hosts... unable to install - Derek - 2009-08-20 Can you put a php file of Code: <?php unable to install - viik - 2009-08-20 http://enricog.altervista.org/info.php unable to install - Brian - 2009-08-20 Your PHP version is < 5.1.3 (4.4.9). Can you force/change the PHP version on your host ? The question is to know why the install scrip continue after the phpversion() test... unable to install - viik - 2009-08-20 php 5 support enabled! installation done, it works! thank you Brian, thank you guys! unable to install - ccagle8 - 2009-08-20 Brian - I've made this change in the next release. If any of these things are true, then the install will die instead of showing you the form. 1. PHP is less than 5.1.3 2. SimpleXML is not installed 3. Cannot write to the /data/ folder unable to install - hsuijs - 2010-10-09 ccagle8 Wrote:the line it's talking about is "public function..." --- i dont see anything wrong with this code ... unless of course some hosts don't have access to the special variable $this. I don't know why you were considering this piece of code, but I'm having problems with changedata.php. It stops exactly at the addCData method. Do you have any idea? Thanks. |