?
Solved

Cold Fusion 7

Posted on 2005-03-22
12
Medium Priority
?
277 Views
Last Modified: 2013-12-24
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!
0
Comment
Question by:Rambie
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 3
12 Comments
 

Author Comment

by:Rambie
ID: 13603260
I apologize if I sound bitter.  I'm just really frustrated...

Thanks,
R
0
 

Author Comment

by:Rambie
ID: 13603805
Do I need to edit the compatibility.xml file?
0
 
LVL 12

Expert Comment

by:mmc98dl1
ID: 13607327
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
Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

 

Author Comment

by:Rambie
ID: 13615125
I have no idea...
0
 
LVL 12

Expert Comment

by:mmc98dl1
ID: 13616691
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
 

Author Comment

by:Rambie
ID: 13617483
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
 

Author Comment

by:Rambie
ID: 13617501
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
 
LVL 12

Expert Comment

by:mmc98dl1
ID: 13617516
try changing the fomr from get to post - or viceversa, then see if it works...
0
 

Author Comment

by:Rambie
ID: 13623635
I tried that and the page did nothing.  From post to Get.
0
 

Author Comment

by:Rambie
ID: 13631079
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
 

Accepted Solution

by:
PAQ_Man earned 0 total points
ID: 13904346
PAQed with points refunded (500)

PAQ_Man
Community Support Moderator
0

Featured Post

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question