Cold Fusion 7

MM has proven to be boobs on a bull with this issue.

I am trying to migrate a site from cf 6.1 to cf 7-client variables are on and it's set up like the cf 6.1.  The issue I'm having with 7 is that when a user logs in, the client id doesn't pass and I get no error.  Well, I ran the code analyzer and it found 9 parse errors on pages that are not in my site at all.  The proposed fix is to edit these files for correct syntax.  I found the files in cfide/administrator/analyzer, but they look like compiled files with strange symbols and what not through out the code.  My question is, how do I edit these files so they will work?  MM's response was, "sorry, we don't support that...You might find your answer in a forum, good luck, thanks for purchasing Cold Fusion 7."  Thanks a pant load MM...

Please help if you can!!

TIA!
RambieAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

RambieAuthor Commented:
I apologize if I sound bitter.  I'm just really frustrated...

Thanks,
R
0
RambieAuthor Commented:
Do I need to edit the compatibility.xml file?
0
mmc98dl1Commented:
Well now, we have migrated a couple of apps from 4.5. and 6 to 7 with no problems.

Why did the code analyzer analyse itself?
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

RambieAuthor Commented:
I have no idea...
0
mmc98dl1Commented:
ok lets start at the begining:

>> the client id doesn't pass
Are you using a form? post or get? Where so you get this id from? db or otherwise?

If the code analyser didnt come up with any problems in your code, then I wouldnt go messing around with CF's internal code.
0
RambieAuthor Commented:
That's good to know...I won't.

The client_id doesn't pass in MX 7.  It gets the id from the db.  for some reason the query is not getting the id... 6.1 works great...
0
RambieAuthor Commented:
Here's where I think the problem is:

<cfif isDefined("client.usr_id") AND val(client.usr_id)>

  <!--- get the user record --->
  <cfquery name="qGetUser" datasource="#request.config.datasource#" dbtype="ODBC">
    SELECT *
    FROM   users
    WHERE  usr_id=#val(client.usr_id)#
  </cfquery>
  <cfset request.user = qGetUser>
<cfelse>
  <!--- guarantee that client.usr_id exists even if not logged in (0) --->
  <cfset client.usr_id=0>
</cfif>

6.1 grabs the usr_id, but 7 sets it to 0.  Why won't the query run?

Thanks
0
mmc98dl1Commented:
try changing the fomr from get to post - or viceversa, then see if it works...
0
RambieAuthor Commented:
I tried that and the page did nothing.  From post to Get.
0
RambieAuthor Commented:
I solved this issue...Thanks.  For some reason, mx 7 didn't like client storage.  So I changed everything to session and it works fine...So, do I get the points?
0
PAQ_ManCommented:
PAQed with points refunded (500)

PAQ_Man
Community Support Moderator
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Servers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.