cformsII Support Forum
Current User: Guest *Frequently Asked Questions*
Search 
Search Forums:


 




Tracking Tab Screen not displaying any data or other GUI elements

Add a New Topic Reply to Post
Post

Indiana Loans - Guest

2:01 pm - April 20, 2008

1

Please replace the ??? with your data!


I have just updated from v8.1 to v8.3b. I inputted a test record on an existing form, but all my previous tracking data has disappeared.

All I can see is a Info icon and the words "Details section: Fields with a grey background can be clicked on and edited!" Nothing else. I CANT SEE ANY RECORDS.

The WP Dashboard lists the new (and old 8.1 records) but clicking on the link in the dashboard takes me to the same empty tracking screen.

The record was definately saved as its in the DB and an email was created.

Looks like the Tracking screen has a major bug in it.


_

Indiana Loans - Guest

2:40 pm - April 20, 2008

2

I did some more debugging on this and got the following results. Hope this helps to debug the Tracking screen error.


Executed http://www.indiana-loans.co.uk/wp-content/plugins/cforms/js/include/lib_database_getdata.php

and got...


<rows>
<page>1</page>
<total>1</total>

<row id="1">
<cell>1</cell>
<cell>Consumer Contact</cell>
<cell>xxxxxxx@xxxxx.com</cell>
<cell>2008-04-20 12:31:09</cell>
<cell>82.133.14.238</cell>
</row>
</rows>


Also looked at source code of wp-admin/admin.php?page=cforms/cforms-database.php#e1

and can see the following code. So I dont know why this is not being executed.


<script type="text/javascript">cforms("#flex1").flexigrid ( {	url: 'http://www.indiana-loans.co.uk/wp-content/plugins/cforms/js/include/lib_database_getdata.php',	dataType: 'xml',	colModel : [		{display: '#', name : 'id', width : 40, sortable : true, align: 'center'},		{display: 'Form Name', name : 'form_id', width : 240, sortable : true, align: 'center'},		{display: 'e-mail Address', name : 'email', width : 200, sortable : true, align: 'center'},		{display: 'Date', name : 'sub_date', width : 160, sortable : true, align: 'center'},		{display: 'IP', name : 'ip', width : 100, sortable : true, align: 'center'}		],	buttons : [		{name: 'View records', bclass: 'add', onpress : cf_tracking_view},		{name: 'Delete records', bclass: 'delete', onpress : function (){cforms('#cf_delete_dialog').jqmShow();} },		{name: 'Download records', bclass: 'dl', onpress : function (){cforms('#cf_dl_dialog').jqmShow();}},		{separator: true}		],	searchitems : [		{display: 'Form Name', name : 'form_id'},		{display: 'e-mail Address', name : 'email', isdefault: true},		{display: 'Date', name : 'sub_date'},		{display: 'IP', name : 'ip'}		],	sortname: "id",	sortorder: "desc",	usepager: true,	title: 'Form Submissions',	errormsg: 'Connection Error',	pagestat: 'Displaying {from} to {to} of {total} items',	procmsg: 'Processing, please wait ...',	nomsg: 'No items',	pageof: 'Page {%1} of',	useRp: true,	blockOpacity: 0.9,	rp: 30,	rpOptions: [10,30,50,100,200],	showTableToggleBtn: true,	width: 820,	height: 250 });

and

	<div class="jqmWindow" id="cf_delete_dialog">		<div class="cf_ed_header jqDrag">Please Confirm</div>		<div class="cf_ed_main">			<form name="installpreset" method="POST">						<div id="cf_target" style="text-align:center;font-weight:bold;margin:10px 0 0 0;">Are you sure you want to delete the record(s)?</div>				<div class="controls"><a href="#" id="okDelete" class="jqmClose"><img src="http://www.indiana-loans.co.uk/wp-content/plugins/cforms/images/dialog_ok.gif" alt="Install" title="OK"/></a><a href="#" class="jqmClose"><img src="http://www.indiana-loans.co.uk/wp-content/plugins/cforms/images/dialog_cancel.gif" alt="Cancel" title="Cancel"/></a></div>			</form>		</div>	</div>	<div class="jqmWindow" id="cf_dl_dialog">		<div class="cf_ed_header jqDrag">Please Confirm</div>		<div class="cf_ed_main">			<form name="installpreset" method="POST">						<div id="cf_target" style="text-align:center;font-weight:bold;margin:10px 0 0 0;">					<select id="pickDLformat" name="format">					<option value="xml">&nbsp;&nbsp;&nbsp;XML&nbsp;&nbsp;&nbsp;</option>					<option value="csv">&nbsp;&nbsp;&nbsp;CSV&nbsp;&nbsp;&nbsp;</option>					<option value="tab">&nbsp;&nbsp;&nbsp;TAB&nbsp;&nbsp;&nbsp;</option>					</select>					<br />					Please pick a format!				</div>				<div class="controls"><a href="#" id="okDL" class="jqmClose"><img src="http://www.indiana-loans.co.uk/wp-content/plugins/cforms/images/dialog_ok.gif" alt="Install" title="OK"/></a><a href="#" class="jqmClose"><img src="http://www.indiana-loans.co.uk/wp-content/plugins/cforms/images/dialog_cancel.gif" alt="Cancel" title="Cancel"/></a></div>			</form>		</div>	</div><script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script></script>

