Support Forum

Pb with "File uploader"

FD Franck Durand
Franck Durand
Member

Hello, I have an issue with the plugin “File upload”. When I activated it, I can not add topics. The consol error describes the problem:

Tue Apr 17 2012 4:50:22 p.m.
Error: spabupdate is not defined
Source file: https://simple-press.com/wp-content/plugins/simple-press/forum/resources/jscript/sp-forum.js?ver=3.4-beta2-20460
Line: 1

 

Please, help me.

Franck

4 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

That’s a pretty typical error you will get when jQuery has stopped working due to a prior issue, The usual reason is described here: http://codex.simple-press.com/codex/faq/troubleshooting/what-is-this-jquery-conflict/
l
If this is the root of the probem then it is usually pretty easy to fix.

FD Franck Durand
Franck Durand
Member

Thank you for your answer very quick, but i’m new to this area and i don’t know what file to use. I don’t understand what to do. I’m french and it’s complicated for me to understand the steps.

Excuse me for this lack of knowledge.

FD Franck Durand
Franck Durand
Member

Ouf, I have found. I inserted the following code in the file “function.php”
google_jquery function () {
if (! is_admin ()) {
wp_deregister_script (‘jquery’);
wp_register_script (‘jquery’, ‘http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js’, false, ‘1 .5.2’);
wp_enqueue_script (‘jquery’);
}
}
add_action (‘init’, ‘google_jquery’);

And it works. Fixed.

YS Yellow Swordfish
Yellow Swordfish
Member

try and make sure everything else is working as well of course. Come back if there are problems.