Tips and Tricks HQ Support Portal › Forums › Simple PayPal Shopping Cart › Simple shopping Cart Troubleshooting › Buttons not displaying
- This topic has 6 replies, 2 voices, and was last updated 14 years, 11 months ago by Lucy.
-
AuthorPosts
-
December 23, 2009 at 5:15 pm #594LucyMember
The PP Simple Shopping cart seems to be working but the button (checkout, delete, etc.) images don’t display. I know they are in there.
The code says:
$output .= ‘<input type=”image” src=”‘.WP_CART_URL.’/images/paypal_checkout.png” name=”submit” class=”wp_cart_checkout_button” alt=”Make payments with PayPal – it’s fast, free and secure!” />’;
It’s trying to call a URL like this: (I replaced some content with () for privacy reasons – its not in parentheses though)
http://(domain.com)/content/wp-content/plugins/services/webpages/util/2/t/(my host URL)/(domain.com)/public/content/wordpress-content/plugins/wordpress-simple-paypal-shopping-cart/images/paypal_checkout.png
The URL image is:
When I pasted in the exact image path like a regular IMG SRC = tag, it worked. But this is not a good long term solution. Suggestions?
December 23, 2009 at 8:45 pm #16900amin007ParticipantHi Lucy, obviously it’s not finding the image at the location that was specified so we need to fix that.
Can you check your HTML of the Cart (not from the code, check it from the browser) to see what URL it’s using for the image?
Are you using any caching plugin?
December 27, 2009 at 1:31 am #16901LucyMemberHi and thanks for getting back to me!
Code for shopping cart icon looks like this
When you enter that URL alone in the browser window, it does not work.
I don’t have a caching plugin. I have very few plugins and it’s a new installation.
Thanks again!
-Laura
December 27, 2009 at 2:49 am #16902amin007ParticipantI am not sure what sort of setup you have for you WordPress but there is definitely something going screwy. I tried to access your “wp-content” folder:
and both of them gives 404 error.
” class=”bbcode_url”>
and both of them gives 404 error.
December 27, 2009 at 5:16 pm #16903LucyMemberYou’re right – there is something odd. My other wordpress installations use wp-content but for some reason this one uses wordpress-content. I used the hosts’ installation. This probably explains why my automatic plugin upgrades don’t work.
Wonder why it’s like that? I am going to contact the host.
December 28, 2009 at 2:41 am #16904LucyMemberOh yes – I discovered that when you install WP from their control panel it has a totally non-standard installation and it messes things up. Gosh you’d think they’d know better. I am uninstalling and reinstalling manually. Mod, would you be so kind as to delete my URLs listed above? I can’t see how to edit my own post. Thanks.
December 28, 2009 at 3:21 pm #16905LucyMemberOh great. I did a total reinstall and now shortcodes don’t work correctly, for this plugin or for any other. The images however show up.
The image issue definitely was due to installing WP from the hosts’ control panel. I have learned my lesson and will install WP by hand from now on.
I am going to start another thread on the shortcodes.
-
AuthorPosts
- You must be logged in to reply to this topic.