CCroxton Posted March 9, 2013 Share Posted March 9, 2013 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 More sharing options...
CCroxton Posted March 9, 2013 Author Share Posted March 9, 2013 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 More sharing options...
HartleySan Posted March 10, 2013 Share Posted March 10, 2013 Welcome to the forums, and thanks for sharing the solution. Link to comment Share on other sites More sharing options...
Larry Posted March 13, 2013 Share Posted March 13, 2013 Yes, thanks for sharing. I wouldn't have come up with that problem/solution quickly myself! Link to comment Share on other sites More sharing options...
Recommended Posts