A A A

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Never gets past "loading"
Jul 15, 2010
5:14 am
Snake_mmofocus
Guest

Sorry my bad. It´s ofcourse the latest version 4.3.1

A fix to my theme is a hard task for me since i do know very little of php and css. The theme i am using is both xhtml and css validated, but i supose it does not mean there is no errors left?

Gosh this was bad news. Never had any problems with the old version of simple press forum. :(

P.S.

Did check footer.php and wp_footer() is there as it should be.

D.S.

Followed the linked instructions about the "Error Console in the Firefox", but it did not report a single error from my site.

Jul 15, 2010
5:50 am

SP Master
Forum Posts: 22223
Member Since:
Nov 9, 2008
Online

That was my favourite but I can see it is not the issue.

More likely the issue is that your theme is loading a copy of the jQuery library that it has supplied instead of using the one supplied by WP – which it should be using. This is also an older version (1.3.2) whereas WP3.0 supplie and uses version 1.4.2. The one supplied with your theme is also a 'minimal' version so may not have everything other plugins need.

Why theme authors do ths sort of thing I have no idea but it causes endless problems for their users.

One of the worries about changng that is if anything else the theme supplies is totally dependent upon that version. jQuery does change from version to version of course. This is probably doubtful but the theme author should know.

I also must add that ths might not be the SP problem at all but it is, at the very least, masking the problem if not actually causing it.

My recommendation – as always – is to request the theme author fixes it to properly 'enqueue' the WP supplied jQuery library checking on any dependencies they may have coded in. Then we can look at what might be the problem with SP.

Yellow Swordfish
Jul 15, 2010
7:24 am
Snake_mmofocus
Guest

Would it help you if i attached the jquery files in a email to you?

Jul 15, 2010
8:23 am

SP Master
Forum Posts: 22223
Member Since:
Nov 9, 2008
Online

No please don't. I have them all anyway.

Yellow Swordfish
Jul 16, 2010
2:21 am
Snake_mmofocus
Guest

So if i understand you correctly, you can not help me before the theme author fixes the theme to use the WP supplied jQuery
library?

The theme author on the other hand, say something similar which means nothing will happen. :(

Jul 16, 2010
5:15 am

SP Master
Forum Posts: 22223
Member Since:
Nov 9, 2008
Online

What did the theme author say exactly?

Find your theme header.php. That is the most likely place to look but if your theme has a functions.php you may need to look in there as well.

Please don't just paste all of your code for me to look at. Look yourself. You are lookng for a reference to jquery.js. When you find it, copy the line of code and post it here for me to look at.

Yellow Swordfish
Jul 16, 2010
6:03 am
Snake_mmofocus
Guest

I found the JQuery references in Function.php:

// wp_enqueue_script('jquery', 'http://ajax.googleapis.com/aja…..n.js', false, '1.3.2');

        wp_enqueue_script('jquery', get_bloginfo('template_url').'/js/jquery-1.3.2.min.js', false, '1.3.2');

        wp_enqueue_script('jquery-cookie', get_bloginfo('template_url').'/js/jcookie.js', true, '0.1');

        wp_enqueue_script('jquery-carousel', get_bloginfo('template_url').'/js/jcarousellite.js', true, '1.0.1');

        wp_enqueue_script('jquery-superfish', get_bloginfo('template_url').'/js/superfish.js', true, '1.0');

        wp_enqueue_script('jquery-global', get_bloginfo('template_url').'/js/global.js', true, '1.0');

        wp_enqueue_script('loopedslider', get_bloginfo('template_url').'/js/loopedslider.js', true, '0.5.6');

        wp_enqueue_script('scrolltopcontrol', get_bloginfo('template_url').'/js/scrolltopcontrol.js', true, '1.1');

        if ( is_singular() && get_option('thread_comments') ) wp_enqueue_script( 'comment-reply' );

    }

Thanks for helping!

Jul 16, 2010
8:51 am

SP Master
Forum Posts: 22223
Member Since:
Nov 9, 2008
Online

Well we may have to take this one step at a time. I would start with changing:

wp_enqueue_script('jquery',get_bloginfo('template_url').'/js/jquery-1.3.2.min.js', false, '1.3.2');

to

//wp_enqueue_script('jquery',get_bloginfo('template_url').'/js/jquery-1.3.2.min.js', false, '1.3.2');
wp_enqueue_script('jquery');

and see what happens…

Yellow Swordfish
Jul 16, 2010
9:16 am
Snake_mmofocus
Guest

I had to go back to the original function.php code, because after trying your example i got a blank screen and following error message:

Parse error: syntax error, unexpected ',' in /home/mmofocus/public_html/wp-content/themes/weekly_1.0.3/functions.php
on line 116

Jul 16, 2010
9:35 am

SP Master
Forum Posts: 22223
Member Since:
Nov 9, 2008
Online

Apologies I don't know what happened there. That's the first time I have seen the syntax highlighter screw up some code. Although I guess it was probably my error.

Anyway – I have corrected it. It just turned that top line into two when it should not have done.

That firs line is already there in your code. You need to comment it out and add the one new line below it.

Yellow Swordfish
Forum Timezone: America/Chicago

Most Users Ever Online: 444

Currently Online: Yellow Swordfish, chaiavi, ptomislav, steve.engelking
77 Guest(s)

Currently Browsing this Page:
1 Guest(s)

See All Online Activity

Top Posters:

-Radio-: 1251

Lee H: 606

Luffer: 535

Conrad_Farlow: 502

jim: 478

neon: 263

ovizii: 240

Tal: 240

Member Stats:

Guest Posters: 2625

Members: 7361

Moderators: 1

Admins: 2

Forum Stats:

Groups: 5

Forums: 16

Topics: 10890

Posts: 79543

Moderators: Brandon C (162)

Administrators: Yellow Swordfish (22223), Mr Papa (23688)