Support Forum

Some other issues on my forums

41 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

White screening is usually just caused by a fatal error and php stops processing. Maybe a syntax error? The error log should tell you.

MP Mr Papa
Mr Papa
Member

actually, looks like a missing parenthesis in the code I gave you… try:

wp_enqueue_script('jquery-ui', false, array('bootstrap6'), '', true)
XD xDave
xDave
Member

Okay seems to work at first glance. But no improvement with the uploader plugin yet.

MP Mr Papa
Mr Papa
Member

I dont see the change???  still seeing:

<script type=’text/javascript’ src=’http://teso.trollpit.de/wp-content/themes/oblivion/js/jquery-ui-1.10.3.custom.min.js?ver=3.8.2′></script>

so lets walk through the change again…  did you replace:

wp_register_script( 'custom_js2',  get_template_directory_uri().'/js/jquery-ui-1.10.3.custom.min.js','','',true);
wp_enqueue_script('custom_js2');

with

wp_enqueue_script('jquery-ui', false, array('bootstrap6'), '', true);

the goal being to load the desired wp jquery ui instead of the theme version which may be conficting…

XD xDave
xDave
Member

Oh sorry forgot quoting it out. But when I do the “Reply” Button in SP does not work it seems.

 

//wp_register_script( ‘custom_js2′,  get_template_directory_uri().’/js/jquery-ui-1.10.3.custom.min.js’,”,”,true);//wp_enqueue_script(‘custom_js2’);wp_enqueue_script(‘jquery-ui’, false, array(‘bootstrap6’), ”, true);

So I reverted it..

MP Mr Papa
Mr Papa
Member

couple things… really should be:

wp_enqueue_script('jquery-ui-core', false, array('bootstrap6'), '', true);

second, if it doesnt break anything, can you leave it so we can continue trying to resolve? hard to take to next step if  you keep reverting… of course, understand if it breaks something… ;)

XD xDave
xDave
Member

Same problem with that either: the reply button in SP then has no function.

//wp_register_script( 'custom_js2',  get_template_directory_uri().'/js/jquery-ui-1.10.3.custom.min.js','','',true);
//wp_enqueue_script('custom_js2');
wp_enqueue_script('jquery-ui-core', false, array('bootstrap6'), '', true);
YS Yellow Swordfish
Yellow Swordfish
Member

This is not really going anywhere is it? If the theme authors can not be bothered to correct their own issues then I am wiling to take a look at it. Send me the whole theme zipped up and I will see if I can do anything with it.

XD xDave
xDave
Member

I gave the guys from the theme a test login a few days ago but still no info…

Will send it to you by PM (but don´t tell anybody ;) )

MP Mr Papa
Mr Papa
Member

dont recall the other login info before, but we are a bit distracted at moment… 😉  wp is set to release wp 3.9 next week and we are trying to put finish touches and test everything for our 5.4.2 release to follow…

I see this pm with the link to the theme Andy requested…

YS Yellow Swordfish
Yellow Swordfish
Member

Ok – sorry. I have taken a look at this last night and this is going to involve more than I am comfortable with or want to take on.

The issues start with the jQuery UI Core library. Your theme is supplying it’s own version instead of using the standard WordPress supplied one. It has been renamed to include the word ‘custom’ which makes me think it has had code changed. If you swap this out for the proper version then errors start to pop up all over the place suggesting that they have indeed, altered the standard library. So there is a bot of a cascade of problems with that theme.

And this is all before the problem with the non-supported Bootstrap is dealt with. It was worth a look bit needs more work that just a few calls moved around.