Wordpress Ajax not working - ajax

I have updated wordpress 3.5.2 and using Elemen theme in my wordpress site.
The problem i am having is in admin side Ajax functionality is not working.
I have tried disabling all the plugins but that has not helped me till now.
I have used define( 'CONCATENATE_SCRIPTS', false ); in wp-config.php,
but even that hasn't been working for me.
by using console what error i got is like this
TypeError: switchEditors is undefined Source File: test.com/wp- admin/post.php?post=761&action=edit#category-pop Line: 1
i dont know how to solve this.
Please guide me now what should i check to work it in my favor.

Related

Why Advanced AJAX Product Filters for Woocommerce update page?

When I apply filters store page is updated.
There are errors on the page:
Uncaught TypeError: e.indexOf is not a function
at w.fn.init.w.fn.load (jquery-3.3.1.min.js?ver=5.1:2)
at Scrollbar.concat.min.js?ver=1.3.0.2:5
at Scrollbar.concat.min.js?ver=1.3.0.2:4
at Scrollbar.concat.min.js?ver=1.3.0.2:4
at Scrollbar.concat.min.js?ver=1.3.0.2:5
WP version 5.1, WooCommerce version 3.5.5, Advanced AJAX Product Filters version 1.3.0.2., Local server.
Help me please.
you need to update the Scrollbar.concat.min.js file for this. Before editing, you should beautify it using an online tool.
After that, search for - e(t).load(function() and replace it with e(t).on( 'load', function()
After this, you should again minify the js file using the online tool and save the changes.
You should disable plugin updates otherwise your changes will be lost.
This should fix the issue.
Let me know if this works for you.

Different Controller not running.. Codeigniter

I am working on the codeigniter framework to make a cms.During development i.e. running the site on my localhost i had two controllers and both worked fine.But now that I have uploaded it to a server it doesnt run the second Controller..
Someone having any idea regarding this please help!!
If your page shows blank page then there might be possibility of php code error
Please try with enabling error reporting on from your index.php at the top level by following code
error_reporting(E_ALL);
ini_set('display_errors',1);
If there is any code error, it will display you error with detail
Hope this will help you

Joomla Admin and Frontend Links not working

i am facing a problem after hacking in my website. All Links redirecting to home page. Any Help ? Shorten URL as http://goo.gl/28FYH
In Admin, No Save, NO CLose Edit, nothing is working. ANy help ?
I have tried all the possibilities like to change in .hataccess, no help from that.
In Joomla 1.5, the links in the backend are managed by JS. Check if all scripts are included properly. You can also open the JS Console of your browser to see what is happening when clicking a link.

Joomla - Component 404 and blank front Page

I am currently running Joomla 1.5, I have moved my site to a new domain and thought I had foloowed the procedure correctly. But now my menus are gone and it seems like articles are not showing up in their proper modules. Other than that the components i was using are now giving me a 404 component not found error. Does anyone know why this is or how I can fix this? Please I really need some help or direction....
Thanks
Here is my link: http://davidjamesmedia.ca
Make sure you check the following things:
Ensure you made the correct database setting changes in the configuration.php
Ensure you server is running PHP 5.2+
Make sure your MySQL version is arounf 5.0+ but also not too high such as 5.5.24 this can cause some problems with depreciated functions.
Also make sure your server has Apache mod_rewrite extension installed if you were using SEF before else you can turn SEF off in the configuration.php

xajax and codeigniter - blank page and xajax request URI error

I am unfortunately getting a blank page when trying to run a site locally. There are other people running it locally just fine, so I am wondering if it could be something to do with my LAMP environment.
When I attempt to load the site, it's nothing but a blank page. I've ran php index.php in console and the error I get is the following "xajax Error: xajax failed to automatically identify your Request URI.Please set the Request URI explicitly when you instantiate the xajax object.". I'm not quite sure how to handle this in CodeIgniter and or at all to be honest.
I think it's a problem with LAMP configuration: check codeigniter folder permissions (add write permission to "logs" folder.
Thanks for your answer. I actually figured out what the problem was, it was like you said a problem with my LAMP configuration. Unfortunately XAMPP (which is what I am using and or was), the newest version uses PHP 5.3. Xajax doesn't support PHP 5.3 and this was causing the problems. After I went to an older version all was well!

Resources