Results 1 to 2 of 2

Thread: Debugging Question -- Parse Error

  1. #1
    Join Date
    Apr 2012
    Location
    Central New Jersey
    Posts
    250
    Thanks
    89
    Thanked 3 Times in 3 Posts

    Default Debugging Question -- Parse Error

    Hi Folks,

    When I get the following error message:

    Parse error: syntax error, unexpected ';' in /var/www/html/pageContent/quotations.txt on line 4504


    Will someone please tell me how to locate line 4504? All I have is a text file, created in Notepad.

    A.
    Last edited by marain; 09-21-2015 at 02:53 PM.

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Hi Alan,

    Notepad++ (free) has line numbers https://notepad-plus-plus.org/

    So if you save the text file to your desktop and open it up in Notepad++, the line numbers will appear alongside, making it easier to locate the glitch
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  3. The Following User Says Thank You to Beverleyh For This Useful Post:

    marain (09-21-2015)

Similar Threads

  1. Just in time debugging error
    By jennifer lopez in forum Computer hardware and software
    Replies: 1
    Last Post: 02-13-2015, 04:00 PM
  2. Resolved Parse error: syntax error unexpected 'echo'
    By Kage Kazumi in forum PHP
    Replies: 3
    Last Post: 10-21-2012, 08:19 PM
  3. Replies: 1
    Last Post: 01-28-2011, 03:39 AM
  4. Replies: 2
    Last Post: 02-12-2010, 09:53 AM
  5. Replies: 1
    Last Post: 04-26-2008, 11:22 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •