Simple Invoices logo
    • CommentAuthorparrales
    • CommentTimeOct 30th 2007 edited
     permalink
    Fatal error: Call to undefined function getNumberOfPatches() in /var/www/simpleinvoices/index.php on line 53

    then, after reload

    Fatal error: Smarty error: unable to write to $compile_dir '/var/www/simpleinvoices/cache'. Be sure $compile_dir is writable by the web server user. in /var/www/simpleinvoices/include/smarty/Smarty.class.php on line 1095

    Need to either fix or down-grade again.

    Thanks,
    • CommentAuthorjustin
    • CommentTimeOct 31st 2007 edited
     permalink
    Hey Parrales,

    re the first error
    - when you say reload - was that when you did a refresh in your browser or something else?

    re the smarty error
    - to fix this chmod -Rv 777 the cache directory

    chmod -Rv 777 ./cache*

    - unfortunately i haven't upgraded the documentation to specify that this directory needs to be writeable - will do

    let me know if this fixes your problem

    Cheers

    Justin
    • CommentAuthorparrales
    • CommentTimeNov 6th 2007 edited
     permalink
    Justin,

    re: re first error
    - Sorry, I meant re-install

    re: re Smarty error
    - done. It worked OK. Very important to include this issue on documentation.

    We love this new version.

    Regards
    • CommentAuthorjustin
    • CommentTimeNov 6th 2007 edited
     permalink
    Hey Parrales,

    good to hear it all works now

    i'll make sure the documentation is updated real soon re the cache dir

    Cheers

    Justin