Jump to content

Technical Error on creating new customers


Recommended Posts

Hi,
 
I am not able to create a new customer.. I am getting the following error:
 
Details:
Error thrown: [object Object]
Text status: parsererror
 
I read on the forums that on the authentication.tpl form changing
 
url: baseUri
to
url: baseUri + '?controller=authentication',
or
url: baseUri + 'index.php?controller=authentication',
 
but its not working for me.
 
I am using default theme. I didn't do any changes recently.
below is my site
 
Please help me asap. i am facing this in Production instance.
 
Thanks in advance

 

Link to comment
Share on other sites

The network tab returns this

 

 

<b>Fatal error</b>:  Uncaught exception 'JSMin_UnterminatedStringException' with message 'JSMin: Unterminated String at byte 129: '<br />' in /home2/thecrai7/public_html/tools/js_minify/jsmin.php:192
 
 
So it seems there is a string which is being cut off somehow
Link to comment
Share on other sites

youv'e got there fatal error:
 

<br />
<b>Fatal error</b>:  Uncaught exception 'JSMin_UnterminatedStringException' with message 'JSMin: Unterminated String at byte 129: '<br />' in /home2/thecrai7/public_html/tools/js_minify/jsmin.php:192
Stack trace:
#0 /home2/thecrai7/public_html/tools/js_minify/jsmin.php(143): JSMin->action(1)
#1 /home2/thecrai7/public_html/tools/js_minify/jsmin.php(83): JSMin->min()
#2 /home2/thecrai7/public_html/classes/Media.php(134): JSMin::minify('// ??  var AddS...')
#3 /home2/thecrai7/public_html/classes/Media.php(121): MediaCore::packJS('// ??  var AddS...')
#4 [internal function]: MediaCore::packJSinHTMLpregCallback(Array)
#5 /home2/thecrai7/public_html/classes/Media.php(104): preg_replace_callback('/\s*(<script\b[...', Array, '<link rel="styl...')
#6 /home2/thecrai7/public_html/config/smarty.config.inc.php(148): MediaCore::packJSinHTML('<link rel="styl...')
#7 /home2/thecrai7/public_html/tools/smarty/sysplugins/smarty_internal_filter_handler.php(60): smartyPackJSinHTML('<link rel="styl...', Object(Smarty_Internal_Template))
#8 /home2/thec in <b>/home2/thecrai7/public_html/tools/js_minify/jsmin.php</b> on line <b>192</b><br />

  • Like 1
Link to comment
Share on other sites

 

youv'e got there fatal error:

 

<br />
<b>Fatal error</b>:  Uncaught exception 'JSMin_UnterminatedStringException' with message 'JSMin: Unterminated String at byte 129: '<br />' in /home2/thecrai7/public_html/tools/js_minify/jsmin.php:192
Stack trace:
#0 /home2/thecrai7/public_html/tools/js_minify/jsmin.php(143): JSMin->action(1)
#1 /home2/thecrai7/public_html/tools/js_minify/jsmin.php(83): JSMin->min()
#2 /home2/thecrai7/public_html/classes/Media.php(134): JSMin::minify('// ??  var AddS...')
#3 /home2/thecrai7/public_html/classes/Media.php(121): MediaCore::packJS('// ??  var AddS...')
#4 [internal function]: MediaCore::packJSinHTMLpregCallback(Array)
#5 /home2/thecrai7/public_html/classes/Media.php(104): preg_replace_callback('/\s*(<script\b[...', Array, '<link rel="styl...')
#6 /home2/thecrai7/public_html/config/smarty.config.inc.php(148): MediaCore::packJSinHTML('<link rel="styl...')
#7 /home2/thecrai7/public_html/tools/smarty/sysplugins/smarty_internal_filter_handler.php(60): smartyPackJSinHTML('<link rel="styl...', Object(Smarty_Internal_Template))
#8 /home2/thec in <b>/home2/thecrai7/public_html/tools/js_minify/jsmin.php</b> on line <b>192</b><br />

I didn't touch this file.. I don't know what to do.. can you please guide me on this to fix?

Link to comment
Share on other sites

Hi Vekia,

 

Any updates on my issue? i have turned off the CCC for js files.

Hi,

 

After turning off the CCC also the problem exists.

 

So i have modified the config/config.inc.php, and made the display error "off".

 

@ini_set('display_errors', 'off');

 

Now its working fine. But I know, this is just to hide the errors and it is not the solution.

 

For time being i have done this..

 

Please anyone help me on this to fix it. 

 

Thanks in advance.

Link to comment
Share on other sites

Hi,

 

After turning off the CCC also the problem exists.

 

So i have modified the config/config.inc.php, and made the display error "off".

 

@ini_set('display_errors', 'off');

 

Now its working fine. But I know, this is just to hide the errors and it is not the solution.

 

For time being i have done this..

 

Please anyone help me on this to fix it. 

 

Thanks in advance.

 

Hi,

 

Please help me on this.

Link to comment
Share on other sites

I have the same problem with the "Create an Account"-button. Customer account creation is not possible. I didn't change anything since my last check, so I have no idea what caused this error. Tried every solution i could find in the forums including removing mobile theme, editing authentication.tpl  adding

 

url: baseUri + '?controller=authentication',

 

 

- nothing works. Can anyone help me please?

