Jump to content

Archived

This topic is now archived and is closed to further replies.

sticktrix1

DMS Doesn't work with FORCE_SSL_ADMIN', true

Recommended Posts

sticktrix1    3
sticktrix1

Hi guys, whenever i enable in wp-config.php the line       define('FORCE_SSL_ADMIN', true);       pagelines ceases to work.. It will load the page, but i can't drag n drop anything?

Turning this off fixes it instantly. What's goin on and how do i/you fix this?

Cheers guys

Share this post


Link to post
Share on other sites
James B    436
James B

Hi Casey

 

Have you tried the solution with the filter offer on Clifford Paulicks site - http://www.pagelinestheme.com/pagelines-dms-ssl-https/ its available as a plugin which might be able to resolve the issue you're having.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
sticktrix1    3
sticktrix1

Yes i tried this but  didn't resolve the issue unfortunately.

Share this post


Link to post
Share on other sites
sticktrix1    3
sticktrix1

Okay i added this line in and it's now working.... 

Is this line okay to use? What does this actually do?

add_action('wp_ajax_nopriv_pl_editor_actions', 'pl_editor_actions');

Share this post


Link to post
Share on other sites
James B    436
James B

In the comments of that plugin it says that if PL DMS Editor won't save changes on a site with SSL to use that code. Looking up wp_ajax_nopriv in the wp codex it seems to be related to forcing the editor to load on the front end. See http://codex.wordpress.org/AJAX_in_Plugins the section call 'ajax on the viewer-facing side'.

 

I've copied in Clifford P who made the plugin in case he can advise further on the above.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
sticktrix1    3
sticktrix1

It's not working again.... 

Shouldn't the Pagelines editor be able to work with Basic Wordpress SSL functions? 

Could you guys make a native fix for this for the next release?

SSL and security is a really important thing.. and if i can't enforce that on the admin panel OR login it spells BIG troubles.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

How have you setup your SSL ? We have a number of users as far as I know, who use SSL and have no issue with DMS.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
sticktrix1    3
sticktrix1

I'm running a wildcard ssl installed on the server. It's on a multisite setup. Everything else works fine as well. Tried it with and without the wordpress https plugin and still no go.

Share this post


Link to post
Share on other sites
Guest   
Guest

sticktrix1, you can solve the problem by switching to just SSL login instead of SSL admin, but if you really want SSL admin, then I'd recommend reading the plugin's code. You might want to uncomment some of the commented parts, or you may need to modify it to work for your setup. Run that CURL code at the bottom of the link to test. If you can't get it figured out, you can try to get more help from PageLines for your specific setup, or you can send me a PM if you're interested in hourly services to debug and resolve. Hopefully you get it figured out very soon on your own. Best to you.

Share this post


Link to post
Share on other sites
sticktrix1    3
sticktrix1

This problem is still on DMS 2.0

Even with all plugins deactivated on the subsite and network, SSL doesn't work.. Sections aren't saving?

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Can you contact our helpdesk with following please:

 

Your sites admin username and password.

A link to your site.

DMS Debug mode enabled ~ DMS Toolbar > Settings > Advanced.

A link to this topic, so our staff have a reference.

 

hello at pagelines dot com


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
MrFent+    28
MrFent

I'm having the same issue. was this ever resolved?

Share this post


Link to post
Share on other sites

  • Similar Content

    • JawDesigns
      By JawDesigns
      Hi everyone,
      Flywheel have reported errors on my clients site 'www.racewaredirect.co.uk' and it's not loading. Can someone please provide some information on how to fix this? The site has never experienced these issues before.
      Thanks,
      James Wilson
    • MissT
      By MissT+
      Hi there,
      I've got an issue with 3 websites built with DMS since I migrated them from http to https that I need help with please.
      When any changes are made - e.g. new posts added or existing posts amended - certain sections of the live site seem to break e.g. image headers hang and don't load (b/g on canvas section), sliders hang and don't load (Revslider), flipper section doesn't load.
      Logging in and then clicking 'Edit the site using DMS' seems to fix the problem. Often if I try to open up another browser window to edit the site / re publish I'm unable to as the page wont load / hangs while trying to load.
      Any ideas how to fix this? On a couple of the sites I've installed a caching plugin as I thought it might be a loading speed issue but it's still happening.
      Website URL's can be provided privately.
      Many thanks in advance.
    • jeomiland
      By jeomiland+
      Hi
      I found this topic
      which talks about a similar issue I am having, but a little different. Hope someone can help me out.
      Best way to see the problem is to view http://cassclayton.com/ on Safari (Mac) compared to Firefox or Chrome. You will see the banner just under the fixed menubar has a gap between the menubar and top of the banner. Looking at Inspector, I found:
      <div class="fixed-top-pusher" style="height: 62px;"></div>
      <script> jQuery('.fixed-top-pusher').height( jQuery('.pl-fixed-top').height() ) </script>
      and indeed it seems the jquery is not always working consistently. For instance, if you simply refresh the page in Safari, it will loose the gap and all looks fine, so is it a browser cache issue that is interacting with the jquery? I do have W3 Total Cache installed. There must be a way to tell the code to make sure jquery is up and running and available to do it's majic?
      And perhaps there is just a better way to do this banner? Originally I tried several DMS sections and used the banner image as background, etc... Kept running into problems with resizing and the left/right parts of the image were getting chopped off. It is important the whole image show, so currently I just use a NextBox section with this code:
      <img src="[pl_site_url]/wp-content/uploads/2015/12/CassClayton-blues-tribute-banner.jpg" width="100%" />
      and it looks the way it should. Is there a better way to place a banner graphic under a fixed navbar and make sure the whole banner graphic displays regardless of screensize?
       
    • oseehys
      By oseehys+
      Hello There,
      So i want to use platform 5 and DMS sections on a single page, i am using a child theme with pinspro as my main theme and i activated platform 5, the only problem am having so far is the fixed option, my navbars are not aligning to their default size, and it will be great if platform 5 header and footer section will function, has anyone used this option, how can i make the best use of platform 5 and DMS on a site
      Cheers
×