Jump to content

Archived

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

deskdesign

Something is broken but what...?

Recommended Posts

deskdesign

I have had running a site for a few weeks without any problems. Its buil in DMS and the only plugins I rely on (the rest is just added functionality) are 'types' and 'views' for building custom datafields (http://wp-types.com/)
 
Since the site is not functional anymore I had to put it in maintenance-mode. The frontpage looks like this
 
Since the last updates of WP (3.7.1) and DMS (1.1.3) on a simple child theme with no special tricks, something is broken but I can't find out what is happening.
 
In Chrome (logged in as admin) the DMS editor
The frontpage is loading as it should be and showing me a slider, a menu, a logo and a list of all 'types' data. So do all the 'pages' of the site. They load without any trouble, eventually presenting a selection of the list of locations (specific country or type of tent).
But on a detail page of one of the locations, the page is loading the DMS editor forever and does not give me any result.
 
In a browser (Chrome with disabled editor or Safari) without the DMS editor running, the frontpage will load fast and correctly. Clicking on a link presents me a page with just the menu, an empty slider and nothing else.
 
Following the tips at support-troubleshooting, the javascript console will give me just a lot of invalid CSS properties, all just basic PL CSS.

Invalid CSS property name: -webkit-touch-callout  
Invalid CSS property name: -webkit-touch-callout  
Invalid CSS property value: 1px solid #cccccc  
Invalid CSS property value: .5em 0  
Invalid CSS property name: -webkit-touch-callout  
Invalid CSS property value: transform,opacity  
Invalid CSS property name: hyphenate  
Invalid CSS property name: hyphenate-before  
Invalid CSS property name: hyphenate-after  
Invalid CSS property name: hyphenate-lines  
Invalid CSS selector pseudoclass: decimalol  
Invalid CSS property value: optimizeQuality  
Invalid CSS property value: 1px 1px 0 @baseLighterMore,inset 1px 1px 0 @baseLighterMore  
Invalid CSS property value: 1px 1px 0 @baseLighterMore,inset 1px 1px 0 @baseLighterMore  
Invalid CSS property value: 1px 1px 0 @baseLighterMore,inset 1px 1px 0 rgba(0,0,0,.2)  
Invalid CSS property value: 1px 1px 0 @baseLighterMore,inset 1px 1px 0 rgba(0,0,0,.2)  
Invalid CSS property value: progress-bar-stripes 2s linear infinite  
Invalid CSS property value: spin 2s infinite linear  
Invalid CSS property value: spin 1s infinite linear  
Invalid CSS property name: -webkit-touch-callout  
Invalid CSS property name: -webkit-touch-callout  
Invalid CSS property name: list-stye  
Invalid CSS property value: auto  
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.

Opening the webinspector in Safari or the developertools in Chome I get this error:

 

Error in the resources <script>
jQuery(window).load(function() {
var theSlider = jQuery('.section-quickslider[data-clone="z5fqbk"] .flexslider');
theSlider.flexslider({
controlsContainer: '.fs-nav-container',
animation: 'fade',
slideDirection: 'horizontal',
slideshow: true,
directionNav: false,
controlNav: false });
});
</script>

uncaught TypeError: Object[object Object] has no method 'flexslider'

Disabling Types and/or Views resolves the issues but there's obviously not much to see either.

 

But If the errors occurs, there is no sign of a relation with Types or Views, preventing the page to be rendered completely.

 

I'm a bit reluctant to try another theme  since I fear that getting back to the DMS-layout will be a painful excercise.

 

 

Kind of stuck here. Any help is welcome.

Share this post


Link to post
Share on other sites
Danny

Hi,

 

I recommend you disable the plugins you have installed except for DMS Pro Tools and see if this resolves your issue. I have just added a QuickSlider to my page and have no such error. Therefore, there may be a conflict with the Type/Views plugin.

 

Also, can you enable PL debug mode please - DMS Toolbar > Settings > Advanced and then disable maintenance mode so we can take a look at your debug info.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
deskdesign

Ok - thanks for looking into this

 

I disabled all the plugins except Views and Types because the site will show no content and you won't see the error happening.

DM pro tools is also running.

Furthermore I moved the site back to it's testing directory: http://luxetent.nl/sys/

The live site was running on the same location, only moved the index and htaccess files

Switched the WP language-settings to en_EN

Share this post


Link to post
Share on other sites
Danny

Your main page or homepage appears fine with the QuickSlider working as intended. Therefore, its is most likely a conflict with something on the page when you view an individual post. You mention that when you disable the Types and Views plugin there is no error. Therefore, the issue is related to either Types or Views and something you have added to your individual posts.

 

You will need to review what it is you have added that can cause the conflict.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
deskdesign

All true. But none of the errors is pointing at Types / Views functionality. So I have no clue where to look.
Besides: the list on the frontpage is rendering OK, noting less than output from Types / Views.

Selecting a country on the frontpage is also working fine.

 

If I disable Views or Types, everything is OK but I don't get the data I would like to see.

 

Take a look at http://luxetent.nl/sys/locaties/luxe-safaritenten-in-de-auvergne-frankrijk/ (types disabled, Views activated)

 

All that changed since the site is broken is updating WP and DMS.

Share this post


Link to post
Share on other sites
Danny

No what I mean is, when viewing individual posts there has to be something on there that is causing the conflict, something that isn't on your homepage. A script or a field or something that is related to your setup on individual posts.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
deskdesign

Yes, that's true. But I can't find a way to find out what is going on / going wrong. Since the posts (with WP Tools enabled) is presenting me no wp-tools related errors whatsoever, so I can't find a way how to find what those errors are. The page just doesn't complete loading and hangs on some pagelines related CSS of something javascript from the QuickSlider. 

Where removing the slider temporarily from de site doesn't get me any further.

 

Being no savvy coder doesn't help, but that's why I liked PageLines.

 

(The dead parrot sketch comes to mind...)

Share this post


Link to post
Share on other sites
Danny

So if you remove the QuickSlider from your template(site), the issue persists ?


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
deskdesign

Yes sir. (I removed the slider yesterday - for now I disabled it in DMS by renaming the directory)

Share this post


Link to post
Share on other sites
Danny

You disabled by renaming the directory ?

You have to do that to disable a section, just remove it from your header area and click publish. If you remove the QuickSlider do you still have the same issue ?

If so, then this is related to the content you have on those individual posts, can you disable the QuickSlider section from your template i.e. just remove it and then reply here when you have done so, so I can see if any other errors pop up.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
deskdesign

OK - removed the QuickSlider from the header. 

 

Still the same issues. (views and types enabled)

Share this post


Link to post
Share on other sites
Danny

Then that confirms that either Types or Views are the cause of the issue. I do not use either plugin and dont have access to the Views plugin. Therefore, you will need to contact their support and ask for assistance.

Once they have replied with their suggestion, reply here letting us know what they suggested.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
deskdesign

I have contacted WP-tools yesterday but they are not as fast as you with their replies. But as I said: there is no hint where to look in the logs or code that is pointing in any direction. Let alone a smoking gun. it's just breaking the page code somewhere.

 

I will come back if I have found the culprit (and/or a solution)

 

 

Thanks for the help!

Share this post


Link to post
Share on other sites
Danny

No problem and keep us posted.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

×