my shop address: http://bigbaitrecord...hopII/index.php

 

post-389087-0-08330600-1389863225_thumb.

 

TECHNICAL ERROR: unable to load form.

Details:
Error thrown: [object Object]
Text status: parsererror

 

 

Thanks a lot!

Link to comment
Share on other sites

I have the same problem with the "Create an Account"-button. Customer account creation is not possible. I didn't change anything since my last check, so I have no idea what caused this error. Tried every solution i could find in the forums including removing mobile theme, editing authentication.tpl  adding

 

url: baseUri + '?controller=authentication',

 

 

- nothing works. Can anyone help me please?

my shop address: http://bigbaitrecord...hopII/index.php

 

post-389087-0-08330600-1389863225_thumb.

 

TECHNICAL ERROR: unable to load form.

 

Details:

Error thrown: [object Object]

Text status: parsererror

 

 

Thanks a lot!

 

 

you've got this in ajax query response:


	
<!-- Breadcrumb -->
<div class="breadcrumb">
	<a href="http://bigbaitrecords.com/shopII/" title="Return to Home"><img src="http://bigbaitrecords.com/shopII/themes/default/img/icon/home.gif" height="26" width="26" alt="Home" /></a>
			<span class="navigation-pipe" >></span>
					<span class="navigation_page">	Authentication</span>
			</div>
<!-- /Breadcrumb -->

