stat failed filemtime() Codeigniters assetlib-pro on a plesk server

I came across this error when I was trying to implementing the Assetlib-pro CodeIgniter library for adding assets etc to your project.

A PHP Error was encountered

Severity: Warning

Message: filemtime() [function.filemtime]: stat failed for
/var/www/vhosts/domain.com/assets/styles_1.css

Filename: libraries/Assetlibpro.php

Line Number: 218

Now because of my setup from EukHost in the uk I use plesk as my admin system, which obviously has custom rules etc for how php and apache behave together and how they are setup. For some reason the assetlib code could correctly get to the styles I had defined in the assetlib config file – ‘/assets/’, but I had to manually change a line of code in the assetlib library file.

» Read more…

Changing Flashfxp’s Default Text Editor to Notepad++

I’m a big fan of Notepad++ its a great advanced yet very simple IDE for simple and quick edits when you need it to. If you’ve ever used or are using Flashfxp then you’ll know it’s a great application and works very well for ftp’ing files! However when it comes to quick edits to your sites files (PHP for example) it really lets itself down. But what if you could combine these two great programs i here you ask? Well if you read on I’ll explain exactly how! » Read more…