Jump to content

Recommended Posts

TECHNICAL ERROR: unable to load form.

 

Details:

Error thrown: [object Object]

Text status: parsererror

 

i using 1.6

with the default theme

 

and i have doing all what i find  in google. but always the same problem on firefox, ie, chrome and iphone and android. help!

 

www.nagelsachen.ch

 

 

im very tired now :((((

Edited by vncosmetics

Share this post


Link to post
Share on other sites

correct ajax response:

3IdKAs7.png

 

your ajax response:

rm9dG0s.png

 

 

we have to search for this.... dot... :|

but no worries, i got it :P

XFPytSy.png

 

this is the problem.

 

you probably modified some files? am i right? (translation files, module tpl files, also module php files)

let us know if so

Share this post


Link to post
Share on other sites

ok, so if you remember what files you changed

open them once again and save them without any empty lines, spaces at the begining 

and the most important thing: save them as a UTF-8 without BOM.

you can do it in editor like notepad++

 

btw. you probably edited these files with simple notepad, am i right? ;)

Share this post


Link to post
Share on other sites

jeeeeeeeeeeeeeeeeeepaaaaaaaa perfect!!!! now its allright  :wub:  :D  :D  :D  :D  :D  :D  :D  :D  :D  :D  :D  :D  :D  :D  :D  :lol:  :lol:  :lol:  :lol:  :lol:  :lol:

thanks!!!!!!! i edited the translations "de" in the blockcontactinfos. and now i delete the empty lines and the spaces at the beginnings. and now i can create a new account!!!

Share this post


Link to post
Share on other sites

for this "little" problem i take now 2 days!! (and i have a family with 2 kids)

but now i see first what i do before i write :))) and sorry for my english! im swiss :))

 

yes, making changes that seem ok at first may really lead to unpredictable results...so it's best not to make changes unless you have no other choice.

 

make sure to take daily backup's!...and know how to restore....

 

this will give you more time with the kids....

 

and milos rocks!

Share this post


Link to post
Share on other sites

correct ajax response:

3IdKAs7.png

 

your ajax response:

rm9dG0s.png

 

 

we have to search for this.... dot... :|

but no worries, i got it :P

XFPytSy.png

 

this is the problem.

 

you probably modified some files? am i right? (translation files, module tpl files, also module php files)

let us know if so

How to edit that?

Share this post


Link to post
Share on other sites

you've got also this empty space as i show on image below

Y9iQikC.png

 

?

no , sorry for my english , my problem is what i have to do to see those lines to know if i have this problem or not (empty space), because i modified translation files

Share this post


Link to post
Share on other sites

open chrome browser

open your website front office

then press CTRL+U

 

analyse your code.

waw ! thanks but its too much lines , difficult to find this error i cant see any errors like in the picture.

 

can you find something if i give you my website url?

http://liftparts-solution.net/index.php

Edited by liftpartssolution

Share this post


Link to post
Share on other sites

waw ! thanks but its too much lines , difficult to find this error i cant see any errors like in the picture.

 

can you find something if i give you my website url?

http://liftparts-solution.net/index.php

 

 

your problem is not related to the same issue described here, in this thread.

MbWRttW.png

 

your website is okay. problem is somewhere else.

Share this post


Link to post
Share on other sites

where you've got this issue? in what moment exactly?

at the time of creating an account it will appear this technical error

TECHNICAL ERROR: unable to load form. Details: Error thrown: [object Object] Text status: parsererror

post-767716-0-62513400-1398379740_thumb.jpg

 

in english version there is no problem , only in frensh,spanish and german

Edited by liftpartssolution

Share this post


Link to post
Share on other sites

sorry for late reply i went sleep right after my latest mesage here, but here i am ;)

 

i checked your website and.... i created account without any problem

MYQFsEk.png

Hi! i have same problem with this error my website is not work and i can't load to my account to configurate my website thanks for our help.

 

I speak french i'm sorry

Share this post


Link to post
Share on other sites

Hi! i have same problem with this error my website is not work and i can't load to my account to configurate my website thanks for our help.

 

I speak french i'm sorry

 

share url to your shop (for test purposes)

Share this post


Link to post
Share on other sites

i described everything on first page - read there my posts carefully.

i can't help because i don't know what files you changed.

 

only you know that.

Thank's

Share this post


Link to post
Share on other sites

sorry for late reply i went sleep right after my latest mesage here, but here i am ;)

 

