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!

Edited by astoria
Link to comment
Share on other sites

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"?

Edited by requinix
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.