Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
File Uploader - No 'Add File' button
Avatar
Kevin Downing
Member
sp_UserOfflineSmall Offline
Aug 11, 2013 - 6:23 pm

I have the upload attachments button but when I click on it I get a list of what is allowed and what is not but I don't see any "Add File" button or any other way to attach files.file-upload.pngImage Enlarger

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 11, 2013 - 11:14 pm

sounds like a js conflict or error...  see:  http://codex.simple-press.com/.....-conflict/

but with a link instead of image, we can more easily offer suggestions...

No caching plugins, right? 

Avatar
Kevin Downing
Member
sp_UserOfflineSmall Offline
Aug 11, 2013 - 11:37 pm

The forum is found at http://www.guitar.co.nz/forum

No I don't have any caching plugins

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 12, 2013 - 1:02 am

The answer was in the link I gave you... you have a theme or plugin doing this:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script>

That is an ancient version of jquery and will conflict with the wp jquery or other themes/plugins expecting the version of jquery (1.10.2) that comes with wp....

so if you can find where thats being done, we can help you correct the other theme or plugin...

Avatar
Kevin Downing
Member
sp_UserOfflineSmall Offline
Aug 18, 2013 - 1:58 am

I found it. Sorry for the late response but I needed to set aside some time to look in to this properly and have only just been able to make that time.

It's in the header.php file. So what should I replace it with? This goes a little over my head and the person who created the site "made" her own theme and I know she would have done that from tutorials. I'm just picking up the pieces. Talk about getting thrown in at the deep end.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 18, 2013 - 2:21 am

typically, replace it with

<?php wp_enqueue_scripts('jquery'); ?>

that will load the wp version instead...  please note, I assumed you were entering the replace in an html area of the code, not php...

also, that version of jquery that was being loaded is years old...  things should work fine after loading the wp 1.10 version... but just check...

Avatar
Kevin Downing
Member
sp_UserOfflineSmall Offline
Aug 18, 2013 - 2:35 pm

OK so I got that code in there now, replacing what was there. Your assumption regarding entering it in a html area was correct so, copied and pasted as you had it with the php tags.

However the issue as per my original post still remains. So what else could be causing it?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 18, 2013 - 4:31 pm

The scripts are looking good as far as I can see. But... you do have other issues with that WordPress theme.

EVERY WP theme is supposed to call a function in the footer - wp_footer(). It is mandatory but your theme is not making it.

I would check out the footer.php template file in say the WP default theme and find out where it shoud be added. Basically before the closing 'body' tag.... Buit of lost then try this if outsdie a php section just before the closing body:

<?php wp_footer(); ?>

and then see what we have...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Kevin Downing
Member
sp_UserOfflineSmall Offline
Aug 18, 2013 - 6:31 pm

Thank you.

That did the trick. This topic can be marked as resolved.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 18, 2013 - 9:15 pm

good to hear.  thanks for the update.

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: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625