7 Replies - 5544 Views - Last Post: 03 April 2007 - 06:02 PM Rate Topic: -----

#1 sovaloutso  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 14-September 05

problems with result page

Posted 14 September 2005 - 08:48 AM

hello,
my problem is that when i perform a search offline, the result page can be displayed correctly, BUT when i perform a search online i get this message: the page cannot be dispalyed. The page you are looking for cannot be displayed because the page address is incorrect. . BUT when i try to find the result page manually the page exits.

do u have any idea ?
please help me,
thanks in advance
Vaso
Is This A Good Question/Topic? 0
  • +

Replies To: problems with result page

#2 skyhawk133  Icon User is offline

  • Head DIC Head
  • member icon

Reputation: 1876
  • View blog
  • Posts: 20,284
  • Joined: 17-March 01

Re: problems with result page

Posted 14 September 2005 - 09:03 AM

What are you referring to when you say "offline" and "online" Do you have a copy of ColdFusion on your computer, and the script works fine there, but when you upload it and try it it doesn't work?

If you are trying to run a .cfm page and getting a "Page Cannot Be Displayed" error, usually there is something wrong with the ColdFusion server. It's either not running, or the connector is broken (to IIS or Apache).

Do you run these servers or are they through a web host?
Was This Post Helpful? 0
  • +
  • -

#3 sovaloutso  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 14-September 05

Re: problems with result page

Posted 14 September 2005 - 09:12 AM

yes i have a copy of ColdFusion on my computer, and the script works fine there, but when I upload it and try it it doesn't work.

the servers is through a web host...


what do i have to do??
Was This Post Helpful? 0
  • +
  • -

#4 Amadeus  Icon User is offline

  • g+ + -o drink whiskey.cpp
  • member icon

Reputation: 248
  • View blog
  • Posts: 13,507
  • Joined: 12-July 02

Re: problems with result page

Posted 14 September 2005 - 09:14 AM

Is the path the same on your machine and the hosted account? and I hate to ask, but the host does have CF interpreters enabled, right?
Was This Post Helpful? 0
  • +
  • -

#5 supersloth  Icon User is offline

  • serial frotteur - RUDEST MEMBER ON D.I.C.
  • member icon


Reputation: 4503
  • View blog
  • Posts: 28,411
  • Joined: 21-March 01

Re: problems with result page

Posted 14 September 2005 - 09:39 AM

'page address is incorrect' makes me think your looking at the wrong file path and not at the file you created.
Was This Post Helpful? 0
  • +
  • -

#6 Skinnyarms  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 32
  • Joined: 18-November 06

Re: problems with result page

Posted 18 November 2006 - 07:42 AM

It's also worth noting that some hosting companies disallow the use of certain ColdFusion tags, such as cfdirectory, cfcontent etc.

http://www.cfHow.com - ColdFusion Development Tips, Tricks and Solutions://http://www.cfHow.com - ColdFusion D...s and Solutions
Was This Post Helpful? 0
  • +
  • -

#7 ryan.katy  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 02-April 07

Re: problems with result page

Posted 02 April 2007 - 09:00 AM

hi all.

I'm also having trouble with page cannot be displayed. Here's the deal.. im doing a cf guestbook, once a user inserts their info i have it sent to a checkguestbook page. The code i have is as follows
<CFQUERY NAME="qryinsert_data" DATASOURCE="yougotserved">
		INSERT INTO tblGuestbook (Guestname, Email, Regular, Comments, rating)
		VALUES (#Form.Guestname#, #Form.Email#, #Form.Regular#, #Form.Comments#, #Form.rating#)
		</CFQUERY>

<cfinclude template="home.cfm">

This is for a project thats due in next week. any tips or advice would be greatly welcome. I'm using coldfusion on the college's server. Thanks all
Was This Post Helpful? 0
  • +
  • -

#8 wiredwizard  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 0
  • View blog
  • Posts: 76
  • Joined: 07-May 05

Re: problems with result page

Posted 03 April 2007 - 06:02 PM

Need to add quotes to your insert

<CFQUERY NAME="qryinsert_data" DATASOURCE="yougotserved">
		INSERT INTO tblGuestbook (Guestname, Email, Regular, Comments, rating)
		VALUES ('#Form.Guestname#', '#Form.Email#', '#Form.Regular#', '#Form.Comments#', '#Form.rating#')
		</CFQUERY>


Was This Post Helpful? 0
  • +
  • -

Page 1 of 1