Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #885092
    kristianl
    Participant

    Hi there,

    I have been working on my site for a few hours now and I keep running into issues where I have used shortcode/custom JS/an element but it doesn’t load in the preview and doesn’t save (it comes up with save confirmation message though).

    I’ve found a few workarounds so far but it becoming increasingly difficult to continue.

    Specific issues are:
    – icon shortcode in text element doesn’t load (then cornerstone doesn’t save)
    – custom JS makes cornerstone not save changes
    – The Grid element doesn’t load (then cornerstone doesn’t save)

    Login details in next comment.

    #885093
    kristianl
    Participant
    This reply has been marked as private.
    #885095
    kristianl
    Participant

    And now I can’t even insert a link.

    #886237
    Rue Nel
    Moderator

    Hello There,

    Thanks for writing in! Cornerstone relies heavily on Javascript. If there are any error generated by a 3rd party plugin or a custom JS code, it could break Cornerstone. I have logged in to your site and test most of the pages. I could not replicate the issue from my end (http://prntscr.com/at6cf9). Would you mind posting in your next reply the custom JS code that you have added or point us to the page you were trying to edit in Cornerstone?

    Thank you.

    #887353
    kristianl
    Participant

    Hi there,

    The page is just the home page, but it is any page in Cornerstone.

    I decided to try a work around and avoid the JS option to simplify things, but even creating a link or using shortcode in the text element cause cornerstone to stop saving.

    You can see in the first image that I have added a link in the text element, then in the second image, after I have clicked Save it still says that changes have not been saved: http://imgur.com/a/3OtKS

    This also happens with shortcode. I enter the shortcode but nothing shows up in the preview and it doesn’t save – please see the following image after clicking save: http://imgur.com/bSVvDSA

    #887536
    kristianl
    Participant

    UPDATE: I have also deactivated all plugins, and the issue is still prevalent.

    UPDATE 2: I have Re-Installed WordPress and the Cornerstone plugin and the issue still persists.

    #887694
    Christian
    Moderator

    Hey there,

    Have you used a caching plugin before and are using CDN?

    Thanks.

    #888187
    kristianl
    Participant

    Nope, it’s a pretty much fresh install. I installed the latest WordPress and the theme on Friday, installed a couple of bundled plugins and contact form 7. No caching plugin or anything. I’ve got 2 other sites on the same server and they both work wonderfully.

    And this afternoon I installed Duplicator to back up what I have done so far in case something happens.

    #888744
    Jade
    Moderator

    Hi Kristian,

    Would you mind temporarily disabling all your third party plugins while we check this further? Also kindly provide us with your FTP details. Thank you.

    #889108
    kristianl
    Participant
    This reply has been marked as private.
    #889882
    Jack
    Keymaster

    Hi there,

    Thanks for the additional information! I’ve checked your install and that is definitely a odd issue. When adding a link to a page and saving in Cornerstone, Cornerstone actually has a 301 on the ajax endpoint and returns the following JSON response.

    success
    	
    	false
    data
    	
    	Object { message="No element data recieved"}
    message
    	
    	"No element data recieved"

    But when saving a page without a link or href, it correctly shows a 200 (OK), with all data received. I’ve tried replicating on my own site without much luck.

    One thing I noticed based on your FTP, was that there is no .htaccess file for the site you provided, there’s only a .htaccess in the root of public_html folder. Do you have a .htaccess at all for this other site?

    Thanks!

    #890021
    kristianl
    Participant

    Hi there,

    Thanks for confirming that there was an issue. I added an .htaccess file for compest.tk but that didn’t help.

    So then I re-downloaded and reinstalled the theme, and refreshed the PHP settings my server. One of these 2 things must have helped because I can now save the cornerstone page with a link. I will now go through and reactivate my plugins and keep working, but hopefully that is the end of the issue.

    Thanks for your help!

    #890456
    Rupok
    Member

    Hi there,

    Thanks for updating. Glad that you sorted it out. Feel free to let us know if you face any other issue. We’ll be happy to assist you.

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-885092 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>