Support Forum

I cant get images to upload

MW Marc Wright
Marc Wright
Member

Hi, when doing a topic and i want to upload an image, i click on attachment, select a file, i see it in the upload box, but it does not allow me to “start the upload” All my settings on size of file are set to unlimited. Pls help. Thanks

19 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Does the ‘Start Upload’ look like text or does it look like an actual button?

IF it looks like a button then there is probably a script conflict of some sort that needs to be resolved.

IF it does NOT look like a button the likelihood is that your WP theme is loading the ‘Bootstrap’ javascript library and this is not compatible with the jQuery UI library that is used by WordPress – and hence Simple:Press, in that it stomps all over it.

If the latter then this can be fixed but the key is forcing the Bootstrap library to be loaded before the jQuery UI library. But the first thing is to find out which issue it is…

MW Marc Wright
Marc Wright
Member

Hi, thanks. It does not look like a button. Just words. How can i fix this. I dont know much about coding.

MW Marc Wright
Marc Wright
Member

I loaded another them and it is also not working. How can i fix this…… Please im quiet desperate

MW Marc Wright
Marc Wright
Member

Can anyone help me with this issue i am having, i cant upload files, it is becoming frustrating now… the ‘Start Upload’ looks like text and not like an actual button?

YS Yellow Swordfish
Yellow Swordfish
Member

The next step is to ensure that the ‘bootstrap’ library is the culprit. You will need to view the html source – usually on a tool menu of the browser – or something like that – and usually called ‘view source’. Load the page, click on the view source menu option and then perform a search for the term ‘bootstrap’.

If you find it being loaded then what I would really advise is that you shout at the theme author and ask them to stick to the tools that WordPress provides. But as this probably will not achieve anything and doesn’t help you anyway then a way has to be found to deal with it. There is NOT an easy answer. But let’s deal with that if we know that Bootstrap is the issue.

YS Yellow Swordfish
Yellow Swordfish
Member

Just as an added comment can you please stop sending emails and private messages., They are not going to help and just waste my time. THIS is the place to talk about the issue. And we can not progress that until we know the answer to the question I have asked above.

If this IS a case of using the Bootstrap library as I suspect – and await to hear from you about – then remember that it is the theme author who is not abiding by the rules – not Simple:Press.

Now – please see if we can find the problem and just discuss this here for a while.

MW Marc Wright
Marc Wright
Member

Thank you.

 

I will check now..

Also can you give me some free WP themes work with Simple:Press with out any problems. 

 

Your help is much appreciated

MW Marc Wright
Marc Wright
Member

Hi, i did find bootstap … i pasted the code, i hope this is what you need to know.

<link rel=’stylesheet’ id=’bootstrap-css’ href=’http://sa-punters.co.za/wp-content/plugins/easy-bootstrap-shortcodes/styles/bootstrap.css?ver=3.6.1‘ type=’text/css’ media=’all’ />
  <link rel=’stylesheet’ id=’tcp-loop-css’ href=’http://sa-punters.co.za/wp-content/themes/boot-store/css/tcp_loop.css?ver=3.6.1‘ type=’text/css’ media=’all’ />
  <link rel=’stylesheet’ id=’bre-style-css’ href=’http://sa-punters.co.za/wp-content/themes/boot-store/style.css?ver=3.6.1‘ type=’text/css’ media=’all’ />
YS Yellow Swordfish
Yellow Swordfish
Member

need to talk to colleagues here:

Steve: Was it the JS file that needed moving or the CSS file? I can’t remember. and what will be need? This guys theme functions file?

Marc: I can’t really recommend any particular themes. Most are OK. So called ‘premium’ themes often seem the worse. Any theme that tries to be too clever can often be badly constructed. Obviously the WP themes are good and I know Steve here is very fond of Genesis and its themes.

MP Mr Papa
Mr Papa
Member

so yeah, just need to make sure that bootstrap.js is loaded BEFORE the wp jquery ui js is loaded other wise bootstrap stomps on the jquey ui…

so find where the bootstrap.js is loaded (hopefully its registered/enqueued)…and jquery ui…  you will likely need to deregister jquery ui and then reregister it with a dependency on bootstrap.js to make sure bootstrap is loaded first…

worth adding that wp is considering adding in bootstrap in 3.7 or 3.8 which would fix the mess caused by themes using something that stomps on a wp included js library.  They can get away with it on many sites because jquery ui is used by wp in the admin only so generally no conflict…  but feature rich plugins that use jquery ui on front end like simple press will have problems…

MW Marc Wright
Marc Wright
Member

Thanks guys, how do i repair this? Just remember i dont know much about coding.embarassed

MW Marc Wright
Marc Wright
Member

Hi again,

 

Also i have loaded different themes.. and it still does the same

YS Yellow Swordfish
Yellow Swordfish
Member

So do ALL of these themes you are trying use the Bootstrap library? We have come across a small few but not that many. This is an important question. Are you by any chance trying multiple themes form the same source? And for the record – if you use the WordPress default theme does that enable the uploader to work as it should?

As to a fix… well this is where it can get tricky. The first thing is to find out where in the code it is being loaded. When we have that – and hoping that it uses the proper and correct WordPress API (functions) to load components – then we can usually suggest a fix. But we can’t see your theme source code and there is no way of knowing from the generated source.

Most commonly we would expect scripts to be loaded in the themes functions.php file and if done properly it would use  statement like wp_enqueue_script() with bootstrap.js or maybe bootstrap.min.js or some such construct as the parameter.