Jump to content

Archived

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

reality

DMS Sections Missing On Localhost

Recommended Posts

reality    0
reality

Installing my website, which uses DMS, on localhost - almost all of my sections disappear. For some reason only "post loop" remains, and all media boxes, text boxes and so on are invisible or gone. I am still at dms 1.0.4 (I want to have it working locally before upgrading due to prior problems with DMS upgrades.)

mod_rewrite is enabled and permalinks are fine, just DMS content is missing. I've also tried exporting/importing the json settings from live to local but it made no difference. Is there something special I need to do in order to use dms on localhost??? It's driving me mad  :( 

Share this post


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

Once you've installed everything on the new site have you Flushed the LESS/CSS so it regenerates? DMS control panel > site settings > resets > Flush Less. Had someone with a similar issue before and it was down to the css/less urls needing to be recompiled.


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
reality    0
reality

Hi. Thanks for your reply.

 

I have "Global Options > Resets > Flush Caches" button - is this what you meant? I tried it just now on local host, no change. Tried disabling my hyper cache plugin and doing again, still no change. I'm still missing the sections etc..

Share this post


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

When you say disappear, are you saying that they were present when you first installed DMS ?

 

Also, DMS 1.0.4 is almost a year old, you should be keeping your DMS up to date. We can't really provide support to users who are experiencing issues with such an out of date version of DMS.

 

Can you provide the following information please.

 

1. Are your sections disappearing locally and on your live site or just locally ?

 

2. How have you created your local environment i.e. used an app such as MAMP/XAMPP ?

 

3. Why are you using a cache plugin when working locally and why is it active when you're still working on the site? Cache plugins should be the very last thing you enable.

 

4. Can you provide screenshots of:

a ) Your DMS sections so we can see what it looks like

b ) Can you enable DMS debug mode and take a screenshot of it.

c ) Are there are any errors in your browser when viewing your local site


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
reality    0
reality

Hi Danny,

 

Thanks for your reply. I know my version is out of date - any time I try to update DMS is causes problems with my site, sometimes leading to the white screen of death. Usually it has trouble deleting the old DMS folder and exits mid install. Anyway, this is why I haven't upgraded and would prefer to get it working on localhost first. I do want to get to latest DMS once I have everything working and am comfortable it will restore if anything goes wrong again. I apologies for incomplete information here as I'm a bit of a novice to this stuff I'm afraid :-/

 

1. They are only disappearing locally. I copy all files via ftp, export the database via phpmyadmin, and import to local, then update wp-config.php to reflect this. Everything else seems to work on localhost except for the missing dms sections.

 

2. I am on a mac. Not using MAMP as apache, php and mysql are already installed. I have enabled mod_rewrite on localhost.

3. OK I've disabled all cache plugins... in fact, I've disabled all plugins locally for testing this issue.

 

4. (How do enable DMS debug mode? Is it standard WP debug mode? Trying to figure out how to add attachments here :-/ but the error reads:
"Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /Users/paulduffy/Sites/site_dev/wp-includes/wp-db.php on line 1142"

And line 1142 of wp-db.php is as follows:

    1141.  if ( WP_DEBUG ) {
    1142.     $this->dbh = mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, $new_link, $client_flags );
    1143. } else {
    1144.    $this->dbh = @mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, $new_link, $client_flags );
    1145. }
 

4. (c) No errors when not in debug mode

Share this post


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

I think the issue is likely caused in how you have setup your local environment, as I have no issue with DMS using MAMP. I would recommend downloading MAMP and see if you encounter the same issue.

 

Using MAMP is recommend and will make your life much easier - http://codex.wordpress.org/Installing_WordPress_Locally_on_Your_Mac_With_MAMP

 

Let us know if or if not you encounter the same missing sections when using MAMP. If you do not then it is related to how you have configured your local environment or how you setup your site.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
reality    0
reality

OK I was trying to do without mamp. Installing mamp now gives me other problems (cannot connect to server) which I would need to resolve first, just so I can test if this is the problem with dms. All other wordpress features presently work fine on localhost. I am leaning towards moving away from dms altogether, due to constant problems I've had using it which eat up way more of my time than drag-and-drop ability saves.

Thank you for your support anyway.

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

@reality 

 

Let us know if we can help with the other problems and what they are. 


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

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