Everything posted by ChrisSoutham
-
How many sites on a shared server is "OK"?
My dedicated server (that I run through a hosting company) reports 1000s of sites running off my server if I type in my domain. Typing in the IP address of the server itself reveals the true result (around 20). I would guess that the results you are seeing for your hosts, same as I was, are the result of load balancing and routing through some main switches.
- PayPal IPN Going Astray
-
PayPal IPN Going Astray
I've managed to track down my problems - no idea if it's the same for you. Looking through my IPN log I can see that the response from PayPal when you return data can be either: HTTP/1.1 100 Continue HTTP/1.1 200 OK or just: HTTP/1.1 200 OK Now if you are using the original (and still in place) basic code example from PayPal themselves then this line won't work: if (strcmp ($res, "VERIFIED") == 0) as the response with 100 Continue will result in a -1 rather than a 0. I've swapped the above line out for: if (preg_match("!(VERIFIED)\s*\Z!",$res) All seems to be well now, but boy did that take some tracking down - and even harder replicating!
- PayPal IPN Going Astray
-
Images not displaying after upload
If you want to drop me some access details, I can take a look for you.
-
Is Laravel easy to learn?
As you are a web guru/web developer I think it shouldn't too hard. Frameworks are an odd one if you are experienced because a lot of learning takes you back to basics, and I often think 'hang about I already know how to do this' but in the case of Laravel I think it's worth it. There's umpteen reasons to use it and having checked out loads of them I think Lavarel is the right choice right now. Worth checking out https://leanpub.com/codebright for a walkthrough of all of v4.
-
How does Wordpress work without php includes in template files?
You're thinking about it from the wrong angle. The template files are actually the last link in the chain - WordPress intercepts the request for a page from your browser, processes the various bits of data and then looks at the template file and puts it all together before finally outputting it to your screen.
-
Seo problems when converting static site to dynamic.
WordPress itself isn't good at SEO but the various plugins are but it's important that the theme supports them too. If you are looking to maintain your SEO rankings it's really important to remember: 1) structure - the actual markup of your pages - if <h1> is currently your page title, make sure the dynamic site copies this and doesn't make the <h1> your website's title (a lot of themes do this). 2) links - make sure (at least twice) that either old links properly redirect to new links (301 header) or that you maintain the same links as you switch from static to dynamic.
-
PHP is easy to learn or difficult?
I would definitely put in the easy category. Not saying it's stupidly simple but it does follow a lot of the same principles as other modern languages so once you've learnt the basics, things like javascript will make more sense. Try and learn PHP too rather than a framework, it'll help when you get stuck and can't figure out what it's doing, let alone how to fix it.
- Which is the best php frame work for developing a large scale professional network like linkedin or xing?
-
Do You Recognise These CMS's?
Well Ghost very definitely isn't a CMS, and never will be. Can't work out whether Mr Ben is being ironic - you had to learn a new language to use it?!
-
Web designers who follow back on Twitter
If you are more interested in following someone so they follow back then I think you've missed the point and are only interested in growing your followers for a reason that's beyond me. I make a point of only following people I'm interested in, I can barely keep up with tweets now, let alone if I followed everyone back!
- Which is the best php frame work for developing a large scale professional network like linkedin or xing?
- Q: migration from WP to Drupal
-
Renaming the wp-admin folder
No it's more for clients - they don't necessarily need to know it's WordPress that's hosting their website. With /wp-admin/ it becomes painfully obvious. @mantis, sadly all that plugin does is rewrite the initial call - nothing else, you still end up at /wp-admin
- Best CMS for a news website please?
-
htaccess friendly url problem
You didn't say there was an error? Add something like print_r($_GET) or var_dump($_GET) and see if the variable is being passed though. In your original call you say ?oak-furniture= whereas your .htaccess file says ?id=
-
Error message when installing theme
I think this is because you are uploading via the WordPress admin panel and have encountered a limit set by your host. Do you have FTP access to your website?
- Free Nice Dating Wordpress Theme
-
Wordpress Ecommerce Plugin
Take a look at WooCommerce. Think you'll be impressed.
- Theme similar to this one?
-
Renaming the wp-admin folder
Thanks, I should have said that I meant without hacking the original core of WordPress. I have done it the way you suggest as a test previously but it's not as easy as the plugins, wp-content, uploads folders which are all editable via the wp-config.php file.
-
Wordpress to Dreamweaver
Sounds like you've removed Wordpress and have hand built your website using Dreamweaver. You won't have any of the functionality of Wordpress (and wp-admin) if that's the case.
-
Renaming the wp-admin folder
Having done a lot of research it's not really possible. Seems very hard-coded.
-
Renaming the wp-admin folder
Hi, I've had a dabble in WordPress recently as a replacement for my custom built CMS's. Has anyone successfully renamed /wp-admin to something like /admin or /cms? /wp-content seems pretty easy to rename, but the /wp-includes and /wp-admin seem pretty rigid. There seem to plugins that redirect but you still end up at /wp-admin and there are tutorials but none for the latest release (3.6). Any help gratefully received Chris