xammp localhost, Parse error: syntax error, unexpected T_VARIABLE
Hi I am new to wordpress,
I have copied the wp folder from a site which has been designed previously by someone else.
To test eveything to see how it works I have downloaded the files from the server and copied them to my htdocs folder on localhost, which uses xammp. I then exported the database and imported into phpmyadmin running localhost. I have kept the same naming conventions, username and password. I then amended the config file in wordpress to reflect the changes as I originally had a database connection error! I solved this, but I now get the error below and I am stumped.
Parse error: syntax error, unexpected T_VARIABLE in /homepages/35/d2********/htdocs/<website name>/wp/wp-includes/option.php on line 225
The files were downloaded from 1 and 1 and I understand there has been issues before with this, however the files are now running on localhost running php version 5,4,7 !!
Hope someone knows what could cause an error like this please, it’s driving me mad!
- The topic ‘xammp localhost, Parse error: syntax error, unexpected T_VARIABLE’ is closed to new replies.