Jump to content
Larry Ullman's Book Forums

Recommended Posts

Hi Larry,
I love the book, but none of the scripts will run!  I have PHP Version 5.2.6-2ubuntu4.6 loaded, and I am trying to work with the content management application in Chapter 12.  The HTML  runs fine, but I get errors like Parse error: syntax error, unexpected '/' in /var/www/index.php on line 3 when I try to run the scripts.  Unfortunately, I am new enough at PHP that I have no clue what to do from here!  If I delete the . then I get overflow by 0.  If I delete the / then I get file not found header.html and footer.html.  Am I the only one with these difficulties?

I looked at the TOC for your more recent books, but none of them seem to have this application, and it is one I really need to develop!

Thank you!

Link to comment
Share on other sites

Never mind, I found the answer!  The keyboard was set to US International, instead of US, so the single quotes and double quotes were not working correctly.  Changing the keyboard type to US and doing s system wide application solved the problem.

Link to comment
Share on other sites

 Share

×
×
  • Create New...