You need to sign in to do that
Don't have an account?
JEndo
Save error: Illegal group reference in Force.com IDE
When I attempt to save a VF page from the Force.com IDE, I get the above message... Any ideas?
I can't seem to find it in any documentation on this, either for VisualForce or the Force.com IDE. It only seems to happen for certain pages, and I can't figure out what may be causing it.
Thanks-
-Jesse
I can't seem to find it in any documentation on this, either for VisualForce or the Force.com IDE. It only seems to happen for certain pages, and I can't figure out what may be causing it.
Thanks-
-Jesse
thanks for highlighting this, we had the same problem as well, it seems that this syntax <![endif]--> is causing the problem here, changing it to <!--[endif]--> will fix the error
All Answers
Any chance we could look into making this error message more useful?
Just encountered the same thing, and posted to the idea exchange
http://ideas.salesforce.com/article/show/10097542/Illegal_group_reference_make_error_more_useful
Hi,
I have the same problem. I am breaking my head what is the actual reason which causes this error.
My issue is, i have created a VF page and assigned to a public site as the site template. It worked fine till yesterday, I haven't done any changes but i am getting this exception. can anyone help me on this. So that i will be able to correct my mistake if i did any.
Please suggest me how can i resolve this ?
Thanks,
Praveen K.
We started receiving this same message too after the upgrade to Winter 13 on one specific page. The problem in our Visualforce page was this line of code...
<!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" charset="utf-8" href="{!URLFOR($Resource.MyStyles, 'ie7.css')}" /><![endif]-->
<!-- <!--[if IE 7]> <link rel="stylesheet" type="text/css" media="screen" charset="utf-8" href="{!URLFOR($Resource.MyStyles, 'ie7.css')}" /> <![endif]--> -->
We still do not know why those two lines caused the error, but we found another way to do what we needed to do. We found the erroring lines by removing lines from the Visualforce page until it actually saved. That should get you down to the specific line that is causing the problem.
thanks for highlighting this, we had the same problem as well, it seems that this syntax <![endif]--> is causing the problem here, changing it to <!--[endif]--> will fix the error
Hi Terry,
Great solution... It solved my problem.
Thanks again, I appreciate for your response.
Thanks,
Praveen K.