<script type="text/javascript">
// <![CDATA[
var idSelectedCountry = false;
var countries = new Array();
var countriesNeedIDNumber = new Array();
var countriesNeedZipCode = new Array();
										countriesNeedZipCode[244] = 1;
												countriesNeedZipCode[230] = 1;
												countriesNeedZipCode[40] = 1;
												countriesNeedZipCode[233] = 1;
												countriesNeedZipCode[236] = 1;
												countriesNeedZipCode[20] = 1;
												countriesNeedZipCode[1] = 1;
												countriesNeedZipCode[86] = 1;
												countriesNeedZipCode[89] = 1;
												countriesNeedZipCode[7] = 1;
												countriesNeedZipCode[8] = 1;
												countriesNeedZipCode[97] = 1;
												countriesNeedZipCode[9] = 1;
												countriesNeedZipCode[96] = 1;
												countriesNeedZipCode[101] = 1;
												countriesNeedZipCode[114] = 1;
												countriesNeedZipCode[26] = 1;
												countriesNeedZipCode[109] = 1;
								countries[10] = new Array();
							countries[10].push({'id' : '123', 'name' : 'Agrigento'});
							countries[10].push({'id' : '124', 'name' : 'Alessandria'});
							countries[10].push({'id' : '125', 'name' : 'Ancona'});
							countries[10].push({'id' : '126', 'name' : 'Aosta'});
							countries[10].push({'id' : '127', 'name' : 'Arezzo'});
							countries[10].push({'id' : '128', 'name' : 'Ascoli Piceno'});
							countries[10].push({'id' : '129', 'name' : 'Asti'});
							countries[10].push({'id' : '130', 'name' : 'Avellino'});
							countries[10].push({'id' : '131', 'name' : 'Bari'});
							countries[10].push({'id' : '132', 'name' : 'Barletta-Andria-Trani'});
							countries[10].push({'id' : '133', 'name' : 'Belluno'});
							countries[10].push({'id' : '134', 'name' : 'Benevento'});
							countries[10].push({'id' : '135', 'name' : 'Bergamo'});
							countries[10].push({'id' : '136', 'name' : 'Biella'});
							countries[10].push({'id' : '137', 'name' : 'Bologna'});
							countries[10].push({'id' : '138', 'name' : 'Bolzano'});
							countries[10].push({'id' : '139', 'name' : 'Brescia'});
							countries[10].push({'id' : '140', 'name' : 'Brindisi'});
							countries[10].push({'id' : '141', 'name' : 'Cagliari'});
							countries[10].push({'id' : '142', 'name' : 'Caltanissetta'});
							countries[10].push({'id' : '143', 'name' : 'Campobasso'});
							countries[10].push({'id' : '144', 'name' : 'Carbonia-Iglesias'});
							countries[10].push({'id' : '145', 'name' : 'Caserta'});
							countries[10].push({'id' : '146', 'name' : 'Catania'});
							countries[10].push({'id' : '147', 'name' : 'Catanzaro'});
							countries[10].push({'id' : '148', 'name' : 'Chieti'});
							countries[10].push({'id' : '149', 'name' : 'Como'});
							countries[10].push({'id' : '150', 'name' : 'Cosenza'});
							countries[10].push({'id' : '151', 'name' : 'Cremona'});
							countries[10].push({'id' : '152', 'name' : 'Crotone'});
							countries[10].push({'id' : '153', 'name' : 'Cuneo'});
							countries[10].push({'id' : '154', 'name' : 'Enna'});
							countries[10].push({'id' : '155', 'name' : 'Fermo'});
							countries[10].push({'id' : '156', 'name' : 'Ferrara'});
							countries[10].push({'id' : '157', 'name' : 'Firenze'});
							countries[10].push({'id' : '158', 'name' : 'Foggia'});
							countries[10].push({'id' : '159', 'name' : 'Forlì-Cesena'});
							countries[10].push({'id' : '160', 'name' : 'Frosinone'});
							countries[10].push({'id' : '161', 'name' : 'Genova'});
							countries[10].push({'id' : '162', 'name' : 'Gorizia'});
							countries[10].push({'id' : '163', 'name' : 'Grosseto'});
							countries[10].push({'id' : '164', 'name' : 'Imperia'});
							countries[10].push({'id' : '165', 'name' : 'Isernia'});
							countries[10].push({'id' : '166', 'name' : 'L\'Aquila'});
							countries[10].push({'id' : '167', 'name' : 'La Spezia'});
							countries[10].push({'id' : '168', 'name' : 'Latina'});
							countries[10].push({'id' : '169', 'name' : 'Lecce'});
							countries[10].push({'id' : '170', 'name' : 'Lecco'});
							countries[10].push({'id' : '171', 'name' : 'Livorno'});
							countries[10].push({'id' : '172', 'name' : 'Lodi'});
							countries[10].push({'id' : '173', 'name' : 'Lucca'});
							countries[10].push({'id' : '174', 'name' : 'Macerata'});
							countries[10].push({'id' : '175', 'name' : 'Mantova'});
							countries[10].push({'id' : '176', 'name' : 'Massa'});
							countries[10].push({'id' : '177', 'name' : 'Matera'});
							countries[10].push({'id' : '178', 'name' : 'Medio Campidano'});
							countries[10].push({'id' : '179', 'name' : 'Messina'});
							countries[10].push({'id' : '180', 'name' : 'Milano'});
							countries[10].push({'id' : '181', 'name' : 'Modena'});
							countries[10].push({'id' : '182', 'name' : 'Monza e della Brianza'});
							countries[10].push({'id' : '183', 'name' : 'Napoli'});
							countries[10].push({'id' : '184', 'name' : 'Novara'});
							countries[10].push({'id' : '185', 'name' : 'Nuoro'});
							countries[10].push({'id' : '186', 'name' : 'Ogliastra'});
							countries[10].push({'id' : '187', 'name' : 'Olbia-Tempio'});
							countries[10].push({'id' : '188', 'name' : 'Oristano'});
							countries[10].push({'id' : '189', 'name' : 'Padova'});
							countries[10].push({'id' : '190', 'name' : 'Palermo'});
							countries[10].push({'id' : '191', 'name' : 'Parma'});
							countries[10].push({'id' : '192', 'name' : 'Pavia'});
							countries[10].push({'id' : '193', 'name' : 'Perugia'});
							countries[10].push({'id' : '194', 'name' : 'Pesaro-Urbino'});
							countries[10].push({'id' : '195', 'name' : 'Pescara'});
							countries[10].push({'id' : '196', 'name' : 'Piacenza'});
							countries[10].push({'id' : '197', 'name' : 'Pisa'});
							countries[10].push({'id' : '198', 'name' : 'Pistoia'});
							countries[10].push({'id' : '199', 'name' : 'Pordenone'});
							countries[10].push({'id' : '200', 'name' : 'Potenza'});
							countries[10].push({'id' : '201', 'name' : 'Prato'});
							countries[10].push({'id' : '202', 'name' : 'Ragusa'});
							countries[10].push({'id' : '203', 'name' : 'Ravenna'});
							countries[10].push({'id' : '204', 'name' : 'Reggio Calabria'});
							countries[10].push({'id' : '205', 'name' : 'Reggio Emilia'});
							countries[10].push({'id' : '206', 'name' : 'Rieti'});
							countries[10].push({'id' : '207', 'name' : 'Rimini'});
							countries[10].push({'id' : '208', 'name' : 'Roma'});
							countries[10].push({'id' : '209', 'name' : 'Rovigo'});
							countries[10].push({'id' : '210', 'name' : 'Salerno'});
							countries[10].push({'id' : '211', 'name' : 'Sassari'});
							countries[10].push({'id' : '212', 'name' : 'Savona'});
							countries[10].push({'id' : '213', 'name' : 'Siena'});
							countries[10].push({'id' : '214', 'name' : 'Siracusa'});
							countries[10].push({'id' : '215', 'name' : 'Sondrio'});
							countries[10].push({'id' : '216', 'name' : 'Taranto'});
							countries[10].push({'id' : '217', 'name' : 'Teramo'});
							countries[10].push({'id' : '218', 'name' : 'Terni'});
							countries[10].push({'id' : '219', 'name' : 'Torino'});
							countries[10].push({'id' : '220', 'name' : 'Trapani'});
							countries[10].push({'id' : '221', 'name' : 'Trento'});
							countries[10].push({'id' : '222', 'name' : 'Treviso'});
							countries[10].push({'id' : '223', 'name' : 'Trieste'});
							countries[10].push({'id' : '224', 'name' : 'Udine'});
							countries[10].push({'id' : '225', 'name' : 'Varese'});
							countries[10].push({'id' : '226', 'name' : 'Venezia'});
							countries[10].push({'id' : '227', 'name' : 'Verbano-Cusio-Ossola'});
							countries[10].push({'id' : '228', 'name' : 'Vercelli'});
							countries[10].push({'id' : '229', 'name' : 'Verona'});
							countries[10].push({'id' : '230', 'name' : 'Vibo Valentia'});
							countries[10].push({'id' : '231', 'name' : 'Vicenza'});
							countries[10].push({'id' : '232', 'name' : 'Viterbo'});
												countriesNeedZipCode[10] = 1;
												countriesNeedZipCode[116] = 1;
												countriesNeedZipCode[74] = 1;
												countriesNeedZipCode[125] = 1;
												countriesNeedZipCode[130] = 1;
												countriesNeedZipCode[131] = 1;
												countriesNeedZipCode[12] = 1;
												countriesNeedZipCode[139] = 1;
												countriesNeedZipCode[133] = 1;
												countriesNeedZipCode[148] = 1;
												countriesNeedZipCode[23] = 1;
												countriesNeedZipCode[2] = 1;
												countriesNeedZipCode[14] = 1;
												countriesNeedZipCode[15] = 1;
												countriesNeedZipCode[147] = 1;
												countriesNeedZipCode[36] = 1;
												countriesNeedZipCode[18] = 1;
												countriesNeedZipCode[19] = 1;
												countriesNeedZipCode[37] = 1;
												countriesNeedZipCode[193] = 1;
										countriesNeedIDNumber.push(6);
							countriesNeedZipCode[6] = 1;
												countriesNeedZipCode[200] = 1;
												countriesNeedZipCode[16] = 1;
												countriesNeedZipCode[211] = 1;
												countriesNeedZipCode[216] = 1;
												countriesNeedZipCode[143] = 1;
												countriesNeedZipCode[107] = 1;
												countriesNeedZipCode[17] = 1;
												countriesNeedZipCode[52] = 1;
												countriesNeedZipCode[76] = 1;
			//]]>

