Jump to content

Archived

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

JimP

DMS Editor not loading on blog page

Recommended Posts

JimP    1
JimP

Hi there - I have a problem with getting the DMS editor to load on http://swiftupgrade.wpengine.com/blog  (No problems with the editor loading on the home / root page,  http://swiftupgrade.com)

 

I disabled all plugins, and tried to see if that would help load the editor on the blog page....no change. 

 

I read through the documentation and forums here; http://docs.pagelines.com/support-troubleshooting/common-issues

 

This lead me to some errors, shown in this screenshot.  http://monosnap.com/image/lotjvK1sCXkZgKJX9QE4cdbrIlKkGX.png 

 

So wondering if anyone can point me in the right direction to fix the errors. any help is greatly appreciated. - JP

 

It seems this is the error message in the console view now since I upgraded DMS; 

Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://swiftupgrade.com/blog?pagedraft=1". blog:30
Uncaught SyntaxError: Unexpected token < blog:378
event.returnValue is deprecated. Please use the standard event.preventDefault() instead. jquery.js?ver=1.10.2:4

This was the error previously;

Uncaught SyntaxError: Unexpected token < blog:377
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
3
Uncaught TypeError: Cannot read property 'scrollHeight' of undefined pl.toolbox.js?ver=bb82a2:257
(anonymous function) pl.toolbox.js?ver=bb82a2:257
x.event.dispatch jquery.js?ver=1.10.2:4
handler utils.mousewheel.js?ver=bb82a2:81

Share this post


Link to post
Share on other sites
Simon    247
Simon

JimP Looks like you have a PHP error. Look at the view-source of the page in your browser, scroll down and see if the page stops before </html>

Share this post


Link to post
Share on other sites
JimP    1
JimP

Hi Simon, I looked at the view source page and here's what it looks like; Do you have any further advice? I went and added these lines of code to wp-config file too.

 

define( 'SCRIPT_DEBUG', true );
 
define( 'WP_DEBUG_LOG', true );
<a class="screen-reader-shortcut" href="http://swiftupgrade.wpengine.com/wp-login.php?action=logout&#038;_wpnonce=9475673e35">Log Out</a>
					</div>

		</body>
</html>

Share this post


Link to post
Share on other sites
JimP    1
JimP

Here's the DMS debugging information too;

 

DMS Debug Info

WordPress Version
3.9.1

WordPress Debug
Disabled

Multisite Enabled
No

Current Role
Administrator

Framework Path
/nas/wp/www/cluster-2262/swiftupgrade/wp-content/themes/dms/dms

Framework URI
http://swiftupgrade.wpengine.com/wp-content/themes/dms/dms

Framework Version
2.1.4

PHP Version
5.3

WP_DEBUG
No

WP memory limit
40 MB

WP MAX memory limit
256 MB

PHP memory limit
256 MB

Mysql version
5.5.35

WP Max Upload Size
50 MB

PHP POST Max Size
100 MB

PHP Max Execution Time
3600s

PHP type
Apache2handler

WebServer software
Apache

PHP User
Posix functions are disabled on this host. Not necessarily a problem, but if the user needs FTP/SFTP to install plugins/themes then creating CSS files might be an issue.

OS
Linux

Installed Plugins
accordions/accordions.php
dms-plugin-pro/dms-plugin-pro.php
pagelines-updater/pagelines-updater.php
post-types-order/post-types-order.php
super-simple-google-analytics/SuperSimpleGoogleAnalytics.php
wordpress-seo/wp-seo.php

Share this post


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

Please keep all plugins disabled.

 

Also, when you say you you viewed the page source and here is what it looks like what do you mean ?

 

Also, have you enabled WP_DEBUG i.e. set it to true instead of false ? When this active are there are any errors printed ?


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
JimP    1
JimP

Hello Danny;

 

1. I did disable all plugins; and still had no ability to load DMS editor on any pages but the root /home page. I re-enabled plugins, as the site doesn't function properly without them. 

2. when I say I viewed the source page code, Simon_P said to check:  

----> Looks like you have a PHP error. Look at the view-source of the page in your browser, scroll down and see if the page stops before </html>

 

