sjmcyyc 0 Report post Posted March 14, 2011 I installed the platformpro and platformbase, activated the platformbase and instantly got this error "Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/5/d316374301/htdocs/sean/seansPort/wp-content/themes/platformpro/sections/nav/section.nav.php on line 13" Now when i go to my site (seanmalthouse.com) this error is all I see. How do I get my site working again? Thanks Sean Share this post Link to post Share on other sites
bryan-hadaway 3 Report post Posted March 15, 2011 Manually deleting the platformbase from the themes folder via FTP will probably be the quickest route. Then you can try to install and activate it again. I'd make sure you're using the latest versions of both the main theme and the base: http://www.pagelines.com/launchpad/member.php Thanks, Bryan Share this post Link to post Share on other sites
sjmcyyc 0 Report post Posted March 15, 2011 Thanks for the reply Bryan. I manually deleted via FTP, yet the error was still there. I ended up deleting the database and starting over. I downloaded the pro and base files as per your link above, reinstalled and once again as soon as I activated the base I got the same error. If yoo follow this link you will see the error seanmalthouse.com Any ideas, as I don't want to remove the database and start from scratch to many times. Cheers Sean Share this post Link to post Share on other sites
bryan-hadaway 3 Report post Posted March 16, 2011 Marking for developer review... Thanks, Bryan Share this post Link to post Share on other sites
Simon 248 Report post Posted March 16, 2011 What PHP version do you have running on your host? Share this post Link to post Share on other sites
sjmcyyc 0 Report post Posted March 16, 2011 Thanks Bryan, pross my host is running php5. Thanks Again Sean Share this post Link to post Share on other sites
Simon 248 Report post Posted March 16, 2011 Sean, if you could just create a text file called pl_test.php and inside it just put the following code: `<?php phpinfo() ?>` Upload it to your blog root and give us the url...please. Share this post Link to post Share on other sites
sjmcyyc 0 Report post Posted March 16, 2011 Thanks pross, It's uploaded as asked and the URL is "seanmalthouse.com" Cheers Sean Share this post Link to post Share on other sites
Simon 248 Report post Posted March 16, 2011 Sorry getting a 404 for http://seanmalthouse.com/pl_test.php Share this post Link to post Share on other sites
sjmcyyc 0 Report post Posted March 16, 2011 Sorry, I put the file in the wrong spot..now it works. Thanks Pross Share this post Link to post Share on other sites
Simon 248 Report post Posted March 16, 2011 Link works now `PHP Version 4.4.9` this is why it is failing Share this post Link to post Share on other sites
sjmcyyc 0 Report post Posted March 16, 2011 Thanks pross, they sat it is PHP5...I guess not, so until they upgrade tp php5 I cannot use this...is that right? Thanks Again Sean Share this post Link to post Share on other sites
Simon 248 Report post Posted March 16, 2011 Sean PHP5 might be available on your host, sometime all it takes is a tickbox in their control panel or a modification to your `.htaccess` in your web folder. Depends on your host. Share this post Link to post Share on other sites
sjmcyyc 0 Report post Posted March 16, 2011 Hi pross I just checked the host site again and they said to put a file in the root folder. Does this mean it is php5 now. http://seanmalthouse.com/phpinfo.php5 thanks Share this post Link to post Share on other sites
sjmcyyc 0 Report post Posted March 16, 2011 Hi again pross, The host told me to add this "AddType x-mapp-php5 .php" to a text file and call it .htaccess. I did that and am not quite sure where to put it. I put it in the root and it still doesn't work. Do you know where it goes? Or do I have to reintall everything and then put it in the root. Thanks Sean Share this post Link to post Share on other sites
Simon 248 Report post Posted March 16, 2011 Sean for Platform to work `.php` need to be parsed as PHP5 As you have it now `.php5` is PHP5 and `.php` is PHP4. What was in the file you uploaded? Share this post Link to post Share on other sites
sjmcyyc 0 Report post Posted March 16, 2011 The file was .htaccess and the following line was in the file "AddType x-mapp-php5 .php" Cheers Share this post Link to post Share on other sites
sjmcyyc 0 Report post Posted March 16, 2011 Here is a link to the instructions http://faq.1and1.com/scripting_languages_supported/php/7.html Thanks Share this post Link to post Share on other sites
Simon 248 Report post Posted March 16, 2011 If you edited the .htaccess correctly http://www.seanmalthouse.com/pl_test.php should show php5.2 At this point you need to contact 1&1 support i'm afraid Share this post Link to post Share on other sites
roth 0 Report post Posted April 1, 2011 I have a similar problem and could do with some help. Site is being hosted on a 1and1 package. Also got a PHP error and asked for help from 1and1 to upgrade to PHP5. They also requested adding a .htaccess file containing the following: AddType x-mapp-php5 .php I tried this but with no luck. I also tried following the test procedure as listed in this forum string but couldn't even get that work so am a bit stuck. Help would be much appreciated. Thanks Matt Share this post Link to post Share on other sites
roth 0 Report post Posted April 1, 2011 Sorry - ignore previous entry. Having looked as some other threads, I have managed to solve this problem. Matt Share this post Link to post Share on other sites