by John Cooper on Thu, 09/05/2013 - 19:53
While developing a PHP SOAP service, I ran across this error after doing some updates to a WSDL:
Procedure '[name]' not present
This seems to suggest a problem with the class loaded into the SOAP server, but in fact it is typically more of a problem with the WSDL. There are a number of causes for this, I've rounded up a few of them here...
by John Cooper on Tue, 26/03/2013 - 00:21
I have spent considerable time over the past week going through the backlog of unapproved comments on my blog (yes, which had one post until now). Somewhere upwards of 500 comments, every single one of them spam. Mostly drug related posts with the occasional fake designer shoes or handbags thrown in. Last time it was a spammer trying to post large chunks of misquoted Ender’s Saga anyway with a lone spam link in the middle, which at least proved a little interesting.
by John Cooper on Tue, 18/09/2012 - 23:35
If you are developing on your desktop and FTPing files up to your server, you can quickly end up with a mess of .svn or .git folders or files hanging around making a mess of things (you are using version control, right?). Apart from being untidy, these files can wind up as a security risk if they end up on a live site. There are a number of methods you can try to keep them at bay - avoid selecting them for upload or mark them as hidden, but another convenient way is to tell your FTP client from sending them.
Looking at two popular clients - FileZilla and WinSCP - we can see how this can be done. Essentially we are filtering what is sent on name, so the technique can apply to any other files you wouldn't want to upload (such as Window's "desktop.ini" files). You'll just have to keep in mind that it is happening in the background - trying to debug where plugin.svn.php got to could be frustrating.