So, my reply was to show the location of the </html> tag at the end of the page.

 

3. I have added; define( 'WP_DEBUG_LOG', true ); to the wp-config file. 

 

4. I don't see any errors printed, but I also don't know exactly where to look to see any printed errors. 

 

thanks in advance for any and all help  - Jim

 

 

 

Share this post


Link to post
Share on other sites
JimP    1
JimP

Here are the error messages from the console; 

Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://swiftupgrade.com/blog?pagedraft=1". blog:31
JQMIGRATE: Logging is active jquery-migrate.js?ver=1.2.1:21
Uncaught SyntaxError: Unexpected token < blog:279
JQMIGRATE: jQuery.event.handle is undocumented and deprecated jquery-migrate.js?ver=1.2.1:41
console.trace() jquery-migrate.js?ver=1.2.1:43
migrateWarn jquery-migrate.js?ver=1.2.1:43
Object.defineProperty.get jquery-migrate.js?ver=1.2.1:58
(anonymous function) utils.isotope.min.js?ver=7e544a:10
(anonymous function) utils.isotope.min.js?ver=7e544a:10
{"post":{"action":"pl_editor_actions","mode":"fast_save","run":"map","pageID":"15","typeID":"70000006","log":"true","confirm":"false","confirmText":"Are you sure?","savingText":"Saving.","refresh":"false","refreshText":"Refreshing page...","refreshArgs":"false","toolboxOpen":"false","beforeSend":"","postSuccess":"undefined","load":"false","onFalse":"","store":{"fixed":{"map":{"0":{"name":"","class":"","id":"naviu06b4b","object":"PLNavi","sid":"navi","clone":"u06b4b"}}},"header":{"map":{"0":{"name":"","class":"","id":"pl_areau06b98","object":"PLSectionArea","sid":"pl_area","clone":"u06b98"}}},"template":{"map":{"0":{"name":"","class":"","id":"pl_areauc99e2","object":"PLSectionArea","sid":"pl_area","clone":"uc99e2","content":{"0":{"object":"PageLinesPostLoop","clone":"uc9ba6","sid":"postloop","span":"10","offset":"1","newrow":"false"}}}}},"footer":{"map":{"0":{"name":"","class":"","id":"pl_areau06e7d","object":"PLSectionArea","sid":"pl_area","clone":"u06e7d","content":{"0":{"object":"PLSocialinks","clone":"u0702e","sid":"socialinks","span":"12","offset":"0","newrow":"false"}}}}}},"templateMode":"local","location":"start","storeMap":"true"},"dataAmount":2438,"config":{"fixed":{"map":{"0":{"name":"","class":"","id":"naviu06b4b","object":"PLNavi","sid":"navi","clone":"u06b4b"}}},"header":{"map":{"0":{"name":"","class":"","id":"pl_areau06b98","object":"PLSectionArea","sid":"pl_area","clone":"u06b98"}}},"template":{"map":{"0":{"name":"","class":"","id":"pl_areauc99e2","object":"PLSectionArea","sid":"pl_area","clone":"uc99e2","content":{"0":{"object":"PageLinesPostLoop","clone":"uc9ba6","sid":"postloop","span":"10","offset":"1","newrow":"false"}}}}},"footer":{"map":{"0":{"name":"","class":"","id":"pl_areau06e7d","object":"PLSectionArea","sid":"pl_area","clone":"u06e7d","content":{"0":{"object":"PLSocialinks","clone":"u0702e","sid":"socialinks","span":"12","offset":"0","newrow":"false"}}}}}},"load":"false","state":{"local":"local"}} pl.helpers.js?ver=7e544a:14
Object {post: Object, dataAmount: 2438, config: Object, load: "false", state: Object}
config: Object
dataAmount: 2438
load: "false"
post: Object
action: "pl_editor_actions"
beforeSend: ""
confirm: "false"
confirmText: "Are you sure?"
load: "false"
location: "start"
log: "true"
mode: "fast_save"
onFalse: ""
pageID: "15"
postSuccess: "undefined"
refresh: "false"
refreshArgs: "false"
refreshText: "Refreshing page..."
run: "map"
savingText: "Saving."
store: Object
storeMap: "true"
templateMode: "local"
toolboxOpen: "false"
typeID: "70000006"
__proto__: Object
state: Object
local: "local"
__proto__: Object
__proto__: Object
__defineGetter__: function __defineGetter__() { [native code] }
__defineSetter__: function __defineSetter__() { [native code] }
__lookupGetter__: function __lookupGetter__() { [native code] }
__lookupSetter__: function __lookupSetter__() { [native code] }
constructor: function Object() { [native code] }
hasOwnProperty: function hasOwnProperty() { [native code] }
isPrototypeOf: function isPrototypeOf() { [native code] }
propertyIsEnumerable: function propertyIsEnumerable() { [native code] }
toLocaleString: function toLocaleString() { [native code] }
toString: function toString() { [native code] }
valueOf: function valueOf() { [native code] }
get __proto__: function __proto__() { [native code] }
set __proto__: function __proto__() { [native code] }
 pl.helpers.js?ver=7e544a:14
