Dave Naylor
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: site not loading at work locationI think it’s reasonable to say that your site is still in a compromised state. I just visited it via an iPad and was redirected to the romantic sounding instabang. There’s obviously some malicious code present somewhere on your site.
There’s not really an easy get out of jail card to deal with it. If you don’t know what you’re looking for, it may be prudent to gain the services of someone that does.
Forum: Fixing WordPress
In reply to: How to add a simple number that shows how many days has passed?Try this:
$date_one = new DateTime("2014-05-12"); $date_two = new DateTime("now"); $daydiff = $date_one->diff($date_two); if ($daydiff->days == 1) { $my_day = " day."; } else { $my_day = " days."; } echo "We've been established for " . $daydiff->days . $my_day;Forum: Everything else WordPress
In reply to: Tracking file changes without SVNForum: Everything else WordPress
In reply to: Tracking file changes without SVNGit? It’s integrated so heavily into my workflow that I can’t imagine being without it these days. Even better combined with wp-cli. Better still when you deploy sites with something like Mina.
Forum: Fixing WordPress
In reply to: Canon Camera Pics@froewi I was able to successfully upload an image so as Esmi rightly points out, we can rule the camera out of the equation and it’s probably a theme/plugin/hosting issue.
You’ll have to work through Esmi’s list.
Forum: Fixing WordPress
In reply to: Pages displaying HTML CodeAre you copying and pasting that code from another application?
Forum: Fixing WordPress
In reply to: Canon Camera Pics3.6MB isn’t that big but what I think is happening is this. When you upload the image, your theme creates the small thumbnails but it’s falling over on the larger images, possibly due to limited memory available to PHP. What WordPress then does is allocate a 1x1px size to the image as a default.
Is it possible that your theme creates several image sizes on upload thereby testing the server’s resources? Also, do you have access to your server error logs?
Lastly, can you upload a raw image somewhere, I don’t mind testing on my sandbox site to see if I can correctly upload.
You might also want to try uploading the images when using the default theme to see if that has an effect.
Forum: Fixing WordPress
In reply to: Canon Camera PicsWhat are the comparative sizes of the images you are uploading. Say comparing your camera phone to your new Canon?
Forum: Fixing WordPress
In reply to: Update to 3.9.1 Made my Images GlitchFirefox 29.0.1 on OSX 10.9.2
Firefox 29.0.1 on Arch Linux
Firefox Beta 30.0 on Android Kit KatAll showed the cartoon
Forum: Fixing WordPress
In reply to: numberposts is not working for meUse
posts_per_pageForum: Localhost Installs
In reply to: Multiple WordPress sites on same server won't install themes.Create a new group, call it whatever you want. Let’s say www. Add the apache user (I think it’s simply apache on CentOS) and the user to the group.
groupadd www usermod -a -G www user usermod -a -G www apache cd /home/user chown -R user:www html/ find html/ -type d -exec chmod 775 {} \; find html/ -type f -exec chmod 664 {} \;I think that’ll do the trick.
All you’re doing is giving group write accecs to a small group containing just your user and the web server.
Forum: Fixing WordPress
In reply to: Page went missing have got it elsewhere but now whatWhat about the Way Back Machine
I think your post appears there.
Forum: Fixing WordPress
In reply to: Page went missing have got it elsewhere but now whatPaste the text into a text editor and use its search and replace function.
Forum: Fixing WordPress
In reply to: WordPress 3.9.1 gallery Tool tip tagYou need to provide the URL to your site.
Forum: Fixing WordPress
In reply to: Same wordpress site on 2 different computersI did a check at GTMetrix here. It’s the image heavy content that’s affecting the speed I think. There are some recommendations at GTMetrix.