ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

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 Dev Shed Forums Sponsor:
  #1  
Old January 29th, 2005, 08:25 PM
NightVa NightVa is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 67 NightVa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 h 31 m 33 sec
Reputation Power: 5
I get an error on the live server that doesn't appear on my local server.

Why would my UDF work just fine on my local server machine but give the following error on the live hosted server?
***********************

Invalid parser construct found on line 4 at position 12. ColdFusion was looking at the following text:qLocationInfoToStructure

Invalid expression format. The usual cause is an error in the expression structure.

The last successfully parsed CFML construct was a CFSET tag occupying document position (3:1) to (3:6)

***********************
Here is the cfset tag it mentions:

1.<cffunction name="locationQuickInfoQuery" returntype="query">
2.<cfargument required="true" name="location" type="string">
3.<cfset var qLocationInfoToStructure = "">
***********************

I can't even duplicate the error to begin debugging it. Any ideas? Does anyone need to see more of the code?

Nathan

Reply With Quote
  #2  
Old January 29th, 2005, 11:42 PM
kiteless kiteless is offline
Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,700 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 17 h 45 m 21 sec
Reputation Power: 53
I don't see a problem. While CF does its best to give you the real cause of the error, sometimes the line number being flagged is not correct. Try doing some cfdumps inside your function(s) to confirm that the problem isn't somewhere else.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian.
How to Post a Question in the Forums

Reply With Quote
  #3  
Old January 31st, 2005, 08:58 AM
NightVa NightVa is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 67 NightVa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 h 31 m 33 sec
Reputation Power: 5
New problem...

Quote:
Originally Posted by kiteless
I don't see a problem. While CF does its best to give you the real cause of the error, sometimes the line number being flagged is not correct. Try doing some cfdumps inside your function(s) to confirm that the problem isn't somewhere else.


I fixed the previous problem by just taking the code out of the function tags and using the code in a cfinclude. It's not as elegant but...

Now I'm getting a problem with a login sequence. The login sequence works fine in all browsers but Explorer 6 (big surprise, I hate that piece of junk (actually piece of ****)) browser.

I have the login code in the App template and it simply uses some CFIF blocks to check for FORM inputs and session variables.

The form I use is the standard compliant form structure for XHTML. Example: It uses <legend>'s <dt>'s and <labels>'s.

Why would the code work in one browser but not another one?

The login check template simply uses a CGI.SCRIPT_NAME redirect once the session structures are filled but IE just redisplays the login form again and again and again.


Sorry so long of a question...

Nathan

Reply With Quote
  #4  
Old January 31st, 2005, 10:51 AM
kiteless kiteless is offline
Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,700 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 17 h 45 m 21 sec
Reputation Power: 53
If you do a CFDUMP of the FORM scope on the action page, it may help you determine which field(s) are causing the problem.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > I get an error on the live server that doesn't appear on my local server.


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 5 hosted by Hostway
Stay green...Green IT