i checked your website and.... i created account without any problem

MYQFsEk.png

yes in english it work perfectly the problem is the other lenguages (french, German and spanish!!)

Edited by liftpartssolution

Share this post


Link to post
Share on other sites

ok i tryed to open the webbsite with javascript sonsole in Chrom browser , and i have this

post-767716-0-22426100-1398458141_thumb.jpg

 

, if the problem is in   "  "    how to erase that? or which file i have to edit in Filezilla?

Edited by liftpartssolution

Share this post


Link to post
Share on other sites

ok i tryed to open the webbsite with javascript sonsole in Chrom browser , and i have this

attachicon.giferror.jpg

 

, if the problem is in   "  "    how to erase that? or which file i have to edit in Filezilla?

 

you probably edited language files manually.

read entries that i made in this thread, on first page. solution is there.

Share this post


Link to post
Share on other sites

jeeeeeeeeeeeeeeeeeepaaaaaaaa perfect!!!! now its allright  :wub:  :D  :D  :D  :D  :D  :D  :D  :D  :D  :D  :D  :D  :D  :D  :D  :lol:  :lol:  :lol:  :lol:  :lol:  :lol:

thanks!!!!!!! i edited the translations "de" in the blockcontactinfos. and now i delete the empty lines and the spaces at the beginnings. and now i can create a new account!!!

can you show what you deleted , just for the exemple??

this is what i see when i open the translations "de" in the blockcontactinfos

post-767716-0-57478100-1398464033_thumb.jpg

Share this post


Link to post
Share on other sites

open this file with notepad++ and save it with coding utf-8 without bom.do

 the same for each php and tpl file you modified before

 

thank you vekia  , solved the problem for the french and german  now i am trying for the spanish i dont know where is the problem,

post-767716-0-91440900-1398468152.jpg

post-767716-0-91440900-1398468152_thumb.jpg

Edited by liftpartssolution

Share this post


Link to post
Share on other sites

i don't know what files you changed, only you knows (i hope so)

its ALL RIGHT now , i only converted the translation files php with coding utf-8 without bom and saving

the problem was in those files here:

post-767716-0-13321200-1398469357.jpg

THANKS a lot for helping  VEKIA

post-767716-0-13321200-1398469357_thumb.jpg

Edited by liftpartssolution

Share this post


Link to post
Share on other sites

you're welcome

unfortunately it's common problem

prestashop suggest to change files manually,

 

and this way to change translation not always work well (due to the changes applied via software like simple notepad)

Share this post


Link to post
Share on other sites

ive got the same Problem:
 

TECHNICAL ERROR: unable to load form. Details: Error thrown: [object Object] Text status: parsererrori cant find the Problem.

hope for an answer.
 

Edited by ZoXx

Share this post


Link to post
Share on other sites

Sure, thank you.

 

 

{*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author PrestaShop SA <contact@prestashop.com>
*  @copyright  2007-2013 PrestaShop SA
*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang_iso}">
 
<head>
<title>{$meta_title|escape:'htmlall':'UTF-8'}</title>
{if isset($meta_description) AND $meta_description}
<meta name="description" content="{$meta_description|escape:html:'UTF-8'}" />
{/if}
{if isset($meta_keywords) AND $meta_keywords}
<meta name="keywords" content="{$meta_keywords|escape:html:'UTF-8'}" />
{/if}
 
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
<meta http-equiv="content-language" content="{$meta_language}" />
<meta name="generator" content="PrestaShop" />
<meta name="robots" content="{if isset($nobots)}no{/if}index,{if isset($nofollow) && $nofollow}no{/if}follow" />
                <meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1" />
<link rel="icon" type="image/vnd.microsoft.icon" href="{$favicon_url}?{$img_update_time}" />
<link rel="shortcut icon" type="image/x-icon" href="{$favicon_url}?{$img_update_time}" />
<script type="text/javascript">
var baseDir = '{$content_dir}';
var baseUri = '{$base_uri}';
var static_token = '{$static_token}';
var token = '{$token}';
var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals};
var priceDisplayMethod = {$priceDisplay};
var roundMode = {$roundMode};
</script>
{if isset($css_files)}
{foreach from=$css_files key=css_uri item=media}
<link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" />
{/foreach}
{/if}
 
 <script type="text/javascript" src="{$js_dir}classic/ma.jq.slide.js"></script>
 <script type="text/javascript" src="{$js_dir}classic/ma.lastesttweet.js"></script>
 
