Jump to content
Sign in to follow this  
icjackson

Wordpress 3.1 and Pagelines 1.3 not compatible?

Recommended Posts

icjackson

I just installed Wordpress 3.1 to a folder on my server (need to move my site to this folder because I waited too long to install a Wordpress multisite network) and when I upload and activate the latest version of PagelinesPro and Base the site breaks, giving me this error message: Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/20/d248663202/htdocs/onemag2/wp-content/themes/platformpro/sections/nav/section.nav.php on line 13 Is this because I have Pagelines installed in another folder on the same web hosting account? Two separate folders, same web hosting account, two separate WP databases, I figure it should have worked. NOTE: My successful Pagelines install was on Wordpress 3.0...I automatically updated to 3.1, but started with 3.0. Wonder if that makes a difference?

Share this post


Link to post
Share on other sites
Simon

This error is typically produced when your host is using PHP4. PlatformPro requires PHP5.

Share this post


Link to post
Share on other sites
icjackson

Additional Note: The main problem lies with PlatformPro. When I upload PlatformBase everything remains in tact. When I upload Pro, it all breaks. Just tried removing PlatformPro only and got TWO error messages: Warning: main(/homepages/20/d248663202/htdocs/onemag2/wp-content/themes/platformpro/core/core.init.php) [function.main]: failed to open stream: No such file or directory in /homepages/20/d248663202/htdocs/onemag2/wp-content/themes/platformbase/functions.php on line 8 Fatal error: main() [function.require]: Failed opening required '/homepages/20/d248663202/htdocs/onemag2/wp-content/themes/platformpro/core/core.init.php' (include_path='.:/usr/lib/php') in /homepages/20/d248663202/htdocs/onemag2/wp-content/themes/platformbase/functions.php on line 8 So I can't even leave PlatformBase in my themes folder by itself - I have to delete that folder just for Wordpress to function. What's going on?

Share this post


Link to post
Share on other sites
icjackson

@pross COOL! I forgot to upload my updated .htaccess file to change that. 1&1 really needs to get that together. Guess I should have refreshed before posting that last time, lol :-)

Share this post


Link to post
Share on other sites
Simon

Glad you got it sorted!

Share this post


Link to post
Share on other sites
jaredf

What did you change in the .htaccess file? I'm getting the same error.

Share this post


Link to post
Share on other sites
debtless

Yes, I am a newbie doing a new install with WP3.1 and get the same error so what do we chnage and where? Thanks for the help.

Share this post


Link to post
Share on other sites
icjackson

@Jared and Brent Replace the content in your current.htaccess file with this:

	# BEGIN WordPress
	<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteBase /
	RewriteRule ^index.php$ - [L]
	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_FILENAME} !-d
	RewriteRule . /index.php [L]
	</IfModule>
	
	 AddType x-mapp-php5 .php .php4 # END WordPress
	

Got that from my web hosting provider :-)

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  

×