thegoldenpuffle61
New Member
- Messages
- 19
- Reaction score
- 0
- Points
- 0
Yup. Please add a / in front of the asterisk on line 2 and the error will go away.
You can just copy the following and replace your entire file with this:
PHP:<?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('wordpress/wp-blog-header.php'); ?>
Nope. Still same error.
Here's the current index.php file now:
<?php
/*
* @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_once('wordpress/wp-blog-
header.php')
?>
---------- Post added at 05:49 AM ---------- Previous post was at 05:47 AM ----------
Yup. Please add a / in front of the asterisk on line 2 and the error will go away.
You can just copy the following and replace your entire file with this:
PHP:<?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('wordpress/wp-blog-header.php'); ?>
Okay, I copied it. Now the error is:
Warning: require_once(wordpress/wp-blog- header.php) [function.require-once]: failed to open stream: No such file or directory in /home/hannahxd/public_html/index.php on line 16
Fatal error: require_once() [function.require]: Failed opening required 'wordpress/wp-blog- header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hannahxd/public_html/index.php on line 16