{if isset($js_files)}
{foreach from=$js_files item=js_uri}
<script type="text/javascript" src="{$js_uri}"></script>
{/foreach}
{/if}
  
<!--[if lt IE 7]>
<script type="text/javascript">
//<![CDATA[
    var BLANK_URL = '{$js_dir}blank.html';
    var BLANK_IMG = '{$js_dir}spacer.gif';
//]]>
</script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="{$css_dir}classic/bootstrap.css" media="all" />
<link rel="stylesheet" type="text/css" href="{$css_dir}classic/bootstrap-responsive.css" media="all" />
 
 
<script type="text/javascript" src="{$js_dir}classic/bootstrap.min.js"></script>
<!--<script type="text/javascript" src="{$js_dir}classic/superfish.js"></script>-->
<script type="text/javascript" src="{$js_dir}classic/ma.menu.effect.js"></script>
<script type="text/javascript" src="{$js_dir}classic/ma.flexslider.js"></script>
 
<script type='text/javascript' src='{$js_dir}classic/menu/jquery.hoverIntent.minified.js'></script>
<script type='text/javascript' src='{$js_dir}classic/menu/jquery.dcmegamenu.1.3.3.js'></script>
<link id="test" href="{$css_dir}classic/menu/default.css" rel="stylesheet" type="text/css" />
 
 
     <!-- set css color -->
    <link rel="stylesheet" type="text/css" href="{$css_dir}classic/styles_orange.css" media="screen" />
 
<!-- MENU -->
<link rel="stylesheet" type="text/css" href="{$css_dir}classic/wide_menu.css" media="screen"/>
 
 
    <!-- Background Option -->
 <style type="text/css">
    body{
 {if $themesdev.td_enabody_bg=="enable"} 
    {if $themesdev.td_body_bg_custom!=""} 
        background: url("{$themesdev.td_body_bg_custom}") {$themesdev.td_bgrepeat} {$themesdev.td_bgattachment} {$themesdev.td_bgposition} {$themesdev.td_body_bg_color}!important;   
    {else}
        background: url("{$themesdev.td_body_bg}") {$themesdev.td_bgrepeat} {$themesdev.td_bgattachment} {$themesdev.td_bgposition} {$themesdev.td_body_bg_color}!important;   
    {/if}
 {else}
    background:none repeat scroll 0 0 {$themesdev.td_body_bg_color}!important;   
 {/if}  
    color: {$themesdev.td_body_font_color};
    font-family: {$themesdev.td_body_font_face},Helvetica, arial, sans-serif!important;
}
  /*Theme Color*/
  
  button.button span,input.button, a.button, button.btn-cart:hover span, .products-grid button.btn-cart:hover span, .products-list button.btn-cart:hover span, button.btn-checkout span, .header .form-search button.button:hover span, .products-grid .actions .link-wishlist:hover, .ma-newproductslider-container .flexslider .slides > li .item-inner .actions .link-wishlist:hover, .products-grid .actions .link-wishlist:hover, .products-grid .actions .link-compare:hover, .products-grid .actions .product-detail a:hover, .ma-thumbnail-container .flex-direction-nav .flex-next:hover, .ma-thumbnail-container .flex-direction-nav .flex-prev:hover, .ma-banner7-container .flex-control-paging li a:hover, .ma-banner7-container .flex-control-paging li a.flex-active, .product-view button.btn-cart:hover span, .product-prev:hover, .product-next:hover, .product-view .product-shop .price-box, .ma-footer-static .f-address-icon, .ma-footer-static .f-email-icon, .ma-footer-static .f-phone-icon, .footer-social li:hover, .wine_menu li.active a, .wine_menu li.sfHover a, .fish_menu li.active a, .wine_menu li.over a, .fish_menu li.over a, .wine_menu a:hover, .fish_menu a:hover, .wine_menu li.home.active a, .fish_menu li.home.active a, .wine_menu li.home.over a, .fish_menu li.home.over a, .wine_menu .container, #back-top, .creare-tweet .icon-tweet, .icon-featured, .pager .pages .current span{
      background-color:{$themesdev.td_themecolor};
}
 #nav li.li-current a,#nav li.mega-hover a,.product-view .product-shop .add-to-links .link-compare:hover span, .product-view .product-shop .add-to-links .link-wishlist:hover span{
 
background-color:{$themesdev.td_themecolor};
}
 
