Posted: August 17, 2015 at 5:55 am
|
Hi, Can someone confirm whether this shortcode has to be inserted onto the registration-checkout page please? – {{mj-checkout-form}} Should the ‘edit slurp page’ from the payment settings be blank? – http://screencast.com/t/L6g8ccPQaBH The styling is currently not working correctly, but I think the above will point us in the right direction. Thanks. |
Hi Beverly, No the code should not be used on the registration checkout page and the ‘edit slurp page’ link should also not be blank. Can you temporarily enable WP_DEBUG and reload the slur page from that link, does it show any errors? |
|
|
Thanks Tony, These are the 2 errors that appear. “Warning: Missing argument 2 for Mailchimp::call(), called in /home2/bhwc1916/public_html/example/wp-content/themes/Divi/functions.php on line 8409 and defined in /home2/bhwc1916/public_html/example/wp-content/plugins/exchange-addon-mailchimp/lib/mailchimp-api/Mailchimp.php on line 226 Warning: Cannot modify header information – headers already sent by (output started at /home2/bhwc1916/public_html/example/wp-content/plugins/exchange-addon-mailchimp/lib/mailchimp-api/Mailchimp.php:226) in /home2/bhwc1916/public_html/example/wp-includes/pluggable.php on line 1196” I’ve deactivated the plugin ‘Exchange Add On’, and then retested the slurp page, and again it shows the page is blank. Any ideas Tony? |
If you go to Dashboard -> Pages. Can you find a page called ‘Mijireh Slurping Page’? If so if you edit that page does it show blank? |
|
|
There is no ‘Mijireh Slurping Page’ in the Pages area. Nothing in trashed. If the page is not appearing, what does that mean now? The site is currently de-indexed from search engines while we get testing completed, prior to launching the site. Thanks. |
That’s odd. Do you currently have the {{mj-checkout-form}} shortcode anywhere within the site? |
|
|
No, no shortcode anywhere on the site. Is this a theme issue? |
It shouldn’t be, I have a test site running Divi and it works fine there. Can you create a new Page, you can call it anything but try ‘Mijireh Slurper’ just so we can find it easily. Within that page add only {{mj-checkout-form}} within the content (do this within Text mode) Publish that page. Now go back to Event Espresso -> Payment Methods -> Mijireh. Click the edit slurp page link again, does it now load that ‘Mijireh Slurper’ page? |
|
|
Still a blank page Tony. It starts to use the edit slurp page link ending “page=true”, and then it ends up at this URL ending ‘/wp-admin/post.php?post=1819&action=edit’ If I view the page directly that I’ve just created, this is the view – http://screencast.com/t/5HKx8gz0X Any ideas? |
Yeah, so its finding the page but then fails when loading it to edit. Can you try switching the theme to see if it is a theme conflict, you can do this without changing the theme on the site using the Theme Test Drive plugin. It could also be a plugin conflict, but the theme is the easiest to try first. Have you modified EE at all? |
|
|
Tried the theme test drive, and no different using the WP 2015 default theme. I’ve deactivating all of the plugins apart from EE, and I’m still getting the same process where the slurp goes to find the right page, and then stops and goes to a blank page. What can we test next? |
Can you send me temporary log in details so I can take a look at this please? If so please use this form: |
|
|
Thanks Tony, the login details have now been provided. Thanks. |
I can’t see any reason for the above and have requested some feedback from our developers. Firstly to quickly explain what happens when you click the Edit Slurp Page link, EE checks your posts for one that contains the {{mj-checkout-form}} shortcode, if it finds one returns true and passes the ID of that post (that’s what is happening when you see the “page=true” as part of the address) Then it simply edits that post/page as normal (same as when you click to edit a page) the reason you get a blank page is the page with ID 1819 doesn’t appear to exist, yet when EE is searching for the posts it finds that ID (using wpdb) If one wasn’t found it creates the page and send you to it. So you can currently use the ‘Mijireh Slurper’ page that we created earlier. If you edit that page and scroll down, you’ll find the Mijireh meta box with a link to slur the page. So style that page the way you want to then slur the page to pull those styles to your Mijireh checkout page. I suspect either you have Database/Object caching enabled on the server which is passing EE the 1819 ID for the Mijireh page. I checked your plugin drop-ins and found – http://take.ms/d5eUm That’s usually object or database caching. You’ll need to contact your host to confirm this as it will cause further problems within EE with your registrations. |
|
|
Thanks Tony, I’ve disabled that file advanced-cache.php. When I slurp the page through Mijireh, it does give out this message; There was a problem slurping these assets: Does that have anything to do with it? What is the best way to style the mijireh .CSS? I’ve just added these url’s to purge the cache in CloudFlare (https://eventespresso.com/wiki/setup-nocache-exclusion-rules-event-espresso/) as I thought that maybe the issue, but that hasn’t made a change. Thanks. |
Hi, that is a core WP file: https://codex.wordpress.org/XML-RPC_Support Who are you using for hosting the site? Also, Mijireh creates a copy of the registration checkout page through the slurp process which then resides on a Mijireh server when the payment process is activated. It doesn’t support new styling unless you were to make changes to the page and them slurp the page again. — |
|
|
HostGator is our host, and then we’re using CloudFlare as the CDN, but the EE critical pages are purged in the cache. Are you saying there should still be a Mijireh page on the site, or this only exists on the Mijireh server after it does the slurp process? |
Does Cloudflare use the advanced-cache.php drop in or is there something else using it? |
|
|
No, we think that was an old file, advanced-cache.php is now deactivated. |
You will have a ‘Slurp’ page on the site, but it is only used when you click to Slurp the page. Mijireh slurping the page just means they copy the style of the page onto their server to make the checkout look the same. So you have ‘Mijireh Slurper’ you style it to look similar to the rest of the site and click to slurp. Mijireh loads the page, copies and saves it on their server, then adds the checkout content to the page they have saved. The ‘Mijireh Slurper’ page is NOT used with the checkout process, it is only used to tell Mijireh which page it should copy. A 403 on xmlrpc.php usually means access is being block by either a security plugin or .htaccess rules (maybe setup by HostGator) you may need to contact HostGator and have them investigate this. Do you need xmlrpc? Is Mijireh not slurping the page at all? |
|
|
Thanks for that explanation Tony, I have re-slurped the Mijireh page that we created, and the problems slurping are these assets; I’ve tried making the page Secure, and reslurped, but no difference. Mijireh mentions a separate CSS file, what do we have to do to getting the styling correct?
Thanks. |
How has the .css file been included within the theme? Was it correctly enqueued using wp_enqueue_style()? |
|
|
Thanks Tony, Got it working now! `https://secure.mijireh.com/checkout/2b5f72d040fa521cb9840c9e’ The only thing left is to style the header title, so it looks like this – http://example.bhwclub.org/mijireh-slurper/ |
I’m not sure why the header isn’t being styled. It could an issue with how the theme is styling the header, or something about how it is doing so that Mijireh doesn’t like. I would recommend contacting Mijireh support see if they can find any reason for this as it isn’t an issue with Event Espresso but the sites theme and Mijireh. |
|
|
Thanks Tony, It appears there is quite a delay for Mijireh’s cache to update. We now have it near enough perfect, apart from a small gap above, but I think this is because of the small red triangle in the corner which is to signify its a ‘preview’. Hopefully this should disappear during testing. Thanks for your help! 🙂 |
I’m glad its up and running. Sometimes there is a delay with Mijireh updating the slurped page, I’m not sure of the reason behind it. Its possible they may block multiple requests within a certain time frame, or even each requests adds to a timer before the update, however that is complete guess work as its not something we (EE) control. Any other problems just let us know 🙂 |
|
The support post ‘Mijireh Slurp Page EE4’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.