David Hunter - LAS
Forum Replies Created
-
Forum: Plugins
In reply to: [WPtouch - Make your WordPress Website Mobile-Friendly] Products not showingHi Amina,
I’m having the exact same issue. Have you been able to resolve this problem? If so, could you please share how you fixed it?
Thanks in advance. ??
DavidI’m currently having the exact same issue as biminico – I get emailed to say there was a cancelled order, and in the checkout the user gets the error ‘An error occurred while processing your PayPal payment. Please contact the store owner for assistance.’
The PayPal payment isn’t actually made, and so my issue is slightly different to Georgey B’s (as described in the OP).
I’m running a brand-new installation of WooCommerce and have the PayPal and PayPal Express options enabled, but no other payment methods. The users get the same error using either PayPal or PayPal Express.
(My site is thankfully not live at the moment, but I would like to start sales in a few days…)
I have tried using a few separate WooCommerce PayPal plugins, but none worked…
I have just installed the ‘WooCommerce PayPal Powered by Braintree Gateway’ plugin and have just gone through the lengthy process of signing up for a Braintree account… hopefully that’ll work once the account is approved…
I would appreciate any suggestions people may have for getting PayPal to work.
Got it. A friend helped me with the issue.
For anyone wondering, here’s the header.php file that removes the static image and replaces it with the Slider…
<?php /** * Header template for the theme * * Displays all of the <head> section and everything up till <div id="main">. * * @package WordPress * @subpackage Twenty_Eleven * @since Twenty Eleven 1.0 */ ?><!DOCTYPE html> <!--[if IE 6]> <html id="ie6" <?php language_attributes(); ?>> <![endif]--> <!--[if IE 7]> <html id="ie7" <?php language_attributes(); ?>> <![endif]--> <!--[if IE 8]> <html id="ie8" <?php language_attributes(); ?>> <![endif]--> <!--[if !(IE 6) | !(IE 7) | !(IE 8) ]><!--> <html <?php language_attributes(); ?>> <!--<![endif]--> <head> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <meta name="viewport" content="width=device-width" /> <title><?php // Print the <title> tag based on what is being viewed. global $page, $paged; wp_title( '|', true, 'right' ); // Add the blog name. bloginfo( 'name' ); // Add the blog description for the home/front page. $site_description = get_bloginfo( 'description', 'display' ); if ( $site_description && ( is_home() || is_front_page() ) ) echo " | $site_description"; // Add a page number if necessary: if ( $paged >= 2 || $page >= 2 ) echo ' | ' . sprintf( __( 'Page %s', 'twentyeleven' ), max( $paged, $page ) ); ?></title> <link rel="profile" href="https://gmpg.org/xfn/11" /> <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" /> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> <!--[if lt IE 9]> <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script> <![endif]--> <?php /* * We add some JavaScript to pages with the comment form * to support sites with threaded comments (when in use). */ if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); /* * Always have wp_head() just before the closing </head> * tag of your theme, or you will break many plugins, which * generally use this hook to add elements to <head> such * as styles, scripts, and meta tags. */ wp_head(); ?> </head> <body <?php body_class(); ?>> <div id="page" class="hfeed"> <header id="branding" role="banner"> <hgroup> <h1 id="site-title"><span><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span></h1> <h2 id="site-description"><?php bloginfo( 'description' ); ?></h2> </hgroup> <?php // Check to see if the header image has been removed $header_image = get_header_image(); if ( $header_image ) : // Compatibility with versions of WordPress prior to 3.4. if ( function_exists( 'get_custom_header' ) ) { /* * We need to figure out what the minimum width should be for our featured image. * This result would be the suggested width if the theme were to implement flexible widths. */ $header_image_width = get_theme_support( 'custom-header', 'width' ); } else { $header_image_width = HEADER_IMAGE_WIDTH; } ?> <a href="<?php echo esc_url( home_url( '/' ) ); ?>"> <?php /* * The header image. * Check if this is a post or page, if it has a thumbnail, and if it's a big one */ if ( is_singular() && has_post_thumbnail( $post->ID ) && ( /* $src, $width, $height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), array( $header_image_width, $header_image_width ) ) ) && $image[1] >= $header_image_width ) : // Houston, we have a new header image! echo get_the_post_thumbnail( $post->ID, 'post-thumbnail' ); else : // Compatibility with versions of WordPress prior to 3.4. if ( function_exists( 'get_custom_header' ) ) { $header_image_width = get_custom_header()->width; $header_image_height = get_custom_header()->height; } else { $header_image_width = HEADER_IMAGE_WIDTH; $header_image_height = HEADER_IMAGE_HEIGHT; } ?> <?php wd_slider(1); ?> <?php endif; // end check for featured image or standard header ?> </a> <?php endif; // end check for removed header image ?> <?php // Has the text been hidden? if ( 'blank' == get_header_textcolor() ) : ?> <div class="only-search<?php if ( $header_image ) : ?> with-image<?php endif; ?>"> <?php get_search_form(); ?> </div> <?php else : ?> <?php get_search_form(); ?> <?php endif; ?> <nav id="access" role="navigation"> <h3 class="assistive-text"><?php _e( 'Main menu', 'twentyeleven' ); ?></h3> <?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff. */ ?> <div class="skip-link"><a class="assistive-text" href="#content" title="<?php esc_attr_e( 'Skip to primary content', 'twentyeleven' ); ?>"><?php _e( 'Skip to primary content', 'twentyeleven' ); ?></a></div> <div class="skip-link"><a class="assistive-text" href="#secondary" title="<?php esc_attr_e( 'Skip to secondary content', 'twentyeleven' ); ?>"><?php _e( 'Skip to secondary content', 'twentyeleven' ); ?></a></div> <?php /* Our navigation menu. If one isn't filled out, wp_nav_menu falls back to wp_page_menu. The menu assigned to the primary location is the one used. If one isn't assigned, the menu with the lowest ID is used. */ ?> <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?> </nav><!-- #access --> </header><!-- #branding --> <div id="main">
Compare this with the code in the original post to see what I changed. ??
Forum: Fixing WordPress
In reply to: Redirect loop upon installing SSL certificate on Bluehost(Marking this topic as resolved; many thanks again!)
Forum: Fixing WordPress
In reply to: Redirect loop upon installing SSL certificate on BluehostYup, simply changing the URLs in WP’s Settings > General solved that issue entirely, from what I can gather. Perfect!
Thanks very much for your advice. I appreciate your’s and wphostonline’s time. ??
Forum: Fixing WordPress
In reply to: Redirect loop upon installing SSL certificate on BluehostThanks, Shortstraw8. The instructions in that link fixed my problems 1 and 2 completely.
However, I still need to enable HTTPS for the /astro/ subdomain.
Using the instructions you provided, my root folder .htaccess file now looks like this:
# Use PHP5.4 Single php.ini as default AddHandler application/x-httpd-php54s .php # Changed PHP handler from application/x-httpd-php54s to application/x-httpd-phpbetas on Thu Dec 17 15:20:02 MST 2015. # Custom subdomain .htaccess SSL + WordPress RewriteEngine On RewriteCond %{HTTP_HOST} ^blog.huntergeophysics.com$ RewriteCond %{REQUEST_URI} !^/blog/ RewriteRule ^(.*)$ /blog/$1 RewriteCond %{HTTP_HOST} ^blog.huntergeophysics.com$ RewriteRule ^(/)?$ blog/index.php [L] # End custom subdomain .htaccess
So I tried to add a new section to that file as follows in order to get /astro/ to use HTTPS as well:
# Custom subdomain .htaccess SSL + WordPress RewriteEngine On RewriteCond %{HTTP_HOST} ^astro.huntergeophysics.com$ RewriteCond %{REQUEST_URI} !^/astro/ RewriteRule ^(.*)$ /astro/$1 RewriteCond %{HTTP_HOST} ^astro.huntergeophysics.com$ RewriteRule ^(/)?$ astro/index.php [L] # End custom subdomain .htaccess
While the /astro/ installation still loads fine, it only loads in HTTP, not HTTPS.
Could you recommend a way of getting this separate subdomain to load in HTTPS please?Thank you again for your help getting my main /blog/ installation up and running, which was my highest priority. ??
David.
Forum: Fixing WordPress
In reply to: Redirect loop upon installing SSL certificate on BluehostOk, I’m back online now.
Do you have any other suggestions please?Thanks again.
Forum: Fixing WordPress
In reply to: Redirect loop upon installing SSL certificate on BluehostSorry, but it’s almost 3am here, so I’m heading to bed. Thank you for all your help this evening, and hopefully I’ll talk with you further once I awake tomorrow.
Thank you again. ??
DaveForum: Fixing WordPress
In reply to: Redirect loop upon installing SSL certificate on BluehostOk. I have recreated the subdomain. It didn’t ask for http/https, only the directory. Still not working, sadly.
Forum: Fixing WordPress
In reply to: Redirect loop upon installing SSL certificate on BluehostShould I remove the subdomain and recreate it in case some settings somewhere aren’t working? Or will this irreparably break the website?
Forum: Fixing WordPress
In reply to: Redirect loop upon installing SSL certificate on BluehostAh ok. Well I checked the Bluehost CP subdomain area and it shows that the blog subdomain is pointed at the correct directory…
Here’s a screenshot of my subdomain list: https://dl.dropboxusercontent.com/u/4446393/Screen%20Shot%202016-01-07%20at%202.01.26%20AM.png
Thank you again for your advice.
Forum: Fixing WordPress
In reply to: Redirect loop upon installing SSL certificate on BluehostSorry, but that hasn’t fixed the first issue… it’s still displaying erroneously on all of my devices.
And the link you sent is to an article that explains how to create a subdomain. I don’t need to do that…
Forum: Fixing WordPress
In reply to: Redirect loop upon installing SSL certificate on BluehostThank you; I added those two lines to the end of the file and tested the main blog page and its admin area. Sadly, nothing has changed.
Forum: Fixing WordPress
In reply to: Redirect loop upon installing SSL certificate on BluehostHello. Yes, Bluehost has two options – one for the domain and one that covers the domain and all subdomains. I chose the option that covers all subdomains.
Thanks for the thought, though. ??
Forum: Plugins
In reply to: [Bulk Password Reset] Major issue after password resetNevermind. This issue has since been resolved thanks to assistance from the general WordPress support forum.