.ui-slider .ui-slider-range,.products-list .link-wishlist:hover span,.fish_menu ul li a:hover,.products-list .link-compare:hover span ,.ac_over,.view-mode a.grid:hover,.pager .view-mode a.list:hover,.view-mode a.grid-mode-active,.pager .view-mode a.list-mode-active, ul.step li.sep_current span, ul.step li.step_done a, ul.step li.step_current_end span, .cart_total_price .total_price_container p, ul.step li.step_current span, ul.step li.step_done a, ul.step li.step_current_end span, div.alert, .ma-newproduct-container .flex-direction-nav .flex-next:hover, .ma-newproduct-container .flex-direction-nav .flex-prev:hover, #reduction_percent, #reduction_amount, .twitter-pic{
     background-color:{$themesdev.td_themecolor}!important;
}
.breadcrumbs, a:hover, .wine_menu ul li a:hover, .ajax_cart_total, .breadcrumbs li strong, .pager .pages a:hover, .pager .pages .current, .header .currency-language .language-switcher a:hover, .header .links li a:hover, .block-right-static .block-title strong, .block-subscribe-right .block-title strong, .top-cart-contain .price, .block-account .block-content li a:hover, .block-account .block-content li.current, .block-layered-nav li:hover, .block-layered-nav li a:hover, .products-grid .product-name a:hover, .products-list .product-name a:hover, .product-view .product-shop .availability span, .regular-price, .regular-price .price, .block .regular-price, .block .regular-price .price, .special-price .price, .add-to-cart .qty, .product-view .product-shop .product-name h1, .product-view .product-shop .product-sku span, .product-view .product-shop .product-brand span, .product-view .product-shop .add-to-links a:hover, .email-friend a:hover, .footer-information li:hover, .footer-information li a:hover, .ma-footer-static-container-bottom .footer-static-content ul li a:hover, .product-view .product-shop .add-to-links a:hover, .email-friend a:hover, .product-tabs a:hover, .product-tabs li.active a, .product-tabs li.active a:hover, .creare-tweet a ,.tweet_list li a ,.product-tabs li a.selected, #viewed-products_block_left li .text_desc .s_title_block a, #viewed-products_block_left li .text_desc h5 a, .short-description .buttons_bottom_block .button{
    color:{$themesdev.td_themecolor};
}
.wine_menu ul li a:hover, .wine_menu ul ul li a:hover{
 color:{$themesdev.td_themecolor}!important;
}
.top-cart-content{
border:1px solid {$themesdev.td_themecolor};
}
.breadcrumbs a{
color:#FFF;
}
.block {
 
    border-top: 3px solid {$themesdev.td_themecolor};
 
}
h1,h2,h3,h4,h5,h6, .wine_menu a, .fish_menu a, .block .block-title strong{
 font-family: {$themesdev.td_heading_font_face}!important;
}
 
  
{if $themesdev.td_home_pagestyle=="fiexdwidth"}
 
    
    @media (max-width: 900px) {
    
    .ma-banner7-container .flexslider{
        padding-top: 157px!important;
    }
    
 }
  @media (min-width: 680px) and (max-width: 1200px) {
    
    .ma-banner7-container .flexslider{
        padding-top: 133px!important;
    }
    
 }
    @media (min-width:1200px) {
        .ma-banner7-container {
    margin: 0 auto !important;
    min-height: 420px;
    padding-top: 124px!important;
    position: relative;
    z-index: 10;
 
    .ma-page {
    margin: 0 auto !important;
    width: 1170px;
     background-color:#FFF;
}
 
.ma-banner7-container .flexslider {
    margin: 0 0 25px;
    position: relative;
}
 
.ma-header-wrapper {  width: 1170px }
 
.cms-index-index .ma-header-wrapper, .cms-home .ma-header-wrapper { background-color: transparent;  position: absolute; top: 0; }
}
 
{/if}
 {$themesdev.td_custom_style|html_entity_decode}
</style> 
          <script type="text/javascript">
                    jQuery(document).ready(function($){
                    
                    $(".category-products .grid").click(function(e) {
                    $("#products_wrapper ol.products-list").hide();
                    $("#products_wrapper ul.products-grid").show();
                    $('.category-products .list').removeClass('list-mode-active');
                    $(this).addClass('grid-mode-active');
                    e.preventDefault();
                });
   
 
                $(".category-products .list").click(function(e) {
                $("#products_wrapper ol.products-list").show();
                $("#products_wrapper ul.products-grid").hide();
                $(this).addClass('list-mode-active');
                $('.category-products  .grid').removeClass('grid-mode-active');
                e.preventDefault(); });
 
        
 
})
   
{if $themesdev.td_proviewstyle=="gridview"} 
jQuery(document).ready(function($){
$("#products_wrapper ol.products-list").hide();
$("#products_wrapper ul.products-grid").show();
$('.category-products .list').removeClass('list-mode-active');
$('.category-products .grid').addClass('grid-mode-active');
});
{else}
jQuery(document).ready(function($){
$("#products_wrapper ol.products-list").show();
$("#products_wrapper ul.products-grid").hide();
$('.category-products .list').addClass('list-mode-active');
$('.category-products .grid').removeClass('grid-mode-active');
});
{/if}    
 </script>
     
  <script type="text/javascript">
  jQuery(document).ready(function($){
  $('.link-compare').click(function(){
var idProduct = $(this).attr('id').replace('comparator_item_', '');
$.ajax({
  url: 'index.php?controller=products-comparison&ajax=1&action=add&id_product=' + idProduct,
async: true,
                            dataType: "json",
                            success: function(responseData) {
                                        if(responseData==0){   
                                        
                                                jQuery('body').append('<div class="alert"></div>');
                                                var $alert = jQuery('.alert');
                                                $alert.fadeIn(400);
                                               var message="<p>{l s='Allready added max value products!'}</p>";
                                             $alert.html(message);
                                                $alert.fadeIn('400', function () {
                                                    setTimeout(function () {
                                                        $alert.fadeOut('400', function () {
                                                            jQuery(this).fadeOut(400, function(){ jQuery(this).detach(); })
                                                        });
                                                    }, 7000)
                                                });
 
                                
                                    }
                                    else{
                                      jQuery('body').append('<div class="alert"></div>');
                                                var $alert = jQuery('.alert');
                                                $alert.fadeIn(400);
                                               var message="<p>{l s='Compare list Added Successfully!'}</p>";
                                            $alert.html(message);
                                                $alert.fadeIn('400', function () {
                                                    setTimeout(function () {
                                                        $alert.fadeOut('400', function () {
                                                            jQuery(this).fadeOut(400, function(){ jQuery(this).detach(); })
                                                        });
                                                    }, 7000)
                                                });
                               
                                }
                            },
                            error: function(XMLHttpRequest, textStatus, errorThrown) {
                               
                            }
});
});
 
$(".link-compare").click(function(e) {
e.preventDefault();
});
})
    
 
function WishlistCart(id, action, id_product, id_product_attribute, quantity)
{
$.ajax({
type: 'GET',
url: baseDir + 'modules/blockwishlist/cart.php',
async: true,
cache: false,
data: 'action=' + action + '&id_product=' + id_product + '&quantity=' + quantity + '&token=' + static_token + '&id_product_attribute=' + id_product_attribute,
success: function(data)
{
if (action == 'add')
{
                                        jQuery('body').append('<div class="alert"></div>');
                                                var $alert = jQuery('.alert');
                                                $alert.fadeIn(400);
                                               var message="<span></span><p>{l s='Producto agregado!'}</p>";
                                       $alert.html(message);
                                
                                                $alert.fadeIn('400', function () {
                                                    setTimeout(function () {
                                                        $alert.fadeOut('400', function () {
                                                            $(this).fadeOut(400, function(){ jQuery(this); })
                                                        });
                                                    }, 7000)
                                                });
}
      if(action =='delete'){
                                         jQuery('body').append('<div class="alert"></div>');
                                                var $alert = jQuery('.alert');
                                                $alert.fadeIn(400);
                                               var message="<span></span><p>{l s='Producto eliminado!'}</p>";
                                               $alert.html(message);
                                               
                                                $alert.fadeIn('400', function () {
                                                    setTimeout(function () {
                                                        $alert.fadeOut('400', function () {
                                                            $(this).fadeOut(400, function(){ jQuery(this); })
                                                        });
                                                    }, 7000)
                                                });  
                              }
                               if(data=='You must be logged in to manage your wishlist.'){
                                                  jQuery('body').append('<div class="alert"></div>');
                                                var $alert = jQuery('.alert');
                                                $alert.fadeIn(400);
                                               var message="<p>{l s='Debe estar registrado para utilizar la lista de regalos!'}</p>";
                                             $alert.html(message);
                                                  $alert.fadeIn('400', function () {
                                                    setTimeout(function () {
                                                        $alert.fadeOut('400', function () {
                                                            $(this).fadeOut(400, function(){ jQuery(this); })
                                                        });
                                                    }, 7000)
                                                });
                            }
if($('#' + id).length != 0)
{
$('#' + id).slideUp('normal');
document.getElementById(id).innerHTML = data;
$('#' + id).slideDown('normal');
}
}
});
}
 
      
 
</script>
                                               
 
    {$HOOK_HEADER}
 
</head>
<body {if isset($page_name)}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if} class="{if $page_name =="index"}cms-index-index {/if}{if $hide_left_column}hide-left-column{/if} {if $hide_right_column}hide-right-column{/if} {if $content_only} content_only {/if}">
{if !$content_only}
{if isset($restricted_country_mode) && $restricted_country_mode}
<div id="restricted-country">
<p>{l s='No puede efectuar pedidos desde su país.'} <span class="bold">{$geolocation_country}</span></p>
</div>
{/if}
<div class="ma-wrapper">
<div class="ma-page" >
{if $page_name =="index"} 
<div class="ma-banner7-container hidden-phone">
{/if} 
{$HOOK_TOP}
{/if}
 
