PHP Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Try It Free
Go Back   Codewalkers ForumsPHP RelatedPHP Coding

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old October 3rd, 2002, 09:02 PM
spectredigital spectredigital is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Mesa, AZ, United States
Posts: 85 spectredigital User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 8 m 37 sec
Reputation Power: 2
Send a message via Yahoo to spectredigital
Parse error problem

Ok heres the deal I am trying to convert another program to fit into my site layout, and all is going well but
except on one page i get the following error

Parse error: parse error, unexpected $ in /home/qlogix/public_html/manage/signup/plan.php on line 876


the weird thing is that the actual php code ends on line 769
and that 876 is the end of the whole page. What could i have possibly messed up?

Reply With Quote
  #2  
Old October 3rd, 2002, 09:15 PM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to notepad
RE: Parse error problem

you probably missing an "$" somewhere or have one in the wrong place.

Reply With Quote
  #3  
Old October 3rd, 2002, 09:20 PM
spectredigital spectredigital is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Mesa, AZ, United States
Posts: 85 spectredigital User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 8 m 37 sec
Reputation Power: 2
Send a message via Yahoo to spectredigital
RE: Parse error problem

Why would it say that one is at the end of the file when it isnt, I am confused, all i did was move stuff around so it could be put into a file that contains the layout of the site.

Reply With Quote
  #4  
Old October 3rd, 2002, 09:23 PM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to notepad
RE: Parse error problem

parse errors are funny like that. if the code isn't formatted properly then it's not going to read lines correctly, so it may say line 769 when the error could actually be on line 18.. hard to tell.

Reply With Quote
  #5  
Old October 3rd, 2002, 09:28 PM
Matt Matt is offline
Moderator
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 10 m 20 sec
Reputation Power: 6
RE: Parse error problem

This is normally caused by a missing closing bracket } or parentheses ). Check to make sure they are all open and closed properly.

Why does it show the last line number? It's just the way it does it. It looks till the end of the script for the closing bracket or parentheses, can't find it and throws out an error on the last line....

Reply With Quote
  #6  
Old October 3rd, 2002, 09:37 PM
spectredigital spectredigital is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Mesa, AZ, United States
Posts: 85 spectredigital User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 8 m 37 sec
Reputation Power: 2
Send a message via Yahoo to spectredigital
RE: Parse error problem

Matt you were right I had missed a bracket right before the close of the php.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Coding > Parse error problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway