drupalfun.com
Parsing error when going to profile
Submitted by erdubya on Sat, 02/21/2009 - 02:03
Status:
Solved Question:
Somehow I'm getting a parsing error when I go to my profile.
===============
Parse error: parse error, expecting `','' or `';'' in C:\wamp\www\home\includes\common.inc(1648) : eval()'d code on line 1
===============
And my profile doesn't appear to be working right. I.E. When I set up an account, I'm not prompted to answer the questions for my profile. It just displays the regular email/userid edit screen. Also, There's no way for me to edit or add to my profile.
I posted 2 screenshots at http://drop.io/erdubya_drupalfun . Please make not of the URL for "My account" link = http://localhost/home/user/3
Can you tell me why I'm getting this error, AND why my profile isn't showing up correctly?
Thanks,
erdubya


1. try this
hello,
With regards to the parsing error, try to retype the php code, especially the symbols ' and ". Because when you copy and paste the php code directly from the pdf ebook, it outputs the symbols differently.
Below is a post similar to your parsing problem which Dorien addressed:
http://www.drupalfun.com/question/profile-block-parse-error
Regarding your other question, I want to ask if you've installed the Content Profile module? Included in that module is the Content Profile User Registration. You have to use these modules in order to display the profile fields during registration of new account.
Again, this post is similar to your issue:
http://www.drupalfun.com/question/how-force-users-fill-out-profile-pages
Good Luck,
Cecille