<div style="clear:both"></div>
        <div class="ma-main-container col2-right-layout">
            {if $page_name !="index"} 
                {if ($content_only == 0)}
                {include file="$tpl_dir./breadcrumb.tpl"}
            {/if}
{/if}
        <div class="container" id="center_column" >        
        <div class="contain-size">
        <div class="main">
        <div class="main-inner">
        <div class="row-fluid">

Share this post


Link to post
Share on other sites

It´s an error in Ajax Product Search module, if I deactivate it, I got no error, I changed this in tdajaxsearch.php:

 

<?php echo ('<xml version = "1.0" encoding = "UTF-8">?');

 

by this

 

<?php echo '<?xml version="1.0" encoding="UTF-8"?>';

 

but  I got the same  error again, "UNABLE TO LOAD FORM" when I deactivate the module I got this error:

 

Warning: Cannot modify header information - headers already sent by (output started at /home/peeooloo/public_html/modules/tdajaxserach/tdajaxserach.php:1) in /home/peeooloo/public_html/classes/Tools.php on line 141

 

but everything works, it show me the form.

 

In tools.php line 141 I´ve got this:

 

139     public static function redirectAdmin($url)
140     {
141       header('Location: '.$url);
142       exit;
143      }
 
 
Don´t know what to do
Edited by RamonCiruelo

