Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
sp-api-error.php on line 161
Avatar
Mathew Tan
Member
Free Members
sp_UserOfflineSmall Offline
Nov 5, 2012 - 6:27 pm

Hi there..once again thanks for the kind support so far.
I've downloaded the firebug for firefox as needed and loaded the console.

When I enter the profile page it prompted me this err.

TypeError: $ is not a function

$(window).load(function() {

 

When I clicked on the profile button it still shows the white page and this was error it prompted.

ReferenceError: jQuery is not defined
jQuery(document).ready(function() {

I'm not sure but isn't the () behind function wrong as normally they will have to open and then close a command? 
Anyway help to solve this would be great!!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 5, 2012 - 7:41 pm

confused...  your image about versions seems to be correct... you have old version installed and the updater is telling you newer version are available...

for example... tinymce 1.2 installed... 1.2.1 available... thats newer...  file uploader 1.2.6 installed, 1.2.7 available... again newer...  every plugin in that screenshot shows a newer version available...

as Andy said the notice is really just a nuisance and we fix them as we come across them...

do you have link to site?  sounds like js conflict...

see:  http://codex.simple-press.com/.....-conflict/

Avatar
Mathew Tan
Member
Free Members
sp_UserOfflineSmall Offline
Nov 5, 2012 - 7:50 pm

the site is at sganglers.com/forum

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 5, 2012 - 8:00 pm

couple problems... first your theme is doing bad things from a wp/js perspective...  its loading this

<script type='text/javascript' src='http://sganglers.com/wp-content/themes/table/includes/js/jquery-ui-1.8.5.custom.min.js?ver=1.8.5'></script>

which then appears to be conflicting with the jquery ui that wp itself loads... and the wp version is newer...

see:  http://codex.simple-press.com/.....-conflict/

secondarily, are you running any caching plugins??  your site is throwing errors on the forum page from:

http://d.envolve.com/4088D2A64.....4.cache.js

which is some offsite js file...  do you know what that file is?  and why its loaded?  it could be potentially harmful unless you know what it is... and if you do, why it might be throwing errors...

Avatar
Mathew Tan
Member
Free Members
sp_UserOfflineSmall Offline
Nov 5, 2012 - 8:33 pm

Ok... so for now.. I reckon, I will try to find a suitable theme which means a facelift which im alright.
Yeah I'm running a chat like thingy from evolved which I just installed it tonight.

I will take it down later in abit.  So if I would try to test by loading up a default wordpress theme.. remove the chat to see if the problem still exist.. will do so in abit :)

Thanks!

Avatar
Mathew Tan
Member
Free Members
sp_UserOfflineSmall Offline
Nov 5, 2012 - 8:55 pm

Thanks!! It worked! 

I would now have to find a suitable theme!  Much appreciated!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 5, 2012 - 9:08 pm

np. glad to help. if you like that theme, we can help you correct it to follow wp standards and guidelines...

Avatar
Mathew Tan
Member
Free Members
sp_UserOfflineSmall Offline
Nov 6, 2012 - 12:12 am

I think it's ok for now.. But I'm still having an issue with the TinyEditor which doesnt allow me to type anything in the text area.. 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 6, 2012 - 3:02 am

Yes - that jQuery conflict will kill the editor.

If you can find where it is being loaded in the WP theme we can help you fix it up. I would look in the theme's functions.php file for starters. It probably uses some wp_enqueue_script() calls. If you find them - paste that section of code here and we can help out.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mathew Tan
Member
Free Members
sp_UserOfflineSmall Offline
Nov 6, 2012 - 6:02 am

Noted with thanks.
I was playing around with some plugins and it killed my site.. Non-SP plugins though.
So had to re-install wordpress again LOL!

Thanks I will try to see what I can do about it.  Much appreciated.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625