Latest

Month Names in PHP

One simple thing I keep having to do over and over again is to display the name of the month for a given date.  Normally I have opted to use the first solution that comes to mind which is creating an array with all the month names in it and then when I want to retrieve the month name I just use

What I was expecting was:-

Read more

Magento - Virtual Host Configuration Problems

A few weeks ago the company I work for was changing the server that several client sites are hosted on and this included a website built up using the eCommerce package magento.  All of the migrations went ahead without any problems with the exception of this magento site and it had a couple of us stumped for quite a while.

We followed the basic plan for the migration:-

Read more

Zend clearIdentity() and IE7 and Chrome Caching Problems

A few weeks ago I posted a blog entry about problems with Zend clearIdentity() with IE7 and Chrome but I've since found that the Zend Framework was not at the root of the problem.  After discussing the problem with a colleague we found that there was a line in the bootstrap.html"language-php"> ini_set('session.cache_limiter', 'private'); This seems to be what was causing all our clearIdentity() issues.  This seems to give over caching control to the browser hence the reason why Firefox worked fine, IE7 intermittantly worked and Chrome couldn't care less.  We changed this to:-

ini_set('session.cache_limiter', 'none');

and straight away all our clearIdentity() problems in IE7 and Google Chrome disappeared and everything started working as we would expect.

Read more

The local print spooler service is not running - Vista

A few months back both my Windows Vista (Business) computers would not longer print even though they had been printing fine for months.  I tried

Regardless what I tried neither of the Windows Vista computers would allow me to printer and always presented me with the following error when trying to add a printer and almost always when the computer booted:-

Read more

Zend clearIdentity() Problems in IE7 and Chrome

Today I have found a new nemesis in the form of the Zend Framework!  I have been working on a client website that for some reason just will not allow them to log out properly when they're using IE7 or Google Chrome but it works fine in Firefox (please don't post the "get a better browser" comments as it's really not very helpful).

I've check the online examples and my logout function is identical, line for line, as the examples.

Read more

eSense Visualisers - Friend or Foe?

For several months now I've been using eSense Visualizers for Microsoft Sharepoint to output the contents of a database in a meaningful and easy to understand view that is suitable for the client, although lately I've not been using it as much.  Just this morning I've had to use it for a few hours again and I'm quickly remembering why I don't like it and I have several issues that bug me (and I'm hoping it's not just me).  These include:-

  • When copying a query into eSense Visualizers (from notepad or Microsoft SQL Server Management Studio) it puts strange characters into the editor window which do not seem to cause any problems with the query running but does result in error message dialog boxes each time you go to the query editor.  The only way I've solved this so far is to save the query as a view or stored procedure and call that from eSense Visualizers.
  • Formatting can take ages to apply and can be lost if the query changes even slightly and although it is a little more stable when you use stored procedures but it can still be a royal pain.  As the project progressed some of the stored procedure names are not accurate now but I'm extremely hesistant to rename then as I'm pretty sure I'll have to re-do the formatting for a large proportion of the entities I have created.
  • There doesn't seem to be an easy way to copy a entity and I've spend hours creating entities and formatting them when I could have been done in around 30 minutes if I could simply have copied the entity and changed a parameter value.
  • When updating a query the data on the screen does not always refresh right away and I have to edit the web part and click "Apply" before it will show the updated results.  I can understand that the caching is to try and avoid too many of the same queries being sent to the database, however, I can loose a good bit of time because I have to go through this process each time I update the query for entity and on a server that has decided it's time for a go-slow... it's not too good!

I don't know if these are in to be addressed in future releases (or if there is currently configuration option I don't know about) but I hope so as it would certainly make my life a good bit easier.

Read more

Redirect your blog.wordpress.org to your own domain name

Having  just set up WordPress on here this morning one additional thing I wanted to do which was to put a redirect in place to redirect my sub domain on wordpress.org (which is https://chrisshennan.wordpress.com) to point to my own domain name.

My main reason for doing this was that when I comment on some of my friends blogs (mainly those on blogspot) I have posted the comment using my WordPress profile which only allows me to enter my wordpress username which then links to username.wordpress.com.  As a result I would have to be adding my new blogs entries to 2 blogs which would be a waste of time and bad in terms or SEO (duplicated content resulting in a lower search engine listings).

Read more

Reading List

Medium

Medium

How a single change boosted organic traffic by 40%

How a single change boosted organic traffic by 40%

The SEO world can sometimes be a confusing maze of contradictions. Read more

Louder Than Ten

Design machines

Design machines

A dystopian view of an internet designed by machines, and the mushy, emotional weapons we can use to fight back. Read more

verraes.net

verraes.net

Sensible Interfaces

Sensible Interfaces

How did we get from 'Program to an interface, not to an implementation' to 'Just slap an interface on there, it's the fashionable thing to do'? Read more

Moz

Moz

The Linkbait Bump: How Viral Content Creates Long-Term Lift in Organic Traffic - Whiteboard Friday

The Linkbait Bump: How Viral Content Creates Long-Term Lift in Organic Traffic - Whiteboard Friday

A fantastic piece of content can lift your traffic curves to a "new normal." In today's Whiteboard Friday, Rand talks about exactly how that happens, and how you can create content that has that effect. Read more

Loige

Loige

6 Rules of thumb to build blazing fast web applications (server side)

6 Rules of thumb to build blazing fast web applications (server side)

In this post are described 6 extremely important rules you should take under consideration when writing your next web application Read more

SitePoint

SitePoint

Console Wars - PHP CLI Libraries

Console Wars - PHP CLI Libraries

Nicola Pietroluongo compares three popular PHP console libraries, building the same functionality in each. Wondering which one is right for you? Find out! Read more

Advertisement

Digital Ocean