Share this post


Link to post
Share on other sites

Having problems with creating new users on the checkout...Pressing the button "Create new account", but nothing happens..Pls help, on this for 2 days, can't find what is wrong

 

Here is a link for the button..

 

http://mep.ch/pizza/authentication?multi-shipping=0&display_guest_checkout=0&back=http%3A%2F%2Fmep.ch%2Fpizza%2Forder%3Fstep%3D1%26multi-shipping%3D0

Share this post


Link to post
Share on other sites

Hey Vekia,
I still have the problem that nobody can register.
always the same error:

TECHNICAL ERROR: unable to load form. Details: Error thrown: [object Object] Text status: parsererror

make an update to:

1.6.09

but no change...

maybe you could help me?
 

Thanks!!!

 

 

Edit:

I have added a user manually. 
however, happens after the log in the shop nothing. 
There will be no other page.
Edited by ZoXx

Share this post


Link to post
Share on other sites

Hi Vekia !

 

Same trouble ! I spend the night on this without finding any solution. When I try to create an account I got the message :

 

TECHNICAL ERROR: unable to load form. Details: Error thrown: [object Object] Text status: error

 

Version du logiciel serveur Apache/2.4.9 (Win64) OpenSSL/1.0.1e PHP/5.5.7

Version de PHP 5.5.7

Version de PrestaShop 1.6.0.9

URL de votre boutique :  http://vetro-france.fr/

I use a crazy expensive theme : Demo here 

http://addons.prestashop.com/demo/FO8364.html

Would you be kind to take a look to try to identify what's going wrong.

Jeff

PS : I didn't change any file right now.

 

 

 

Share this post


Link to post
Share on other sites

Same problem here.

 

TECHNICAL ERROR: unable to load form. Details: Error thrown: [object Object] Text status: error

 

In console I see message: 

send f.extend.ajax submit Function (anonymous function) f.event.dispatch h.handle.i

 

