Jump to content

Archived

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

gabelloyd

DMS theme not recognized in localhost installation

Recommended Posts

gabelloyd    4
gabelloyd

I've Googled for the past hour on this, but I feel like this a really n00b question.  

 

Background: This is not my first website, but first Pagelines.

Platform:  WP 3.8

Theme:  DMS

Pagelines:  free

Local setup:  MAMP, php 5.5.3

Process of "loading files" on my local environment:  Drag theme folders into the "wp-content/themes" folder.  (this is how I work locally without problem, usually)

 

Goal:  Install DMS Theme for a local working environment, add a child theme.

 

I've downloaded the installed the DMS theme (free).  At first, I just loaded this to an existing project.  When I did not see the DMS in the Appearance> Themes area, I thought "Well, maybe the existing installation is conflicting with it?".  

 

I loaded the site to a test server and I was able to load the theme using the "upload a .zip file" method (not loading the file using my FTP client directly into the themes folder).  This works.  Hm.

 

I decided that I should try installing the DMS locally on a fresh install of WP.  Installed on a new database, new theme folder, again the DMS theme is not recognized.  Hm.  So, I loaded the base child theme I found on Github:  https://github.com/bearded-avenger/nicks-base-theme by copying these files into my themes folder, and THAT showed up (but of course is saying that it's parent theme 'dms' is not found).  

 

I'm stumped.  Can I not drag theme folders into the 'wp-content/themes/' folder for local installation?  Did I miss something in the documentation about working locally?  

 

Thanks for your help!

 

 

  • Like 1

Share this post


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

HI,

 

Not sure what your issue is.

 

I have about 30 installations of DMS using MAMP ?

 

What do you mean by can I not drag the themes folder into wp-content/themes/ ?

If you extract the zip for DMS so you're ended up with a folder called dms, then simply drag and drop this into your local installations wp-content/themes folder, then go to your local site Wordpress Admin Dashboard and hit refresh or go to Appearance > Themes, DMS should now be available.

 

If this isn't possible, can you provide screenshots of your local sites wp-content folder and themes folder please.

  • Like 1

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
gabelloyd    4
gabelloyd

Hi Danny,

 

I know, this seems ridiculous.  To clarify your question about "dragging my themes folder into wp-content/themes/", I did mean that I uncompress the dms.zip file that I download from Pagelines, and then drag that 'dms' folder into the wp-content/themes/ folder.

 

This morning I cleared the dms folder and the child theme I was attempting to setup on my localhost, redownloaded dms from Pagelines from the /my-account/ page, uncompressed the dms.zip file, dragged it to the wp-content/themes/ folder and still nothing.  

 

I've posted some images of my setup on Github:  https://github.com/alwaysbrightblue/DMS-Local-Setup/commit/93467d0bbbe6006cebb4ab50120f8ebd5e534ee3

 

Thank you for your help.

Share this post


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

Do you have any plugins active, if so disable them. I would also make Twenty Thirteen your default theme with all plugins disabled and then clear your browsers cache, history etc.. Then see if DMS is available in Appearance > Themes.

 

If that doesn't resolve your issue, where did you download DMS from ? PageLines.com or GitHub ?

If GitHub, attempt to download/install via the Wordpress theme installer the DMS version from PageLines.com


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
gabelloyd    4
gabelloyd

Disabled plugins, disabled and deleted other themes.  Made Twentythirteen the active theme.  Cleared the cache, history.  Emptied the trash, restarted the computer, still nothing.  

 

I've downloaded the files directly from Pagelines.  

 

How am I the only person this is happening to?

Share this post


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

I have no idea, why DMS isn't being recognised, if you have MAMP up and running, with Wordpress running just fine, then when you install DMS, it should be available in the themes folder. I have no issue whatsoever with my DMS local sites running through MAMP.

 

Have you installed using the Wordpress theme installer ? 


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
gabelloyd    4
gabelloyd

Well, on my local machine, I can't use the Wordpress installer because I get the FTP permissions error.  That's why I use the drag and drop method for my local devo environment.  

 

I'm going to try and uninstall the DMS copy on the remote testing server and see if that clears anything up.  The only thing I can think of is that because my first installation was the free version, somehow it's blocking any further installations, even though I've purchased a license.  

Share this post


Link to post
Share on other sites
Simon    247
Simon
The free version differs only slightly codewise.

Sounds to me like the user that php/apache is running under on your PC does not have permission to read the files you dragged into the themes folder.