event.returnValue is deprecated. Please use the standard event.preventDefault() instead. 

Share this post


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

Please set the value to true on WP_DEBUG in your wp-config.php file. We are not referring to the WP_DEBUG_LOG, but just WP_DEBUG, this is in your wp-config.php file by default and has a value of false, replace false with true, save the changes and then visit your page again where you have a blank screen. With WP_DEBUG enabled, there will most likely be errors printed.

 

http://codex.wordpress.org/Debugging_in_WordPress


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • Peter Esslemont
      By Peter Esslemont
      Hi,
      When using the editor I am getting duplicate wordpress toolbars and an a nice error to go with it...
      I have them stack 4 high at one point.  Goes away with a refresh then re-appears.
      very odd.

       
       

    • Perry
      By Perry+
      Hello there,
      We have started experiencing a crippling issue within the last few days. It seems that ever since three days ago the CSS will not load for our pages outside of the DMS editor. Inside of the editor everything appears to be looking fine, but after publishing and viewing the page in a new browser our elements are all over the place, and in the console it appears that there is an error stating that the CSS did not get loaded. Looking through FTP, it seems that the two CSS files in the pagelines folder in wp-content are now missing. We did not access this folder or modify any files prior to this.  What kind of problem could this be? We are totally halted on any work we can perform until this is solved, so any help would be greatly appreciated. 
      An example of the phenomenon: http://datesafe2.21thirteenhost.com/category/ask-mike/
      Best,
      Perry
    • 1965deville
      By 1965deville+
      Hi
      My DMS site came up with the error message below.
      My (stupid) easy fix was to try replace the template.php as the error message stated below.  As i usually do i copied the original file before replacing it. The problem is that i by mistake replaced the wrong file and had the functions file replaced. 
      So my questions: 1. Any tip on how to fix the original problem? 2. Am i able to repair my stupid mistake replacing the wrong file with no backup?
      Warning: require_once(/home/authenti/public_html/www.universalheartcenter.se/wp-content/themes/dms/dms//footer.php) [function.require-once]: failed to open stream: No such file or directory in /home/authenti/public_html/www.universalheartcenter.se/wp-includes/template.php on line 555

      Fatal error: require_once() [function.require]: Failed opening required '/home/authenti/public_html/www.universalheartcenter.se/wp-content/themes/dms/dms//footer.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/authenti/public_html/www.universalheartcenter.se/wp-includes/template.php on line 555
    • gstrahle
      By gstrahle+
      Hi 
      I am encountering a new error on my website http://surfboardhoard.com
      everything appears to be ok but various images will not load, or load and then disappear..
      can you please help me figure out what is going on?
       
      Thanks

    • abuzzelli
      By abuzzelli+
      I'm having a strange issue with a site I'm building. I thought it might have been a server issue, so I moved it to one I know works and it's still messed up. Basically when I have the DMS editor on it looks fine, when I turn the editor off everything looks wrong and I can't re-activate the editor unless I change the theme, then re-activate the DMS theme. Any ideas why this is happening?


×