using Prestashop 1.5.4.1

on page 112pc.si

using SSL certificate (for about 2 weeks, register till now works fine)

 

please help

Share this post


Link to post
Share on other sites

Same problem here.

 

TECHNICAL ERROR: unable to load form. Details: Error thrown: [object Object] Text status: error

 

In console I see message: 

send f.extend.ajax submit Function (anonymous function) f.event.dispatch h.handle.i

 

using Prestashop 1.5.4.1

on page 112pc.si

using SSL certificate (for about 2 weeks, register till now works fine)

 

please help

 

In authentication.tpl I was changed line to:

alert("TECHNICAL ERROR: unable to load form.\n\nDetails:\nError thrown: " + errorThrown + "\n" + 'Text status: ' + textStatus);

 

I get next errors:

Chrome:

TEHNICAL ERROR: unable to load form.
 
Details:
Error thrown: SyntaxError: Unexpected token <
Text status: parseerror

 

Firefox:

TECHNICAL ERROR: unable to load form.

 
Details:
Error thrown: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Text status: parsererror
 

IE:

TEHNICAL ERROR: unable to load form.
 
Details:
Error thrown: SyntaxError: Invalid character
Text status: parseerror
 
If Friendly URL is disabled Details are:
Error thrown: Not Found
Text status: error
in all browsers.
 
Please help!

Share this post


Link to post
Share on other sites

you run store with error reporting turned on

it means that each ajax query contains

 

 

Warning: Function addCSS() is deprecated in /home/pcsi112/public_html/modules/cookieslaw/cookieslaw.php on line 122
in /home/pcsi112/public_html/classes/Tools.php on line 1845

Warning: Function addJS() is deprecated in /home/pcsi112/public_html/modules/cookieslaw/cookieslaw.php on line 123
in /home/pcsi112/public_html/classes/Tools.php on line 1845

 

javascripts cant be parsed properly due to this, in effect - you see technical error

MFUv9UZ.png

Share this post


Link to post
Share on other sites

Ok, I see now. Thank you.

But I still dont understand error.

First 4 lines are for cookie warning(no problem). 5th line shows coorect ajax response, like you said here http://www.prestashop.com/forums/topic/316966-technical-error/?p=1604990

I turned error reporting off, and see only that 5th line now

So were is my problem?

Edited by micho88

Share this post


Link to post
Share on other sites

 

javascripts cant be parsed properly due to this, in effect - you see technical error

MFUv9UZ.png

 

Try to solve that, but after hours no success. Anyone can give me more help, please?

 

Thank you!

Share this post


Link to post
Share on other sites

your deprecated notifications are still there

as long as it will be visible register form will not work, even more all ajax request will not work.

you disabled error reporting? i don't think so

Share this post


Link to post
Share on other sites

SO here (Warning: Function addCSS() is deprecated in /home/pcsi112/public_html/modules/cookieslaw/cookieslaw.php on line 121

in /home/pcsi112/public_html/classes/Tools.php on line 1845

Warning: Function addJS() is deprecated in /home/pcsi112/public_html/modules/cookieslaw/cookieslaw.php on line 122


in /home/pcsi112/public_html/classes/Tools.php on line 1845)

 

Where is my problem?

 

Even If I disable ertor repoting, it is the same, Now it is disabled.

 

 

When I try to register I get this:

 

Capture.JPG

 

Is problem in Javascrip or Ajax, or both? How to resolve that please

Edited by micho88

Share this post


Link to post
Share on other sites

it's a problem of module

it uses deprecated functions.

instead of tools:: funciton, you have to use $this object, because new ps uses context object, not Tools:: class to apply js / css  files

 

can you show module .php file (hookHeader function only)

Share this post


Link to post
Share on other sites
function hookHeader($params)

{

global $smarty, $cookie;

 

Tools::addCSS(($this->_path).'cookieslaw.css', 'all');

Tools::addJS(($this->_path).'cookieslaw.js');

 

$cookie_path = trim(__PS_BASE_URI__, '/\\').'/';

if ($cookie_path{0} != '/') $cookie_path = '/'.$cookie_path;

$cookie_path = rawurlencode($cookie_path);

$cookie_path = str_replace('%2F', '/', $cookie_path);

$cookie_path = str_replace('%7E', '~', $cookie_path);

 

$smarty->assign(array(

'cl_RedirectLink' => Configuration::get($this->name.'_redirect'),

'cl_CookieTop' => Configuration::get($this->name.'_cookietop'),

'cl_CookieUrl' => Configuration::get($this->name.'_cookieurl'),

'cl_CookieName' => 'jsEUCookieslawCheck',

'cl_CookiePath' => $cookie_path,

'cl_CookieDomain' => $this->getDomain(),

'cl_ajaxUrl' => Tools::getHttpHost(true)._MODULE_DIR_.'cookieslaw/cookie_ajax.php'

));

return $this->display(__FILE__, 'cookieslaw.tpl');

}

