Jump to content

Archived

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

clodis

Page Less conflict with DMS 2.1.5

Recommended Posts

clodis    7
clodis

Today acquire page less, in my demosite not corectly work, if I digit a code esample  background-color:#D2691E;  pageless says ok , when refresh page , Dms says error loading, now I enable pageless.

Share this post


Link to post
Share on other sites
clodis    7
clodis

thi is the messsage appear: 

Oops, There may be an issue loading.

DMS typically loads in less than 5 seconds. Please check for Javascript or PHP errors.
(Typically, slow or incomplete loading is related to plugin conflicts or server issues.)
View the Troubleshooting Guide

Share this post


Link to post
Share on other sites
clodis    7
clodis

I have enable this plug in:

pgelines updater

poppy

post pins

recent post slider

selettore tab

single bits

tabtastic

uber menu adapter

uber menu 3

woocommerce

 

only uber menu and woocommerce is not DMS plug in , all the others are DMS plug in.

 

I try disable all plug in and enable only page less but the issue persists, only if I disable page less all work fine.

Share this post


Link to post
Share on other sites
Guest   
Guest

clodis,

 

This looks like a javascript error, which may or may not be from PageLess.  Would you please show me the output of the console in chrome?

Share this post


Link to post
Share on other sites
clodis    7
clodis

clodis,

 

This looks like a javascript error, which may or may not be from PageLess.  Would you please show me the output of the console in chrome?

 

yes of course :

 

Consider using 'dppx' units, as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) (index):1
Uncaught Error: properties must be inside selector blocks, they cannot be in the root. utils.less.js?ver=2c8a2a:509
Invalid App Id: Must be a number or numeric string representing the application id. all.js:57
FB.getLoginStatus() called before calling FB.init(). all.js:57
Consider using 'dppx' units, as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) follow_button.1408655446.html:1

Share this post


Link to post
Share on other sites
Guest   
Guest

clodis,

 

It seems like there may be an error in your LESS code.  Have you added any of your own yet?

 

Do you get this loading problem and error on every page or just pages with custom page less?

Share this post


Link to post
Share on other sites
clodis    7
clodis

clodis,

 

It seems like there may be an error in your LESS code.  Have you added any of your own yet?

 

Do you get this loading problem and error on every page or just pages with custom page less?

 

Only on page with custom page less, if I not add custom code, pageless plug in not create any issues.

 

I add only this code: background-color:#D2691E;

 

Share this post


Link to post
Share on other sites
Guest   
Guest

Right, which is why you're getting this error from less.js 

Uncaught Error: properties must be inside selector blocks, they cannot be in the root.

What you added is not valid CSS or LESS.  You need to apply that with a selector.  See here: http://www.cssbasics.com/css-syntax/

 

Once you have that corrected, you should find that everything is working as expected.

Share this post


Link to post
Share on other sites
clodis    7
clodis

Right, which is why you're getting this error from less.js 

Uncaught Error: properties must be inside selector blocks, they cannot be in the root.

What you added is not valid CSS or LESS.  You need to apply that with a selector.  See here: http://www.cssbasics.com/css-syntax/

 

Once you have that corrected, you should find that everything is working as expected.

 

 

 
I'm sorry, but that is just pageless problems, in fact if I put in a page the following code: body {
   background: # FFDAB9;
  
}
Pageless makes the message is correct, the green stripe on it, and it makes me filled in, but then the refresc makes me an error message and freezes the page. Besides the fact that being pageless, it should be obvious that encode the page, so it should be sufficient to select the content, but this is not a problem, select the container, the fact remains that it does not work properly and do not understand the error.

Share this post


Link to post
Share on other sites
Guest   
Guest

clodis,

 

Sorry to hear you're having trouble.  I just did a clean install of DMS 2.1.5, and PageLESS 1.2.4 and I don't seem to be having any trouble.

 

See my screenshot here: http://cl.ly/image/3O3I2J1C1p25

 

Perhaps other plugins are creating a conflict?  Did you try disabling all others as a test?

 

Looking at your code above you may be getting an error from the space between the # and the hex code.  Try removing that?  What happens if you remove all of the code save and refresh?

Share this post


Link to post
Share on other sites

  • Similar Content

    • faagerritsen
      By faagerritsen
      Hi,
       
      for some reason the pageless css file is increasing the loadtime (file taks 1.6 to 2.8 sec to load). I'm talking about the Pageless file (http://afrankadvice.nl/?pageless=1_1409431991)  Can anybody help me to solve this issue so my site will load faster.
       
      Thanks
       
      Frank
    • layasamadhi
      By layasamadhi
      Basically I encountered this issue. Every time I refresh the page reappears the PageLines's logo and search box on navi(full). In practice I change the navi(full), hide the search box, replace the logo, public the changes and after page refreshing the disaster. PageLines's logo and search box reappear.    I went crazy for two weeks. I tried to isolate the problem and in the end I found the accused plugin: Page{Less}.   When Page{Less} is off everything works. When active the problem persists.
    • layasamadhi
      By layasamadhi
      I placed the update to DMS2 but I lost all previous css settings.  In practice there is no longer the section for custom the page-specific css, relating to the plugin Page{Less}. Why?   The plugin has been updated to work with DMS2?
    • layasamadhi
      By layasamadhi
      I just purchased the plugin and I'm testing it. Home page everything is ok but all the other pages something strange happens.   The problem is that the css code only works with Chrome.    With Firefox and Explorer doesn't recognize it. Why?
    • Jackey
      By Jackey
      Hi Evan... I have issues with Page{LESS} vs basiq child-theme. When both are loaded, the DMS editor doesn't load anymore.... any idea what can be wrong?
×