$(document).ready(function() {
	$('#company').on('input',function(){
		vat_number();
	});
	$('#company_invoice').on('input',function(){
		vat_number_invoice();
	});
	function vat_number()
	{
		if (($('#company').length) && ($('#company').val() != '')) 
			$('#vat_number').show();
		else
			$('#vat_number').hide();
	}
	function vat_number_invoice()
	{
		if (($('#company_invoice').length) && ($('#company_invoice').val() != '')) 
			$('#vat_number_block_invoice').show();
		else
			$('#vat_number_block_invoice').hide();
	}
	vat_number();
	vat_number_invoice();

	$('.id_state option[value=]').prop('selected', true);

});

</script>

<h1>Authentication</h1>


	<script type="text/javascript">
	
	$(document).ready(function(){
		// Retrocompatibility with 1.4
		if (typeof baseUri === "undefined" && typeof baseDir !== "undefined")
		baseUri = baseDir;
		$('#create-account_form').submit(function(){
			submitFunction();
			return false;
		});
		$('#invoice_address').click(function() {
			bindCheckbox();
		});
		bindCheckbox();
	});
	function submitFunction()
	{
		$('#create_account_error').html('').hide();
		//send the ajax request to the server
		$.ajax({
			type: 'POST',
			url: baseUri,
			async: true,
			cache: false,
			dataType : "json",
			data: {
				controller: 'authentication',
				SubmitCreate: 1,
				ajax: true,
				email_create: $('#email_create').val(),
				back: $('input[name=back]').val(),
				token: token
			},
			success: function(jsonData)
			{
				if (jsonData.hasError)
				{
					var errors = '';
					for(error in jsonData.errors)
						//IE6 bug fix
						if(error != 'indexOf')
							errors += '<li>'+jsonData.errors[error]+'</li>';
					$('#create_account_error').html('<ol>'+errors+'</ol>').show();
				}
				else
				{
					// adding a div to display a transition
					$('#center_column').html('<div id="noSlide">'+$('#center_column').html()+'</div>');
					$('#noSlide').fadeOut('slow', function(){
						$('#noSlide').html(jsonData.page);
						// update the state (when this file is called from AJAX you still need to update the state)
						bindStateInputAndUpdate();
						$(this).fadeIn('slow', function(){
							document.location = '#account-creation';
						});
					});
				}
			},
			error: function(XMLHttpRequest, textStatus, errorThrown)
			{
				alert("TECHNICAL ERROR: unable to load form.\n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus);
			}
		});
	}
	function bindCheckbox()
	{
		if ($('#invoice_address:checked').length > 0)
		{
			$('#opc_invoice_address').slideDown('slow');
			if ($('#company_invoice').val() == '')
				$('#vat_number_block_invoice').hide();
			updateState('invoice');
			updateNeedIDNumber('invoice');
			updateZipCode('invoice');

			$('.id_state option[value=]').prop('selected', true);
			$('.id_state_invoice option[value=]').prop('selected', true);

		}
		else
			$('#opc_invoice_address').slideUp('slow');
	}
	
	</script>
	<!---->
	<form action="http://bigbaitrecords.com/shopII/index.php?controller=authentication" method="post" id="create-account_form" class="std">
		<fieldset>
			<h3>Create an account</h3>
			<div class="form_content clearfix">
				<p class="title_block">Please enter your email address to create an account.</p>
				<div class="error" id="create_account_error" style="display:none"></div>
				<p class="text">
					<label for="email_create">Email address</label>
					<span><input type="text" id="email_create" name="email_create" value="[email protected]" class="account_input" /></span>
				</p>
				<p class="submit">
					<input type="hidden" class="hidden" name="back" value="my-account" />					<input type="submit" id="SubmitCreate" name="SubmitCreate" class="button_large" value="Create an account" />
					<input type="hidden" class="hidden" name="SubmitCreate" value="Create an account" />
				</p>
			</div>
		</fieldset>
	</form>

	<form action="http://bigbaitrecords.com/shopII/index.php?controller=authentication" method="post" id="login_form" class="std">
		<fieldset>
			<h3>Already registered?</h3>
			<div class="form_content clearfix">
				<p class="text">
					<label for="email">Email address</label>
					<span><input type="text" id="email" name="email" value="" class="account_input" /></span>
				</p>
				<p class="text">
					<label for="passwd">Password</label>
					<span><input type="password" id="passwd" name="passwd" value="" class="account_input" /></span>
				</p>
				<p class="lost_password"><a href="http://bigbaitrecords.com/shopII/index.php?controller=password" title="Recover your forgotten password" rel="nofollow">Forgot your password?</a></p>
				<p class="submit">
					<input type="hidden" class="hidden" name="back" value="my-account" />					<input type="submit" id="SubmitLogin" name="SubmitLogin" class="button" value="Authentication" />
				</p>
			</div>
		</fieldset>
	</form>

	

isntead of this you should see json format output:

 

{"hasError":false,"errors":[],"page":"\n\n<!-- Breadcrumb -->\n<div class=\"breadcrumb\">\n\t<a href=\"http:\/\/demo.mypresta.eu\/\" title=\"return to Home\"><img src=\"http:\/\/demo.mypresta.eu\/themes\/default\/img\/icon\/home.gif\" height=\"26\" width=\"26\" alt=\"Home\" \/><\/a>\n\t\t\t<span class=\"navigation-pipe\" >><\/span>\n\t\t\t\t\t<span class=\"navigation_page\">Login<\/span>\n\t\t\t<\/div>\n<!-- \/Breadcrumb -->\n\n<script type=\"text\/javascript\">\n\/\/ <![CDATA[\nidSelectedCountry = false;\ncountries = new Array();\ncountriesNeedIDNumber = new Array();\ncountriesNeedZipCode = new Array();\n\t\t\t\t\t\t\t\t\t\tcountriesNeedZipCode[8] = 1;\n\t\t\t\t\t\t\t\t\t\tcountriesNeedIDNumber.push(6);\n\t\t\t\t\t\t\tcountriesNeedZipCode[6] = 1;\n\t\t\t$(function(){\n\t$('.id_state option[value=]').attr('selected', true);\n});\n\/\/]]>\n<\/script>\n\n<h1>Create your account<\/h1>\n\n\n\n\t<!---->\n<form action=\"http:\/\/demo.mypresta.eu\/en\/authentication\" method=\"post\" id=\"account-creation_form\" class=\"std\">\n\t\n\t<fieldset class=\"account_creation\">\n\t\t<h3>Your personal information<\/h3>\n\t\t<p class=\"radio required\">\n\t\t\t<span>Title<\/span>\n\t\t\t\t\t\t\t<input type=\"radio\" name=\"id_gender\" id=\"id_gender1\" value=\"1\"  \/>\n\t\t\t\t<label for=\"id_gender1\" class=\"top\">Mr.<\/label>\n\t\t\t\t\t\t\t<input type=\"radio\" name=\"id_gender\" id=\"id_gender2\" value=\"2\"  \/>\n\t\t\t\t<label for=\"id_gender2\" class=\"top\">Ms.<\/label>\n\t\t\t\t\t\t\t<input type=\"radio\" name=\"id_gender\" id=\"id_gender3\" value=\"3\"  \/>\n\t\t\t\t<label for=\"id_gender3\" class=\"top\">Miss<\/label>\n\t\t\t\t\t<\/p>\n\t\t<p class=\"required text\">\n\t\t\t<label for=\"customer_firstname\">First name <sup>*<\/sup><\/label>\n\t\t\t<input onkeyup=\"$('#firstname').val(this.value);\" type=\"text\" class=\"text\" id=\"customer_firstname\" name=\"customer_firstname\" value=\"\" \/>\n\t\t<\/p>\n\t\t<p class=\"required text\">\n\t\t\t<label for=\"customer_lastname\">Last name <sup>*<\/sup><\/label>\n\t\t\t<input onkeyup=\"$('#lastname').val(this.value);\" type=\"text\" class=\"text\" id=\"customer_lastname\" name=\"customer_lastname\" value=\"\" \/>\n\t\t<\/p>\n\t\t<p class=\"required text\">\n\t\t\t<label for=\"email\">E-mail <sup>*<\/sup><\/label>\n\t\t\t<input type=\"text\" class=\"text\" id=\"email\" name=\"email\" value=\"[email protected]\" \/>\n\t\t<\/p>\n\t\t<p class=\"required password\">\n\t\t\t<label for=\"passwd\">Password <sup>*<\/sup><\/label>\n\t\t\t<input type=\"password\" class=\"text\" name=\"passwd\" id=\"passwd\" \/>\n\t\t\t<span class=\"form_info\">(5 characters min.)<\/span>\n\t\t<\/p>\n\t\t<p class=\"select\">\n\t\t\t<span>Date of Birth<\/span>\n\t\t\t<select id=\"days\" name=\"days\">\n\t\t\t\t<option value=\"\">-<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1\" >1  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"2\" >2  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"3\" >3  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"4\" >4  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"5\" >5  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"6\" >6  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"7\" >7  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"8\" >8  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"9\" >9  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"10\" >10  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"11\" >11  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"12\" >12  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"13\" >13  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"14\" >14  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"15\" >15  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"16\" >16  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"17\" >17  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"18\" >18  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"19\" >19  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"20\" >20  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"21\" >21  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"22\" >22  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"23\" >23  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"24\" >24  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"25\" >25  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"26\" >26  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"27\" >27  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"28\" >28  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"29\" >29  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"30\" >30  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"31\" >31  <\/option>\n\t\t\t\t\t\t\t<\/select>\n\t\t\t\n\t\t\t<select id=\"months\" name=\"months\">\n\t\t\t\t<option value=\"\">-<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1\" >January <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"2\" >February <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"3\" >March <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"4\" >April <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"5\" >May <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"6\" >June <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"7\" >July <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"8\" >August <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"9\" >September <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"10\" >October <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"11\" >November <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"12\" >December <\/option>\n\t\t\t\t\t\t\t<\/select>\n\t\t\t<select id=\"years\" name=\"years\">\n\t\t\t\t<option value=\"\">-<\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"2014\" >2014  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"2013\" >2013  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"2012\" >2012  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"2011\" >2011  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"2010\" >2010  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"2009\" >2009  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"2008\" >2008  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"2007\" >2007  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"2006\" >2006  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"2005\" >2005  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"2004\" >2004  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"2003\" >2003  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"2002\" >2002  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"2001\" >2001  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"2000\" >2000  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1999\" >1999  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1998\" >1998  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1997\" >1997  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1996\" >1996  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1995\" >1995  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1994\" >1994  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1993\" >1993  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1992\" >1992  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1991\" >1991  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1990\" >1990  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1989\" >1989  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1988\" >1988  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1987\" >1987  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1986\" >1986  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1985\" >1985  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1984\" >1984  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1983\" >1983  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1982\" >1982  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1981\" >1981  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1980\" >1980  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1979\" >1979  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1978\" >1978  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1977\" >1977  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1976\" >1976  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1975\" >1975  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1974\" >1974  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1973\" >1973  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1972\" >1972  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1971\" >1971  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1970\" >1970  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1969\" >1969  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1968\" >1968  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1967\" >1967  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1966\" >1966  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1965\" >1965  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1964\" >1964  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1963\" >1963  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1962\" >1962  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1961\" >1961  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1960\" >1960  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1959\" >1959  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1958\" >1958  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1957\" >1957  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1956\" >1956  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1955\" >1955  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1954\" >1954  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1953\" >1953  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1952\" >1952  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1951\" >1951  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1950\" >1950  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1949\" >1949  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1948\" >1948  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1947\" >1947  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1946\" >1946  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1945\" >1945  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1944\" >1944  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1943\" >1943  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1942\" >1942  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1941\" >1941  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1940\" >1940  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1939\" >1939  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1938\" >1938  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1937\" >1937  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1936\" >1936  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1935\" >1935  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1934\" >1934  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1933\" >1933  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1932\" >1932  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1931\" >1931  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1930\" >1930  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1929\" >1929  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1928\" >1928  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1927\" >1927  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1926\" >1926  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1925\" >1925  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1924\" >1924  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1923\" >1923  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1922\" >1922  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1921\" >1921  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1920\" >1920  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1919\" >1919  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1918\" >1918  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1917\" >1917  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1916\" >1916  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1915\" >1915  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1914\" >1914  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1913\" >1913  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1912\" >1912  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1911\" >1911  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1910\" >1910  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1909\" >1909  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1908\" >1908  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1907\" >1907  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1906\" >1906  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1905\" >1905  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1904\" >1904  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1903\" >1903  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1902\" >1902  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1901\" >1901  <\/option>\n\t\t\t\t\t\t\t\t\t<option value=\"1900\" >1900  <\/option>\n\t\t\t\t\t\t\t<\/select>\n\t\t<\/p>\n\t\t\t\t<p class=\"checkbox\" >\n\t\t\t<input type=\"checkbox\" name=\"newsletter\" id=\"newsletter\" value=\"1\"  \/>\n\t\t\t<label for=\"newsletter\">Sign up for our newsletter<\/label>\n\t\t<\/p>\n\t\t<p class=\"checkbox\" >\n\t\t\t<input type=\"checkbox\"name=\"optin\" id=\"optin\" value=\"1\"  \/>\n\t\t\t<label for=\"optin\">Receive special offers from our partners<\/label>\n\t\t<\/p>\n\t\t\t<\/fieldset>\n\t\t\t\n<div class=\"error_customerprivacy\" style=\"color:red;\"><\/div>\n<fieldset class=\"account_creation customerprivacy\">\n\t<h3>Customer data privacy<\/h3>\n\t<p class=\"required\">\n\t\t<input type=\"checkbox\" value=\"1\" id=\"customer_privacy\" name=\"customer_privacy\" style=\"float:left;margin: 15px;\" \/>\t\t\t\t\n\t<\/p>\n\t<label for=\"customer_privacy\">The personal data you provide is used to answer to your queries, process your orders or allow you to access specific information. You have a right to modify and delete all the personal information which we hold concerning yourself in the "my account" page.<\/label>\t\t\n<\/fieldset>\n\t<p class=\"cart_navigation required submit\">\n\t\t<input type=\"hidden\" name=\"email_create\" value=\"1\" \/>\n\t\t<input type=\"hidden\" name=\"is_new_customer\" value=\"1\" \/>\n\t\t\t\t<input type=\"submit\" name=\"submitAccount\" id=\"submitAccount\" value=\"Register\" class=\"exclusive\" \/>\n\t\t<span><sup>*<\/sup>Required field<\/span>\n\t<\/p>\n<\/form>\n","token":"0ed60ff541f588208ec525414ccd43f0"}
Link to comment
Share on other sites

i created new account without any problem

hsCdlSd.png

Hi Vekia,

 

I have turned Off the errors in the config/config.inc.php file

@ini_set('display_errors', 'on');

Thats why we were able to create the account.. this is just a work around... This is a temporary solution for the customers to create account.

 

If I turn ON then the same error blocks the user to create the account..

Edited by manirathnam1988 (see edit history)
Link to comment
Share on other sites

You also cleared the cookie-sessions of your domain on browswer ? Set the limit of sessions in back-office to 240 (default is 480). I was too able to create an account just this moment.

 

Disable also your local firewall. Sometimes JS are blocked by firewalls.

Hi,

 

Now i have turned on the error in config file...

Now you can see the error... Meanwhile i will do the changes which you have mentioned like session settings and firewall.

It is in Production instance. So i cant keep this ON for long time. Please check and help me. 

 

Thanks in advance.

Link to comment
Share on other sites

OK. now I can see.  Activate the debug modus:

 

Change the file /config/defines.inc to:

define('_PS_MODE_DEV_', true);
if (_PS_MODE_DEV_)
{
	@ini_set('display_errors', 'on');
	define('_PS_DEBUG_SQL_', true);
	/* Compatibility warning */
	define('_PS_DISPLAY_COMPATIBILITY_WARNING_', true);
}

Also take in consideration to deactivate all your not native extra installed modules and also make a try with default template.

Link to comment
Share on other sites

Hi Vekia,

 

I have turned Off the errors in the config/config.inc.php file

@ini_set('display_errors', 'on');

Thats why we were able to create the account.. this is just a work around... This is a temporary solution for the customers to create account.

 

If I turn ON then the same error blocks the user to create the account..

 

it's probably because you've got there some errors, or just simple notification

Link to comment
Share on other sites

OK. now I can see.  Activate the debug modus:

 

Change the file /config/defines.inc to:

define('_PS_MODE_DEV_', true);
if (_PS_MODE_DEV_)
{
	@ini_set('display_errors', 'on');
	define('_PS_DEBUG_SQL_', true);
	/* Compatibility warning */
	define('_PS_DISPLAY_COMPATIBILITY_WARNING_', true);
}

Also take in consideration to deactivate all your not native extra installed modules and also make a try with default template.

Ok.. I will check in my night time(IST) and update you. 

 

Thanks a lot

Link to comment
Share on other sites

it's probably because you've got there some errors, or just simple notification

Some error is displaying in the error log.. 

 

Fatal error: Uncaught exception 'JSMin_UnterminatedStringException' with message 'JSMin: Unterminated String at byte 112: '<br />' in /public_html/tools/js_minify/jsmin.php:192

Stack trace:

#0 /public_html/tools/js_minify/jsmin.php(143): JSMin->action(1)

#1 /public_html/tools/js_minify/jsmin.php(83): JSMin->min()

#2 /public_html/classes/Media.php(134): JSMin::minify('// ?? var AddS...')

#3 /public_html/classes/Media.php(121): MediaCore::packJS('// ?? var AddS...')

#4 [internal function]: MediaCore::packJSinHTMLpregCallback(Array)

#5 /public_html/classes/Media.php(104): preg_replace_callback('/\s*(<script\b[...', Array, '<link rel="styl...')

#6 /public_html/config/smarty.config.inc.php(148): MediaCore::packJSinHTML('<link rel="styl...')

#7 /public_html/tools/smarty/sysplugins/smarty_internal_filter_handler.php(60): smartyPackJSinHTML('<link rel="styl...', Object(Smarty_Internal_Template))

#8 /public_html/tools/js_minify/jsmin.php on line 192

 

I dont know how to fix this... I didnt touch anything in the file..

Edited by manirathnam1988 (see edit history)
Link to comment
Share on other sites

you use these options:

ODRwRf5.png

especially for:

"smart cache for javascript" and "compres inline javascript in HTML" ?

 

Hi Vekia,

I am using below options. Do i need to change anything?

Smart cache for CSS : Use CCC for CSS

Smart cache for js : Keep Js as original

Minify HTML : Minify HTML after "smarty compile" execution. 

Compress inline JavaScript in HTML : Compress inline JavaScript in HTML after "smarty compile" execution 

Apache optimization : Checked

Link to comment
Share on other sites

OK. now I can see.  Activate the debug modus:

 

Change the file /config/defines.inc to:

define('_PS_MODE_DEV_', true);
if (_PS_MODE_DEV_)
{
	@ini_set('display_errors', 'on');
	define('_PS_DEBUG_SQL_', true);
	/* Compatibility warning */
	define('_PS_DISPLAY_COMPATIBILITY_WARNING_', true);
}

Also take in consideration to deactivate all your not native extra installed modules and also make a try with default template.

Hi,

i have disabled all the third party modules and kept default theme. Still I am facing the same issue.

Below is the issue i am facing..

 

 

[17-Jan-2014 00:11:36 Asia/Kolkata] PHP Notice: Undefined index: logo_url in /public_html/cache/smarty/compile/83e69ebb71303488b23df2a68de653aef6ff3397.file.header.tpl.php on line 55

[17-Jan-2014 00:11:36 Asia/Kolkata] PHP Notice: Trying to get property of non-object in /public_html/cache/smarty/compile/83e69ebb71303488b23df2a68de653aef6ff3397.file.header.tpl.php on line 55

[17-Jan-2014 00:11:36 Asia/Kolkata] PHP Notice: Undefined index: logo_url in /public_html/cache/smarty/compile/83e69ebb71303488b23df2a68de653aef6ff3397.file.header.tpl.php on line 89

[17-Jan-2014 00:11:36 Asia/Kolkata] PHP Notice: Trying to get property of non-object in /public_html/cache/smarty/compile/83e69ebb71303488b23df2a68de653aef6ff3397.file.header.tpl.php on line 89

[17-Jan-2014 00:11:36 Asia/Kolkata] PHP Fatal error: Uncaught exception 'JSMin_UnterminatedStringException' with message 'JSMin: Unterminated String at byte 129: '<br />' in /home2/thecrai7/public_html/tools/js_minify/jsmin.php:192

Stack trace:

#0 /public_html/tools/js_minify/jsmin.php(143): JSMin->action(1)

#1 /public_html/tools/js_minify/jsmin.php(83): JSMin->min()

#2 /public_html/classes/Media.php(134): JSMin::minify('// ?? var AddS...')

#3 /public_html/classes/Media.php(121): MediaCore::packJS('// ?? var AddS...')

#4 [internal function]: MediaCore::packJSinHTMLpregCallback(Array)

#5 /public_html/classes/Media.php(104): preg_replace_callback('/\s*(<script\b[...', Array, '<link rel="styl...')

#6 /public_html/config/smarty.config.inc.php(148): MediaCore::packJSinHTML('<link rel="styl...')

#7 /public_html/tools/smarty/sysplugins/smarty_internal_filter_handler.php(60): smartyPackJSinHTML('<link rel="styl...', Object(Smarty_Internal_Template))

#8 /public_html/tools/js_minify/jsmin.php on line 192

Link to comment
Share on other sites

Hello Guys!

all right, i tried following options:
- clearing cookie cache
- turning off ccc for js
- tuned on @ini_set('display_errors', ‚on‘); in the config.inc.php

- turning it back to "off" again
- set the limit of sessions in back-office to 240
- Disabled my local firewall
- changed the file /config/defines.inc to:
define('_PS_MODE_DEV_', true);
if (_PS_MODE_DEV_)
{
    @ini_set('display_errors', 'on');
    define('_PS_DEBUG_SQL_', true);
    /* Compatibility warning */
    define('_PS_DISPLAY_COMPATIBILITY_WARNING_', true);
}
- deleted all extra modules
- activated the debug profiler by changing in the defines.inc.php define('_PS_DEBUG_PROFILING_', false);".  from "false" to "true".

Nothing worked, still the same problem.
 Because I’m not a programmer i am bit confused about interpreting the ajax jquery response. Actually i have no idea what the ajax query response exactly does tell me about the error. Thanx again for help
 

Link to comment
Share on other sites

Did you tried with default Prestashop theme and also by disabling all extra non native mdules ? It seems that one of the JS-files is corrupt due to changes or overrides.

 

Can you please guide me How to run the page in default theme ?

In default theme, I have done small changes in few places... So i dont know how to do..

Link to comment
Share on other sites

To enable the default theme just go in te back office preferences, themes, and select the default one ;)

