Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

Help with Parse Error in index.php! (1 reply)

$
0
0
Hi, I keep getting this parse error, causing me to not be able to access the localhost WAMP home screen. I can access other sub virtual hosts, even phpmyadmin. Just not the main layout. Please help

Here are the error(s):

"[16-Jan-2018 04:39:42 UTC] PHP Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in C:\Users\tyler\Desktop\HTML\Form Test\index.php on line 21"

"[16-Jan-2018 04:35:30 UTC] PHP Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in C:\Users\tyler\Desktop\HTML\Form Test\localhost\index.php on line 23"

Lines from index.php respectively:

21:
"$server_software = $_SERVER['SERVER_SOFTWARE'];"

23:
"" (This line is empty)

Thanks!

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>