SomethingWonderful
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Parse Error: Syntax Error when index.php copied to rootActually apologies…
it’s the new wordpress index.php as below.
<?php /** * Front to the WordPress application. This file doesn't do anything, but loads * wp-blog-header.php which does and tells WordPress to load the theme. * * @package WordPress */ /** * Tells WordPress to load the WordPress theme and output it. * * @var bool */ 'define('WP_USE_THEMES', true); /** Loads the WordPress Environment and Template */ require( dirname( __FILE__ ) . '/wp-blog-header.php' );[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Forum: Fixing WordPress
In reply to: Parse Error: Syntax Error when index.php copied to rootI’m adding the wordpress directory as below… But not calling it “wordpress” obv…
‘define(‘WP_USE_THEMES’, true);
/** Loads the WordPress Environment and Template */
require(‘./wordpress/wp-blog-header.php’);Forum: Fixing WordPress
In reply to: Parse Error: Syntax Error when index.php copied to root/**
* Front to the WordPress application. This file doesn’t do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*//**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
‘define(‘WP_USE_THEMES’, true);/** Loads the WordPress Environment and Template */
require(‘./wp-blog-header.php’);’Forum: Fixing WordPress
In reply to: Parse Error: Syntax Error when index.php copied to rootIt’s the standard wordpress index file that loads the wp-blog-header.php…
That’s what is so odd..