Home Forums Theme support Lambada Support – Constant Session expiring

This topic contains 1 reply, has 2 voices, and was last updated by  7Theme Support 9 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Good morning, I’m constantly getting kicked out when I try and update the theme options. Also, the changes are not reflecting on the front end. Has anyone else experienced this problem? I’ve tried the basic theme files and I can’t replicate the issue. Seems to be Lambada specific.

    Any help? Ideas?

    Thanks,
    Carlos

    Hi,

    we know the problem, it’s up to the server settings of your server.

    You can contact your hosting company and ask for better server settings or open the file “admin.js” in “7league/script/” folder and remove or comment line 259 – 275 (the following code):

    	// OPTIONS PAGE ACTION WITH AJAX
    
    		jQuery(".options_page_form").submit(function() 
    			{
    			jQuery("body").append("<div id='options_page_load'></div>");
    			var form_data = jQuery(this).serializeArray(); 
    			var to_url = jQuery(this).find("input[name=sendto]").val()+"?page=options-page.php";
    			$.post( to_url, form_data ).error(function() 
    				{
            				alert('error');
        				}).success( function() 
    					{	
    					jQuery("#options_page_load").fadeOut().remove();
    					//alert('success');  					 
    					});
    				return false; 
    			});

    After removing the code, the theme options will be saved without ajax, then there is not a problem with the server settings

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.