Thanks Nemo...

 

But I am little confused that already I am using default theme only but modified few labels and font styles..

 

So in the preference section, i am seeing only default theme which is already selected..

 

Do i need to revert back my changes? Actually i have modified the default theme tpl codes and i didn't take any original files backup.

Link to comment
Share on other sites

Clone your theme's folder, name is like 'default_my' or whatever name you like, then select this new one from the back office. At this point, get a fresh prestashop of the same version you use, delete the 'default' folder you have and place the one from the zip instead

Link to comment
Share on other sites

Clone your theme's folder, name is like 'default_my' or whatever name you like, then select this new one from the back office. At this point, get a fresh prestashop of the same version you use, delete the 'default' folder you have and place the one from the zip instead

 

Thanks a lot Nemo.. I will do this and update you..

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 months later...

Hi i used this and it worked

 

CCC allows you to reduce the loading time of your page. With these settings you will gain performance without even touching the code of your theme. Make sure, however, that your theme is compatible with PrestaShop 1.4+. Otherwise, CCC will cause problems.

Smart cache for CSS

 Use CCC for CSS. 
 

Smart cache for JavaScript

 Use CCC for JavaScript. 
 

Minify HTML

 Keep HTML as original 
 

Compress inline JavaScript in HTML

 Keep inline JavaScript in HTML as original 
 

 

This will add directives to your .htaccess file, which should improve caching and compression.

 
Edited by taoufiqaitali (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...