If you use Netbeans then you have no doubt seen the red wavy underline that pops under lines that have errors. Unfortunatley if your errors relate to punctuation, eg concatenation full stops, then the red wavy line can actually obscure these making finding and fixing the error tricky. An nice alternative is to set Netbeans [...]
Archive: error
Posts Tagged ‘error’
Found this great article on writing bash scripts defensively. Glad to say most of the advice we are already following with our bash scripts however there are a couple of new things I intend to roll in on Monday. Recommended reading for anyone scripting in Bash. http://www.davidpashley.com/articles/writing-robust-shell-scripts.html More Reading:Server Migration – Pipe Tar from Server [...]
If you are building something that is opening a terminal, perhaps a fancy URL handler or something similar but there are errors causing the terminal to instantly close, then this is the solution for you. It's actually really simple! Create a new profile Select the "Title and Command" tab at the bottom there is an [...]
When migrating one server to another you often hit bumps in the road. Todays was transferring a database from one server to another. During this standard procedure I found that the restored database was missing a few tables. Irritating as Magento doesn't like missing tables. Digging down into the backup and extracting the first missing [...]
Today I was working on an oscommerce site and took a backup of their database, created the usual details from their config file on my local mysql and the above error came up (with admin@localhost for what it's worth). Upon investigation, a trigger had been created on the database whilst logged in via a different [...]
If you are struggling with a weird bug with DomPDF, something about it trying to connect to a postgres database.. well here is the solution that will get you up and running: open the file and make the init method just return false PLAIN TEXT PHP: class Page_Cache { const DB_USER = "dompdf_page_cache"; [...]
If you are looking for a light weight, fast, PHP based yet fully featured issue tracking system, Elastik is a great choice. Here is a quick start guide for it's usage. The Problem When working on any type of development project be it a design, programming even construction problems within the project will almost certainly [...]
If you prefer a coding style that doesn't let you get away with as much as PHP does by default then you may like this trick. As standard PHP will let you get away with quite a lot of things that are probably not a good idea. Some times that can be great, allowing you [...]
If you get the error: Got error 28 from storage engine query When you are trying to access your web site, database or phpMyAdmin then the problem is likely to be that you have run out of hard disk space. If you have command line access you can quickly check this by running PLAIN TEXT [...]
If you are struggling to figure out why your Sed script is failing this could well be the solution. Every example you see using sed specifies / as a delimiter. Now what if your pattern actually includes a slash in the body text? If you are using a variable you might not realise that you [...]