Forums

newbe's gonna crazy

philino 17 Jun, 2009
Hi Folks,
I've just downloaded Chrono Connectivty 2.0 RC1 (six hours ago) and just can't get it to work.
Its no installation problem (got no error) it's just that I cant save any new connection.

I started with creating a chrono form, added some content to my database with it (just three fields: 'who' bring 'how_much' of 'what' to the party next week) and now want to show that list. But I just cant get it to work.

Is there anybody who can give me just the information on how to start working with this great tool? Allready tried this tutorial (http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=5&t=12324 // about 15 times) but as you know, its not for the 2.0 version. So, what do I have to do?
philino 17 Jun, 2009
no, that was not the solution.

I can't select the "Data View Fields Names" in the Admin-Settings-tab. It's just says "Please select a table first " what I think I've done by selecting my data table in the general tab.
GreyHead 17 Jun, 2009
Hi philino,

That's how it should work, try clearing your browser cache in case some script is corrupted from the previous problems.

If the site is on-line you can email of PM me a superadmin logon and I'll take a look if you like.

Bob
GreyHead 17 Jun, 2009
Hi philino,

There's a 406 error being shown when ChronoForms tries to use Ajax to read the table field list:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>406 Not Acceptable</title>
</head><body>
<h1>Not Acceptable</h1>
<p>An appropriate representation of the requested resource /administrator/index3.php could not be found
on this server.</p>
<p>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.</p>
<hr>
<address>Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4
FrontPage/5.0.2.2635 Server at de.igw.edu Port 80</address>
</body></html>

I think this can be cleared by changing a mod_security setting in the webadmin.

Bob
philino 17 Jun, 2009
Well thanks,
I'll have a look at it and report the result.
philino 22 Jun, 2009
Finally it's up and running.
It was the sec_mod. Thanks for the help!
thor17 22 Jun, 2009
Hi!

Same problem here, how did you solve philino?

Thanks in advance
Max_admin 22 Jun, 2009
thor17, whats the problem you have exactly ?

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
thor17 23 Jun, 2009
I have the same problem of philino

I can't select the "Data View Fields Names" in the Admin-Settings-tab. It's just says "Please select a table first " what I think I've done by selecting my data table in the general tab.



I didn't have errors during the installation and I tried the workaround suggested by Greyhead.

After the table selection in the "general" tab I can't select the data field in the "admin settings" tab
[attachment=0]chrono.jpg[/attachment]

I tried locally on my machine and it worked like a charme, but online it doesn't.
I already tried to unistall, flush, cancel cache, change name, etc

Sorry for my english and for my previous post.
Thanks in advance
thor17 01 Jul, 2009
Update.
I try digging a little the apache log and I found this


[Tue Jun 30 15:28:48 2009] [error] [client xxx.xxx.xxx.xxx] ModSecurity: Access denied with code 400 (phase 2). Operator EQ matched 0 at REQUEST_HEADERS. [file "/etc/apache/modsecurity/modsecurity_crs_20_protocol_violations.conf"] [line "52"] [id "960012"] [msg "POST request must have a Content-Length header"] [severity "WARNING"] [hostname "xxx.xxx.xxx"] [uri "/administrator/index3.php"] [unique_id "SkoTEH8AAAEAABh9w2UAAABK"]


So seeing that the error are the data field not viewable I digged the chronoconnectivy code and I found this function, that should be responsible of the error

function loadfields(fieldname)
{        	
	var url = 'index3.php?option=com_chronoconnectivity&task=ajax&format=raw&tablenames='+$('tablenames').value;
	var url = 'index3.php?option=com_chronoconnectivity&task=ajax&format=raw&tablenames=jos_chronoforms_Fotovoltaico';
        myAjax = new Ajax(url, {
        	method: 'post',
        	onRequest: function(){
			//test = $(fieldname+'_ajax').getParent();
        		//test.setHTML('<div id=\'field_name\'>Loading . . .</div>')
    		},
        	onSuccess: function(req) {
			var data = req.split('#####*****#####');
			$('allfields').setHTML(data[0]);
			$('publishedfield').setHTML(data[1]);
			$('orderingfield').setHTML(data[2]);
    		}
    	}).request();
}


I can't modify the mod_security of apache, it is possible to modify the POST message?
It isn't urgent because by chanche I tried from another machine with IE and it worked, but not from firefox (i didn't try other browser).
thor17 01 Jul, 2009
OK a found a solution, a very simple one but maybe not "ethics"...update FF!
Yesterday was relesead the 3.5 version of the red fox and with that I don't have problem!
Thanks for the great component!
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger