Jump to content
Sign in to follow this  
sjmcyyc

Error after install

Recommended Posts

sjmcyyc

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

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

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

Marking for developer review... Thanks, Bryan

Share this post


Link to post
Share on other sites
Simon

What PHP version do you have running on your host?

Share this post


Link to post
Share on other sites
sjmcyyc

Thanks Bryan, pross my host is running php5. Thanks Again Sean

Share this post


Link to post
Share on other sites
Simon

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

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
sjmcyyc

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

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

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

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

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

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

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
roth

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×