• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CFGRID is not working in CF 9.0.1.274733

Guest
Apr 05, 2012 Apr 05, 2012

Copy link to clipboard

Copied

Hello,

I have problems with the tag cfgrid, locally works fine, but in the server in CF 9.0.1.274733 doesn't work, it displays:

document.write("

");

I think that is a server problem, but the hosting company tell me that is a code-related error.

I appreciate if somebody can help me.

Thank you

The piece of .cfm code is this, it works fine locally in CF 8 but not in CF 9.0.1.274733

<cfquery name="seeChains" datasource="ds1" username="***" password="***">

SELECT *

FROM chain

    </cfquery>

    <cfquery name="catalogueRFC" datasource="ds1" username="***" password="***">

SELECT distinct rfc_c

FROM chain

    </cfquery>

       

<cfform name="chains" format="flash" width="100%" height="500">

  <cfformgroup type="panel" label="Our Chains">

<cfselect query="catalogueRFC" queryposition="below" label="RFC" name="myselect1" value="rfc_c" display="rfc_c" width="200">

         <option value="All">All</option>

      </cfselect>

   <cfgrid name="listChains" query="seeChains" >

         <cfgridcolumn header="ID" name="idcadena" />

         <cfgridcolumn header="Nombre" name="nombre_c" />

         <cfgridcolumn header="RFC" name="rfc_c" />

         <cfgridcolumn header="Teléfono principal" name="telefono1_c" />

         <cfgridcolumn header="Teléfono alternativo" name="telefono2_c" />

         <cfgridcolumn header="Correo electrónico" name="correo_c" />      

      </cfgrid>

   </cfformgroup>

</cfform>   

Views

2.6K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Deleted User
Apr 06, 2012 Apr 06, 2012

Of course, I don't get any JS error neither HTTP errors.

The problem was solved, CFIDE directory was not created properly during enabling of Coldfusion. So we've added it manually.

Thanks a lot.

Votes

Translate

Translate
Participant ,
Apr 05, 2012 Apr 05, 2012

Copy link to clipboard

Copied

I never use cfgrid but have you checked all the mappings and virtual directories are the same on the server and locally.

Do you have cfgrid or cf..anything  working on any other pages on the server?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 05, 2012 Apr 05, 2012

Copy link to clipboard

Copied

Thank you for your response cjdunkerley.

I have CFanything working on the server, at the moment the only tag that is not working is cfgrid.

Unoftunately the hosting company do not give me access to the CF configuration.

Any ideas?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 06, 2012 Apr 06, 2012

Copy link to clipboard

Copied

Do you get any JS errors?  Or HTTP errors on any <script> requests being made?

It seems unlikely that it would simply not work and give no indication as to why.

--

Adam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 06, 2012 Apr 06, 2012

Copy link to clipboard

Copied

Hi Adam, thak you for your response.

Locally I don't get any error, it works fine.

You can get a look to the .cfm in the server:

http://www.retaileader.com.mx/sistemarl/ejemploOrdenaFiltraCadenas.cfm

http://www.retaileader.com.mx/sistemarl/ejemplo2OrdenaFiltraCadenas.cfm

The only message from the server is

document.write("

  ");

Really I don´t know whats wrong in the server.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 06, 2012 Apr 06, 2012

Copy link to clipboard

Copied

Right, lovely.

Can you pls answer the questions I asked.

--

Adam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 06, 2012 Apr 06, 2012

Copy link to clipboard

Copied

Of course, I don't get any JS error neither HTTP errors.

The problem was solved, CFIDE directory was not created properly during enabling of Coldfusion. So we've added it manually.

Thanks a lot.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 07, 2012 Apr 07, 2012

Copy link to clipboard

Copied

LATEST

Right, so if that was the case you'd've been getting HTTP errors, surely?  As the page tried to load in script resources from the CFIDE dir, and it wasn't found..?

--

Adam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation