Forums

Access denied for user ....

RaXa 04 Sep, 2008
Good day when I try to submit the form appears a
Access denied for user 'XxXxXxXxXx'@'localhost' (using password: YES)
I´m not a developer and need a little help, thanks in advance
The form is in Here is the form
Max_admin 04 Sep, 2008
this is like a DB connection error, do u have PHP code in this form ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
RaXa 05 Sep, 2008
NO, The code I have is
<div  class="form_item"><div class="form_element cf_textbox"><label class="cf_label">Nombre:</label><input class="cf_inputbox required" maxlength="60" size="30" id="text_0" name="text_0" type="text"><a onclick="return false;" class="tooltiplink"><img  src="components/com_chronocontact/css/images/tooltip.png" class="tooltipimg" width="16" border="0" height="16"></a><div  class="tooltipdiv">Nombre: :: Escriba su Nombre</div></div><div class="clear"> </div></div><div  class="form_item"><div class="form_element cf_textbox"><label class="cf_label">Correo:</label><input class="cf_inputbox required validate-email" maxlength="150" size="30" id="text_1" name="text_1" type="text"><a onclick="return false;" class="tooltiplink"><img  src="components/com_chronocontact/css/images/tooltip.png" class="tooltipimg" width="16" border="0" height="16"></a><div  class="tooltipdiv">Correo: :: Escriba su dirección de correo electrónico</div></div><div class="clear"> </div></div><div  class="form_item"><div class="form_element cf_textbox"><label class="cf_label">Lada + Teléfono </label><input class="cf_inputbox required validate-number" maxlength="30" size="30" id="text_2" name="text_2" type="text"><a onclick="return false;" class="tooltiplink"><img  src="components/com_chronocontact/css/images/tooltip.png" class="tooltipimg" width="16" border="0" height="16"></a><div  class="tooltipdiv">Lada + Teléfono  :: Solo teléfonos fijos no se realizan llamadas a celular</div></div><div class="clear"> </div></div><div  class="form_item"><div class="form_element cf_textarea"><label class="cf_label">Comentarios:</label><textarea class="cf_inputbox" rows="3" id="text_5" cols="30" name="text_5"></textarea><a onclick="return false;" class="tooltiplink"><img  src="components/com_chronocontact/css/images/tooltip.png" class="tooltipimg" width="16" border="0" height="16"></a><div  class="tooltipdiv">Comentarios: :: Escriba su consulta para poder dirigirlo al departamento correspondiente y su solicitud sea atendida eficientemente</div></div><div class="clear"> </div></div><div  class="form_item"><div class="form_element cf_captcha"><label class="cf_label"></label><span>{imageverification}</span><a onclick="return false;" class="tooltiplink"><img  src="components/com_chronocontact/css/images/tooltip.png" class="tooltipimg" width="16" border="0" height="16"></a><div  class="tooltipdiv"> :: Escriba los caracteres que aparecen en la imagen.</div></div><div class="clear"> </div></div><div  class="form_item"><div class="form_element cf_button"><input value="Enviar" name="undefined" type="submit"><input value="Reset" type="reset"></div><div class="clear"> </div></div>


The form was recreated in the wizard I have PHP5 and MySQL 5 over a CentOS Server and Joomla 1.5.6 the version of CF is the latest beta

Thanks in advance for the help
Max_admin 05 Sep, 2008
Hi Raxa,

Ok, I can't see any issues, please backup your form after you remove your email from it and attach it here and I will see if it has any problems, are you sure you don't get this error any where else ?

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
RaXa 06 Sep, 2008
I post in here the form, thanks in advance.
Max_admin 07 Sep, 2008
Hi Raxa,

its working fine here on V3.0 BETA 2 so it seems like you have a problem with your website or server, the error you get is a DB connection error!

regards

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
RaXa 07 Sep, 2008
Now I have this message...

Warning: implode() [function.implode]: Invalid arguments passed in /public_html/libraries/joomla/database/database/mysql.php on line 534

Maybe is about the .htaccess? or sh404SEF because I deactivate sh404SEF and this warning appears

I don´t want to store the form fields in a database, so I don´t know why the form is trying to store the information, the autogenerated PHP code

In the DB Connection Tab, I select to the option "Enable Data storage:NO" but in the PHP autogenerated code looks like this
<?php
		if($paramsvalues->dbconnection == "Yes"){			
			$row =& JTable::getInstance("facileforms_records", "Table");
			srand((double)microtime()*10000);
			$inum	=	"I" . substr(base64_encode(md5(rand())), 0, 16);
			$_POST["recordtime"] 	= JRequest::getVar( "recordtime", date("Y-m-d")." - ".date("H:i:s"), "post", "string", "" );
			$_POST["ipaddress"] 	= JRequest::getVar( "ipaddress", $_SERVER["REMOTE_ADDR"], "post", "string", "" );
			$_POST["uid"] 	= JRequest::getVar( "uid", $inum, "post", "string", "" );
			$post = JRequest::get( "post" , JREQUEST_ALLOWRAW );			
			if (!$row->bind( $post )) {
				echo "<script> alert('".$row->getError()."'); window.history.go(-1); </script>\n";
				exit();
			}				
			if (!$row->store()) {
				echo "<script> alert('".$row->getError()."'); window.history.go(-1); </script>\n";
				exit();
			}			
		}
		?>
		
Max_admin 07 Sep, 2008
Hi Raxa,

that's because you choose a table from the list and so some code was generated for it, please create a complete new form with one or 2 fields and don't choose any tables and submit the form without this sh404sef, does it work fine ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.