Doug Stewart on 7 Mar 2014 06:03:29 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Back to wordpress


In general, files under a WordPress install should belong to (web user):(web group). On RHEL derivatives, that means apache:apache, on Deb derivatives it's www-data:www-data, iirc. 

Additionally, from the root of your WP install, you should run a `find . -type f -exec chmod 660 {} \;` and a "-type d/chmod 771" equivalent as well. 

The Debug Bar plugin can be helpful in these situations, but only if you're actually logging errors. What is your display_errors set to in php.ini?

--
Doug Stewart

> On Mar 7, 2014, at 8:55 AM, "Eric H. Johnson" <ejohnson@camalytics.com> wrote:
> 
> All,
> 
> I poking around I see that it does not seem to be able to access the theme
> folder. It exists under wordpress/wp-content/themes. It had access
> privileges of drw------. I forced it to drw-rw-rw. Still not able to access
> the theme folder, where the only theme listed one named twentyfourteen, the
> theme used by the site is not listed although there is a folder for it under
> theme.
> 
> Thanks,
> Eric
> 
> 
> Doug, et al,
> 
> I got the permalinks thing working, although I am not 100% sure what did it.
> I was playing with a bunch of things, some unrelated before going back to
> working on permalinks, and I was suddenly able to write to .htaccess. I did
> install php5-cgi, so that may have done it.
> 
> At any rate, admin seems to be working fine. I can see the pages of the
> imported site, everything seems to be there, yet when I point the browser to
> the home page, I just get a blank page. No error message, and there is
> nothing in the apache2 error log either. I tried turning on debugging in wp,
> but don't see how that works. It seems to indicate that it will display
> debug information as part of the page display, but since I cannot get a page
> to display, it seems pretty worthless.
> 
> I think I have Apache configured and pointed correctly because all of the
> admin stuff works off same base URL, although I tried adding /wordpress to
> it and get the same blank page. I also did a view source to prove that the
> page really is blank, and it is.
> 
> How do I go about debugging this?
> 
> Thanks,
> Eric
> 
> 
> ___________________________________________________________________________
> Philadelphia Linux Users Group         --        http://www.phillylinux.org
> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
> 
> ___________________________________________________________________________
> Philadelphia Linux Users Group         --        http://www.phillylinux.org
> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug