Jump to content

Archived

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

Josiah L

Publish does not "save" changes made with the editor to the page template

Recommended Posts

Josiah L    0
Josiah L

I am in the process of updating WP to 3.8 and DMS to 1.1.5 development site to test before updating my "live" site.

 

An issue that I have run into, that I have never seen before, is that one of my pages will not save when I click the "publish" button. The page template is the incorrect column sizes, rapidtabs keep displaying, as well as the comment section. I have tried removing rapidtabs, adjusted the column sizes, and removed the comment section multiple times, but it never "saves" when I click the publish button. I have even tried removing everything on this page template and clicking the "publish" button, but everything still shows up after a refresh.

 

The odd thing about this issue is that it only happens on one page. Other page templates save changes just fine.

 

The testing page that I having issues with is: http://www.godfilms.net/shopp/cart/

 

The current live site looks like this: http://www.wpfilm.com/shopp/cart/

 

 

Test Site Versions:

WordPress 3.8

Pagelines DMS 1.1.5

Shopp 1.3.1 

Share this post


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

Hi there that is strange. Do you have any plugins or scripts which are only present on that page and not the others?

 

Try saving the page as a new template and saving under a new name in case the template is corrupt in some way.

 

If you could videocast whats happening live so we can see we'll try and replicate and see if the dev team can advise further.


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
Josiah L    0
Josiah L

Hey James, I don't believe there is anything different, as far as scripts, from other pages.

 

The only plugins I currently have on my development site is:

Akismet

Custom sidebars
Shopp (eCommerce plugin)

 

 

The page that is having the problem is Shopp's cart.php page. 

 

I did a quick screencast if the issue. You can see from the video that basically no changes made to this page are saved.

 

http://quick.as/gqriryd

 

 

Share this post


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

Hi there, that is strange, I'm wondering if its to do with the eComm plugin in that case. If you disable this temporarily, do changes on that page then work as normal? Maybe there's something in the code which is stopping the page from re-saving.


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
Josiah L    0
Josiah L

The eCommerce plugin may be the cause, but I doubt it. The "page" that is having the issue with saving / publishing is a Shopp template page. So, if I disable that plugin, I wouldn't be able to get to that page. This issue is happening on my development site.

 

My live site works just fine. I am using WP 3.5.1, Shopp 1.2.8, and DMS 0.9.6. Obviously the issue appears with updates on the dev site.

 

I can try to dig deeper in the code on that Shopp template file to see if there a weird script conflicting with DMS. Is that usually the cause for the "saving/publishing" issues?

Share this post


Link to post
Share on other sites
Josiah L    0
Josiah L

I did dig a little deeper into that page that has been having the "saving / publishing" issue. It looks like there might be an issue with a jquery call in the core of wordpress. I did a quick screencast to show you.

 

http://quick.as/yavf8gr

Share this post


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

Hi again, that jquery message is just a warning that will appear on every page at the current time.

 

The only thing I can suggest is to set up an admin level login and email the credentials along with a link to this forum post so we can tie to two together, to hello@pagelines.com and we'll get one of the team to take a closer look for you and see what our developer team can advise.


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
Josiah L    0
Josiah L

Admin login credentials have been sent to hello@pagelines.com.

Share this post


Link to post
Share on other sites
Josiah L.+    0
Josiah L.

So, I have decided to actually take another crack at trying to figure out this issue. I am still running into the same issue where DMS will not save / publish changes made on certain pages. I have now updated DMS to 2.0.3 and do still have to same error message:

 

event.returnValue is deprecated. Please use the standard event.preventDefault() instead. jquery.js?ver=1.10.2:4

 
This jquery error may not even be the culprit as you have said. Is there any other thoughts as to why a page would not save / publish? When I hit the "publish" button, the colored circle just stays blue. Obviously some is not working correctly.

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

The jquery error is a chrome bug - more about this here https://wordpress.org/support/topic/calender-next-and-prev-links-not-working

 

in your debug info there is the following warning 

DMS Internal Warning
Less Subsystem
/* LESS PARSE ERROR in your Custom CSS: !important is undefined: failed at `!important;background: #00D6DD;background: -moz-linear-gradient(left, #00D6DD 0%, #00D6DD 25%, #ffffff 75%);background: -webkit-gradient(linear, left top, right top, color-stop(0%,#131313), color-stop(25%,#00D6DD), color-stop(75%,#00D6DD));background: -webkit-linear-gradient(left, #00D6DD 0%,#00D6DD 25%,#ffffff 75%);background: -o-linear-gradient(left, #00D6DD 0%,#00D6DD 25%,#ffffff 75%);background: -ms-linear-gradient(left, #00D6DD 0%,#00D6DD 25%,#ffffff 75%);background: linear-gradient(to right, #00D6DD 0%,#00D6DD 25%,#ffffff 75%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#ffffff',GradientType=1 );}` line: 1234 */

you wont be able to make changes stick if you have an error in your CSS 

 

paste all your css in here >>http://jigsaw.w3.org/css-validator/#validate_by_input

 

this will give you a breakdown of the error and which line it is on. 

 

EDIT : also ask your host to update your php or remove the following error or remove the restriction 

 

PHP Open basedir restriction
Yes! This can cause issues if it is not setup correctly
/var/www/vhosts/dev-wpfilms.com/:/tmp/


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
Josiah L    0
Josiah L

So the jquery error isn't really anything to worry about and shouldn't be the culprit of this problem?

 

I did actually see that CSS error and have fixed it, I still wasn't able to save / publish changes made on the suspect pages.

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

you still have the error in your debug - paste your CSS into our pastebin and add the link here and i will take a look http://forum.pagelines.com/pst/


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

how have you added this code? which method and to where? 


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

there are quite a few errors even though the validator stops at the first. 

 

for example 3 lines down is this 

 

 span.savings {color:#cc0000}


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
Josiah L    0
Josiah L

All this css is added in the CUSTOM LESS/CSS area.

 

Ok, so has the debugging in improved from versions? (obviously bad code is bad code) Because on my live site (DMS 1.1.5) I am not seeing these errors.

 

Also, for testing purposes, I did remove all my custom CSS in that field and save to see if that fixed the save / publish issues. It did not.

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

Try this -  remove all your CSS and back it up. Save and publish with no CSS. Then goto WordPress > PageLines Menu and delete any CSS in your fallback. Save the fallback. Back to front end and try publishing again and add the css back via the editor. That is AFTER you fixed all the errors. 

 

you might not see the errors but adding more code might not work. At the point you entered the bad code or some of the bad code it stopped your Site working properly to be put it simply.


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
Josiah L    0
Josiah L

Thanks Martin! I will give it a shot.   :D

 

What is the "CSS in your fall back"? Is that the LESS/CSS Cache?

 

What would you recommend for CSS validation?

Share this post


Link to post
Share on other sites
GetMeWebDesign+    115
GetMeWebDesign

What is the "CSS in your fall back"? WP-admin > Pagelines > DMS Fallbacks > Custom CSS/LESS


Chrome Developer tools - please use them. If you are not sure how, then it is easy to learn

Be inventive in your keyword search of the forum ie Navi > Navbar > menu > tabs > font > color. Your answer lies there somewhere!

Share this post


Link to post
Share on other sites
Josiah L    0
Josiah L

Thank you GetMeWebDesign. 

 

I have now removed all custom CSS and re-published my test site. Still no dice! 

 

I am still unable to save / publish on a specific page (Shopp eCommerce dynamic cart page) with all the custom css removed.

Share this post


Link to post
Share on other sites
Simon    247
Simon

Is it an actual wordpress page? Or created on the fly by the shop plugin?

Share this post


Link to post
Share on other sites
Josiah L    0
Josiah L

It is not an actual wordpress page. It is a dynamically created page by the Shopp eCommerce plugin.

Share this post


Link to post
Share on other sites
Simon    247
Simon

Then it wont have a post ID, this is probably why you cant customise it.

Share this post


Link to post
Share on other sites
Josiah L    0
Josiah L

The weird thing is I am currently using the Pagelines DMS (1.1.5) + Shopp plugin on my live site without issue. I ran into this issue while testing newer versions of Wordpress, DMS, and Shopp.

Share this post


Link to post
Share on other sites
Simon    247
Simon

What does the page info area in the dms editor show?

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
    • 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?


    • KimAnn03
      By KimAnn03
      Hello-
      I was having trouble using the wordpress editor- getting a white screen when updating posts, and therefore edits were not saving. so I read all the threads and saw that I needed to upgrade to DMS 2.1.9.9. I did this, but i am still having the same issue.
      Restarted my browser.
      Deactivated plugins.
      Still happening- white screen upon updating posts. It goes to this URL when I hit update: http://www.thecosmicpath.com/wp-admin/post.php
      instead of this page: http://www.thecosmicpath.com/wp-admin/post.php?post=50784&action=edit
       
      Site: http://www.thecosmicpath.com
      wp 4.3
      DMS 2.1.9.9
      Please advise and thanks-
      Kim, webmaster for thecosmicpath.com
       
       
      ***Wanted to add an update to this. I have a development site with all the same credentials. And the issue is not occuring on the dev site. Could this be a cache thing? I cleared broser caches and restarted but that didn't work.....
    • ricard.beltran@cfar.se
      By ricard.beltran@cfar.se+
      I've the dms free version from wp and I don't mange to upload no files. I've try to change the logo and to upload jpg-files as background of the sections, but when I reload the page every thing is gone! How can I solve this? See attachment

×