Jump to content

Syntax (parse) error in Wordpress index.php


astoria

Recommended Posts

Hello -  I'm working locally using WAMP Server and trying to connect with Dreamweaver.

all databases are working perfectly. I'm able to see the local site from my browser directly.

The problem is: Previewing the local site in Dreamweaver. Site Definition information is correct as far as I know. i have look for the index_48z72.....and i don't see it anywhere........Error says:
 

Parse error: syntax error,unexpected'<'inC:\wamp\www\name of the site\index_48z72rfhp6.php on line 18

screen_zpsf5b091fb.jpg

<?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('./wp-blog-header.php');









Any help is much appreciated. Thank you!

As we've been trying to tell you on another site,

 

Stop looking at index.php. That is not where the problem is. You have to find that index_48z72rfhp6.php and look at it. index.php will not help you. It means nothing to us. Look at the other file.

If you can't find it that's because you are not looking at C:\wamp\www\celebration\index_48z72rfhp6.php. Are you saying that you are in the C:\wamp\www\celebration folder and there is not a file there named "index_48z72rfhp6.php"?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.