Indiana Loans - Guest

2:43 pm - April 20, 2008

3

Used Firebug to debug source code for the Tracking Form Data screen.


Error is:

cf_tracking_view is not defined

at line 184 of admin.php

{name: 'View records', bclass: 'add', onpress : cf_tracking_view},

Violet - Guest

3:41 pm - April 20, 2008

4

Cforms 8.3b

FireFox 2.0.0.14

WP 2.3.3


No tracking data displayed on tracking tab. Reverted to cforms 8.1, tracking data is back.

Oliver - Admin

4:25 pm - April 20, 2008

posts 3909

5

@Violet

@Indiana Loans

Odd, could it be that you didn't clear the browser cache and it still has the old cforms admin JS file in use? You may have to restart and Shift+Reload the tracking page.


EDIT: If you still can't get the new tracking UI to show up, I'm happy to take a look at your blog.

Russell G - Guest

4:35 am - April 21, 2008

6

Same here - just updated from 8.1 -> 8.3b tracking page is empty.

Russell G - Guest

4:54 am - April 21, 2008

7

Oooh - I had to directly access the cformsadmin.js in the webbrowser, THEN shift-reload it, all good.


Thanks

Oliver - Admin

6:55 am - April 21, 2008

posts 3909

8

Whew, I'm glad that solved it, sometimes browser caches can be tricky!

Violet - Guest

3:19 pm - April 21, 2008

9

Oliver said:

@Violet

@Indiana Loans

Odd, could it be that you didn't clear the browser cache and it still has the old cforms admin JS file in use? You may have to restart and Shift+Reload the tracking page.


EDIT: If you still can't get the new tracking UI to show up, I'm happy to take a look at your blog.


Thanks for the reply Oliver, I re-installed 8.3b and of course when I reloaded the browser, the tracking page appeared, but not completely. Even though there were 5 comments in the database, the table appeared completely emtpy, however, when I click view records, I can read all the individual records under the empty table.

Any thoughts?


Violet


USing Firefox 2.0.0.14

WP 2.3.3

Oliver - Admin

7:46 pm - April 21, 2008

posts 3909

10

Odd. What happens when you click on the refresh icon of the table (or change the number of shown items to 10,20 etc.)?

Violet - Guest

9:01 pm - April 21, 2008

11

Oliver said:

Odd. What happens when you click on the refresh icon of the table (or change the number of shown items to 10,20 etc.)?


The table area is still completely blank. Is there a way I can send you a screen capture?

Indiana Loans - Guest

9:32 pm - April 21, 2008

12

Im getting exact same as Violet. I loaded the page today, and the form loads, but the circle button is constantly spinning round and saying "Processing, please wait".

Using the 10,20,30 list or any other form button does not refresh the records.


Oliver - Admin

9:33 pm - April 21, 2008

posts 3909

13

I sent you an email.

EDIT: In one of the cases, the display was corrupted due to WP-o-Matic (plugin) hijacking the cforms Ajax request.

Violet - Guest

12:22 am - April 22, 2008

14
Hi Oliver!
Thanks for contacting me. I went a little further
with my diagnosis and discovered that the Cforms tracking table is now
conflicting with one of my favorite plugins called Audit-Trail, here is a link,
http://urbangiraffe.com/plugins/audit-trail/
Possibly you will be able to install it and
replicate the issue?

Oliver - Admin

7:35 am - April 22, 2008

posts 3909

15

Violet, in your case, Audit-Trail unnecessarily includes the prototype JS framework on ALL admin pages, which really doesn't make any sense.

Most non core WP pages (e.g. plugin pages) do not require, quite the opposite: many using jQuery instead I would suspect to break. I'll include a fix for v8.3c but it's really a design issue of the Audit-Trail plugin.

Edit: I suppose it's the same with WP-o-Matic as it does the same thing!

Reply to Post


Reply to Topic: Tracking Tab Screen not displaying any data or other GUI elements
PLEASE READ THE FAQs FIRST! THANK YOU.

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Topic Reply:

Save New PostSmileysOptions

Guest URL (required)

Math Required!
What is the sum of:
6 + 9
   

 
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell

Search