Share this post


Link to post
Share on other sites
gabelloyd    4
gabelloyd

So, DMS needs to have different permissions than every other theme I've ever used?  If so, please let me know what the settings need to be for the user in order to view the dms theme folder.

Share this post


Link to post
Share on other sites
gabelloyd    4
gabelloyd

Holy moly!  I was Googling around for changing MAMP permissions.  I came across a few posts about changing permissions on files, which I didn't think I needed to check since I already set the 'themes' folder to 777.  It never occurred to me that the 'dms' folder itself would have it's own permissions that needed to be changed.  Not only did they need to be changed, but the file was set to 'NO ACCESS' by anyone, not just 'Read Only'.  I changed it to 'Read & Write' and viola!, it's available and works!!  Whoo hoo!!

 

For anyone else Googling this and needs to know how to change file permissions on a Mac:

  1. In Finder, select the 'dms' folder under your 'wp-content/themes' folder.
  2. Type 'Command + i'
  3. This brings up a dialogue box.  Unlock the box by clicking the locket icon in the lower corner.  You'll need your computer password to do this.
  4. Once unlocked, under 'Privileges', select the privileges you want to change.  Working on your local machine, choose "Read & Write". 
  5. Close the dialogue box.

Share this post


Link to post
Share on other sites
Simon    247
Simon
If you have MAMP running under your username/group you wont run in to these issues.

Share this post


Link to post
Share on other sites
gabelloyd    4
gabelloyd

Hi guys,

 

You can mark this as solved.  I would do it, but I don't see the button for some reason.

Share this post


Link to post
Share on other sites

  • Similar Content

    • Claude203
      By Claude203
      Is there a repository somewhere in a WordPress installation (the database?) for all of the section info/data created in a DMS2-based WordPress installation? In other words, if one wanted to replicate on a new DMS2-based site the entire collection of sections including exact preferences that were set up for an existing DMS2-based site, is it possible to just copy the file with those details into the new site's database? (I'm not talking about any LISS/CSS entries, which I am sure could be cut and pasted from the existing to the new, as-is.)
       
      Thank you.
    • atcdomainsolutions
      By atcdomainsolutions+
      I have heard many ways other developers create sites. Having been in business for myself for 2 years now, when I get ready to build a site for a client, I always create a folder off of my main domain name and then install Wordpress to that folder and create the site "live" basically. 

      I have now been reading how others build "locally" and then transfer to the client when they are complete. This is great and I have downloaded Xampp and set up two dummy sites pretty quickly and I LOVE the speed at which things move AND the fact I can develop anywhere.  
       
      I have 3 questions though:
       
      1.  Is there anyway to share the local site I'm developing on my computer with a client (minus doing screenshares)?  With it being local, I can only see it on my laptop but if someone else pulled that up, they, of course, would not be able to.  I thought I remember hearing a long time ago Xampp or Wamp or one of them had the ability to show your local site online to someone?
       
      2.  (I'm in bed now) but I will check tomorrow but I got to thinking as I laid down...since developing locally provides a huge speed increase in adding pages, content, plugins, etc, is it possible to work within DMS if I'm somewhere and DON'T have an internet connection or do I still need that connection "present" so when it has to talk to the server, it can?
       
      3.  What is the best way to deploy a local site to a live server for the client and will DMS fully switch over?  
       
      These may seem like silly questions but I have just now decided to build locally  and after playing around a bit today with it, I LOVE it and it seems to speed things up a lot and I can now stop adding tons of Wordpress installs off of my main domains.
    • reality
      By 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  :( 
    • alessandropascoli
      By alessandropascoli
      Does the personal profile being installed on a localhost server (my personal mac) for testing and building a theme? After that, can i install it on a real server online? Does that mean two (2) installation so the Personal profile is not right because is just for one (1) installation?   Thanks
    • Olly
      By Olly
      I am running MAMP PRO for local development. After considerable headaches (see my other post!), I have setup a local development environment at a special local domain name: www.mysite-localdev.com:8888
       
      The live site is located at www.mysite.com
       
      My question is, how can I use the Pagelines store in my local environment? I obviosly don't want to activate the local devlopemnt site address (www.mysite-localdev.com:8888), only the live site address, but I can't use the live site locally. If I activate it, does that use up one of my six product activations? If so, how can I get access to the store when developing locally without activating?
       
      Is the only way to do this, to use the same address for the local development site, as the live site (pushed local via the HOSTS file)?
×