Share this post


Link to post
Share on other sites

change these 2 lines:
 

Tools::addCSS(($this->_path).'cookieslaw.css', 'all');
Tools::addJS(($this->_path).'cookieslaw.js');

to:

$this->context->controller->addCSS(($this->_path).'cookieslaw.css', 'all');
$this->context->controller->addJS(($this->_path).'cookieslaw.js');

Share this post


Link to post
Share on other sites

I try to unistall cookieslaw module, but problem was still there, so I install it again. Any solution what to make that users can register again?

 

 

 

Thank you

Edited by micho88

Share this post


Link to post
Share on other sites

I try to unistall cookieslaw module, but problem was still there, so I install it again. Any solution what to make that users can register again?

 

 

 

Thank you

 

and now what kind of error you see?

do you applied modification that i suggested to use (related to addCSS / addJS) ?

Share this post


Link to post
Share on other sites

I turn on errors - define('_PS_MODE_DEV_', true);

but can not see any error. When I want to register as a new user, nothing happens (look like I would refresh page)

 

I changed lines in 2 files (modules/cookieslaw/cookieslaw.php and themes/mytheme/modules/cookieslaw/cookieslaw.php), so function is now:

 

function hookHeader($params)
{
global $smarty, $cookie;
 
$this->context->controller->addCSS(($this->_path).'cookieslaw.css', 'all');
$this->context->controller->addJS(($this->_path).'cookieslaw.js');
 
$cookie_path = trim(__PS_BASE_URI__, '/\\').'/';
if ($cookie_path{0} != '/') $cookie_path = '/'.$cookie_path;
$cookie_path = rawurlencode($cookie_path);
$cookie_path = str_replace('%2F', '/', $cookie_path);
$cookie_path = str_replace('%7E', '~', $cookie_path);
 
$smarty->assign(array(
'cl_RedirectLink' => Configuration::get($this->name.'_redirect'),
'cl_CookieTop' => Configuration::get($this->name.'_cookietop'),
'cl_CookieUrl' => Configuration::get($this->name.'_cookieurl'),
'cl_CookieName' => 'jsEUCookieslawCheck',
'cl_CookiePath' => $cookie_path,
'cl_CookieDomain' => $this->getDomain(),
'cl_ajaxUrl' => Tools::getHttpHost(true)._MODULE_DIR_.'cookieslaw/cookie_ajax.php'
));
return $this->display(__FILE__, 'cookieslaw.tpl');
}
Edited by micho88

Share this post


Link to post
Share on other sites

Are we talking about *.php and *.tpl files or about *.js and *.css files too (html...)?

 

Is there any folder with bigger chance for that fail, or this could be anywhere? (/modules or maybe /theme/mytheme/modules)?

 

Seems like I have to check all files :/ 

 

 

I noticed some files, for example : index.php in /modules/blockmyaccountfooter are empty and encoding is empty, I think that has no effect, am I right?

 

Now I check ALL files in /modules. Yes.. a lot of work, but have no choice.

 

In /modules/fbconnect_psb/controllers/front there is link.php, with ANSI encoding, I try to change it, but with no success. I think that file is not reason for my register troubles, because in my backup encoding is the same. When backup was made register was run ok.

Edit: changed encoding of link.php ,in strings I have special slovenian character, so I delete it. But my general problem is not solved with this

 

Tommorow mission: Check ALL files in /theme/mytheme/modules

Edited by micho88

Share this post


Link to post
Share on other sites

I go through all that "subtopics", but problem not solved. Also 2 programmers, better then me, looking for solution, but with no success. I am giving up, I will have to go another way from begging :(

Share this post


Link to post
Share on other sites

i have this problem on my site www.francescopalombinoshop.com

 

TECHNICAL ERROR: unable to load form. Details: Error thrown: [object Object] Text status: parsererror

 

please it's important, i can't sell...

Share this post


Link to post
Share on other sites