Cache dir writable
  • January 1970 Edit

    Hi,
    I installed SimpleInvoices for the first time. Most of all work fine. Although the installation says make cache dir writable for the webserver (apache). So I did but still get the error message saying it's not writable when I try to export a pdf. Even chmod 777 does not disappear the error. The webserver owner is 'apache'. Anybody any idea.
    Thanks Ed

  • justinjustin September 2007

    Hey Delapatte

    could you please post the result of
    ls -lah ./pdf
    ls -lah ./pdf/cache
    ls -lah ./pdf/out
    ls -lah ./cache

    Cheers

    Justin

    SmarterInvoices.com :: Simple Invoices hosting | Kelly.org.au :: Simple Invoices custom development | justin.kelly.org.au
  • tlpinspwtlpinspw September 2007

    [quote=justin]
    Hey Delapatte

    could you please post the result of
    ls -lah ./pdf
    ls -lah ./pdf/cache
    ls -lah ./pdf/out
    ls -lah ./cache

    Cheers

    Justin


    I am having the exact problem. Here is the output you requested

    debian:/var/www/simpleinvoices# ls -lah ./pdf
    total 1.8M
    drwxr-xr-x 12 root root 16K 2007-08-31 11:24 .
    drwxr-xr-x 12 root root 4.0K 2007-09-12 10:15 ..
    -rwxr-xr-x 1 root root 7.4K 2006-09-25 23:18 background.image.php
    -rwxr-xr-x 1 root root 3.9K 2006-09-25 23:18 background.php
    -rwxr-xr-x 1 root root 2.3K 2006-09-25 23:18 background.position.php
    -rwxr-xr-x 1 root root 5.8K 2006-09-25 23:18 box.block.inline.php
    -rwxr-xr-x 1 root root 21K 2006-09-25 23:18 box.block.php
    -rwxr-xr-x 1 root root 752 2006-09-25 23:18 box.body.php
    -rwxr-xr-x 1 root root 5.7K 2006-09-25 23:18 box.br.php
    -rwxr-xr-x 1 root root 4.6K 2006-09-25 23:18 box.button.php
    -rwxr-xr-x 1 root root 999 2006-09-25 23:18 box.button.reset.php
    -rwxr-xr-x 1 root root 2.9K 2006-09-25 23:18 box.button.submit.php
    -rwxr-xr-x 1 root root 6.5K 2006-09-25 23:18 box.checkbutton.php
    -rwxr-xr-x 1 root root 35K 2006-09-25 23:18 box.container.php
    -rwxr-xr-x 1 root root 2.2K 2006-09-25 23:18 box.field.pageno.php
    -rwxr-xr-x 1 root root 2.3K 2006-09-25 23:18 box.field.pages.php
    -rwxr-xr-x 1 root root 720 2006-09-25 23:18 box.form.php
    -rwxr-xr-x 1 root root 6.1K 2006-09-25 23:18 box.frame.php
    -rwxr-xr-x 1 root root 36K 2006-09-25 23:18 box.generic.formatted.php
    -rwxr-xr-x 1 root root 4.3K 2006-09-25 23:18 box.generic.inline.php
    -rwxr-xr-x 1 root root 1.5K 2006-09-25 23:18 box.generic.php
    -rwxr-xr-x 1 root root 2.8K 2006-09-25 23:18 box.iframe.php
    -rwxr-xr-x 1 root root 7.9K 2006-09-25 23:18 box.img.php
    -rwxr-xr-x 1 root root 2.4K 2006-09-25 23:18 box.inline.control.php
    -rwxr-xr-x 1 root root 15K 2006-09-25 23:18 box.inline.php
    -rwxr-xr-x 1 root root 4.1K 2006-09-25 23:18 box.input.img.php
    -rwxr-xr-x 1 root root 2.2K 2006-09-25 23:18 box.input.password.php
    -rwxr-xr-x 1 root root 1.7K 2006-09-25 23:18 box.input.textarea.php
    -rwxr-xr-x 1 root root 3.0K 2006-09-25 23:18 box.input.text.php
    -rwxr-xr-x 1 root root 1.6K 2006-09-25 23:18 box.legend.php
    -rwxr-xr-x 1 root root 5.3K 2006-09-25 23:18 box.list-item.php
    -rwxr-xr-x 1 root root 914 2006-09-25 23:18 box.null.php
    -rwxr-xr-x 1 root root 18K 2006-09-25 23:18 box.php
    -rwxr-xr-x 1 root root 3.3K 2006-09-25 23:18 box.radiobutton.php
    -rwxr-xr-x 1 root root 4.5K 2006-09-25 23:18 box.select.php
    -rwxr-xr-x 1 root root 6.9K 2006-09-25 23:18 box.table.cell.php
    -rwxr-xr-x 1 root root 49K 2006-09-25 23:18 box.table.php
    -rwxr-xr-x 1 root root 6.6K 2006-09-25 23:18 box.table.row.php
    -rwxr-xr-x 1 root root 1.5K 2006-09-25 23:18 box.table.section.php
    -rwxr-xr-x 1 root root 7.3K 2006-09-25 23:18 box.text.php
    -rwxr-xr-x 1 root root 1.4K 2006-09-25 23:18 box.text.string.php
    -rwxr-xr-x 1 root root 1.7K 2006-09-25 23:18 box.utils.text-align.inc.php
    -rwxr-xr-x 1 root root 3.4K 2006-09-25 23:18 box.whitespace.php
    drwxr-xr-x 2 root root 4.0K 2007-08-31 11:33 cache
    drwxr-xr-x 3 root root 4.0K 2007-08-31 11:24 classes
    -rwxr-xr-x 1 root root 1.1K 2006-09-25 23:18 color.php
    -rwxr-xr-x 1 root root 3.9K 2007-05-04 08:37 config.inc.php
    -rwxr-xr-x 1 root root 6.2K 2006-09-25 23:18 config.parse.php
    -rwxr-xr-x 1 root root 458 2006-09-25 23:18 content_type.class.php
    -rwxr-xr-x 1 root root 1.2K 2006-09-25 23:18 converter.class.php
    -rwxr-xr-x 1 root root 2.5K 2006-09-25 23:18 css.apply.inc.php
    -rwxr-xr-x 1 root root 1.6K 2006-09-25 23:18 css.background.color.inc.php
    -rwxr-xr-x 1 root root 817 2006-09-25 23:18 css.background.image.inc.php
    -rwxr-xr-x 1 root root 1.9K 2006-09-25 23:18 css.background.inc.php
    -rwxr-xr-x 1 root root 3.5K 2006-09-25 23:18 css.background.position.inc.php
    -rwxr-xr-x 1 root root 1.3K 2006-09-25 23:18 css.background.repeat.inc.php
    -rwxr-xr-x 1 root root 615 2006-09-25 23:18 css.border.collapse.inc.php
    -rwxr-xr-x 1 root root 18K 2006-09-25 23:18 css.border.inc.php
    -rwxr-xr-x 1 root root 38 2006-09-25 23:18 css.border.style.inc.php
    -rwxr-xr-x 1 root root 350 2006-09-25 23:18 css.bottom.inc.php
    -rwxr-xr-x 1 root root 630 2006-09-25 23:18 css.clear.inc.php
    -rwxr-xr-x 1 root root 713 2006-09-25 23:18 css.color.inc.php
    -rwxr-xr-x 1 root root 9.2K 2006-09-25 23:18 css.colors.inc.php
    -rwxr-xr-x 1 root root 599 2006-09-25 23:18 css.content.inc.php
    -rwxr-xr-x 1 root root 22K 2006-09-25 23:18 css.defaults.inc.php
    -rwxr-xr-x 1 root root 907 2006-09-25 23:18 css.display.inc.php
    -rwxr-xr-x 1 root root 687 2006-09-25 23:18 css.float.inc.php
    -rwxr-xr-x 1 root root 8.6K 2006-09-25 23:18 css.font.inc.php
    -rwxr-xr-x 1 root root 104 2006-09-25 23:18 css.frame.inc.php
    -rwxr-xr-x 1 root root 2.6K 2006-09-25 23:18 css.height.inc.php
    -rwxr-xr-x 1 root root 7.2K 2006-09-25 23:18 css.inc.php
    -rwxr-xr-x 1 root root 340 2006-09-25 23:18 css.left.inc.php
    -rwxr-xr-x 1 root root 2.7K 2006-09-25 23:18 css.line-height.inc.php
    -rwxr-xr-x 1 root root 798 2006-09-25 23:18 css.list-style-image.inc.php
    -rwxr-xr-x 1 root root 1.7K 2006-09-25 23:18 css.list-style.inc.php
    -rwxr-xr-x 1 root root 567 2006-09-25 23:18 css.list-style-position.inc.php
    -rwxr-xr-x 1 root root 3.7K 2006-09-25 23:18 css.list-style-type.inc.php
    -rwxr-xr-x 1 root root 3.8K 2006-09-25 23:18 css.margin.inc.php
    -rwxr-xr-x 1 root root 669 2006-09-25 23:18 css.overflow.inc.php
    -rwxr-xr-x 1 root root 3.7K 2006-09-25 23:18 css.padding.inc.php
    -rwxr-xr-x 1 root root 233 2006-09-25 23:18 css.page-break-after.inc.php
    -rwxr-xr-x 1 root root 725 2006-09-25 23:18 css.page-break.inc.php
    -rwxr-xr-x 1 root root 14K 2006-09-25 23:18 css.parse.inc.php
    -rwxr-xr-x 1 root root 414 2006-09-25 23:18 css.parse.media.inc.php
    -rwxr-xr-x 1 root root 989 2006-09-25 23:18 css.position.inc.php
    -rwxr-xr-x 1 root root 11 2006-09-25 23:18 css.pseudo.add.margin.inc.php
    -rwxr-xr-x 1 root root 1.7K 2006-09-25 23:18 css.pseudo.align.inc.php
    -rwxr-xr-x 1 root root 1.1K 2006-09-25 23:18 css.pseudo.cellpadding.inc.php
    -rwxr-xr-x 1 root root 1.1K 2006-09-25 23:18 css.pseudo.cellspacing.inc.php
    -rwxr-xr-x 1 root root 313 2006-09-25 23:18 css.pseudo.form.action.inc.php
    -rwxr-xr-x 1 root root 329 2006-09-25 23:18 css.pseudo.form.radiogroup.inc.php
    -rwxr-xr-x 1 root root 333 2006-09-25 23:18 css.pseudo.link.destination.inc.php
    -rwxr-xr-x 1 root root 843 2006-09-25 23:18 css.pseudo.link.target.inc.php
    -rwxr-xr-x 1 root root 353 2006-09-25 23:18 css.pseudo.listcounter.inc.php
    -rwxr-xr-x 1 root root 893 2006-09-25 23:18 css.pseudo.localalign.inc.php
    -rwxr-xr-x 1 root root 444 2006-09-25 23:18 css.pseudo.nowrap.inc.php
    -rwxr-xr-x 1 root root 369 2006-09-25 23:18 css.pseudo.table.border.inc.php
    -rwxr-xr-x 1 root root 451 2006-09-25 23:18 css.right.inc.php
    -rwxr-xr-x 1 root root 2.6K 2006-09-25 23:18 css.rules.inc.php
    -rwxr-xr-x 1 root root 7.7K 2006-09-25 23:18 css.selectors.inc.php
    -rwxr-xr-x 1 root root 1.3K 2006-09-25 23:18 css.text-align.inc.php
    -rwxr-xr-x 1 root root 1.1K 2006-09-25 23:18 css.text-decoration.inc.php
    -rwxr-xr-x 1 root root 1.4K 2006-09-25 23:18 css.text-indent.inc.php
    -rwxr-xr-x 1 root root 398 2006-09-25 23:18 css.top.inc.php
    -rwxr-xr-x 1 root root 2.5K 2006-09-25 23:18 css.utils.inc.php
    -rwxr-xr-x 1 root root 931 2006-09-25 23:18 css.valign.inc.php
    -rwxr-xr-x 1 root root 6.3K 2006-09-25 23:18 css.vertical-align.inc.php
    -rwxr-xr-x 1 root root 738 2006-09-25 23:18 css.visibility.inc.php
    -rwxr-xr-x 1 root root 709 2006-09-25 23:18 css.white-space.inc.php
    -rwxr-xr-x 1 root root 919 2006-09-25 23:18 css.width.inc.php
    -rwxr-xr-x 1 root root 273 2006-09-25 23:18 css.z-index.inc.php
    -rw-r--r-- 1 root root 208 2006-09-25 23:18 .cvsignore
    drwxr-xr-x 2 root root 4.0K 2007-08-31 11:24 demo
    -rwxr-xr-x 1 root root 362 2006-09-25 23:18 destination.browser.class.php
    -rwxr-xr-x 1 root root 555 2006-09-25 23:18 destination.download.class.php
    -rwxr-xr-x 1 root root 339 2007-05-04 08:37 destination.file.class.php
    -rwxr-xr-x 1 root root 641 2006-09-25 23:18 destination._http.class.php
    -rwxr-xr-x 1 root root 536 2006-09-25 23:18 destination._interface.class.php
    -rwxr-xr-x 1 root root 1.2K 2006-09-25 23:18 doc.anchor.class.php
    -rwxr-xr-x 1 root root 2.7K 2006-09-25 23:18 dom.activelink.inc.php
    -rwxr-xr-x 1 root root 1.7K 2006-09-25 23:18 dom.php5.inc.php
    -rwxr-xr-x 1 root root 15K 2006-09-25 23:18 encoding.cp1251.inc.php
    -rwxr-xr-x 1 root root 15K 2006-09-25 23:18 encoding.cp866.inc.php
    -rwxr-xr-x 1 root root 15K 2006-09-25 23:18 encoding.dingbats.inc.php
    -rwxr-xr-x 1 root root 27K 2006-09-25 23:18 encoding.entities.inc.php
    -rwxr-xr-x 1 root root 49K 2006-09-25 23:18 encoding.glyphs.inc.php
    -rwxr-xr-x 1 root root 920 2006-09-25 23:18 encoding.inc.php
    -rwxr-xr-x 1 root root 15K 2006-09-25 23:18 encoding.iso-8859-10.inc.php
    -rwxr-xr-x 1 root root 14K 2006-09-25 23:18 encoding.iso-8859-11.inc.php
    -rwxr-xr-x 1 root root 15K 2006-09-25 23:18 encoding.iso-8859-13.inc.php
    -rwxr-xr-x 1 root root 15K 2006-09-25 23:18 encoding.iso-8859-14.inc.php
    -rwxr-xr-x 1 root root 15K 2006-09-25 23:18 encoding.iso-8859-15.inc.php
    -rwxr-xr-x 1 root root 15K 2006-09-25 23:18 encoding.iso-8859-1.inc.php
    -rwxr-xr-x 1 root root 20K 2006-09-25 23:18 encoding.iso-8859-2.inc.php
    -rwxr-xr-x 1 root root 20K 2006-09-25 23:18 encoding.iso-8859-3.inc.php
    -rwxr-xr-x 1 root root 15K 2006-09-25 23:18 encoding.iso-8859-4.inc.php
    -rwxr-xr-x 1 root root 15K 2006-09-25 23:18 encoding.iso-8859-5.inc.php
    -rwxr-xr-x 1 root root 14K 2006-09-25 23:18 encoding.iso-8859-7.inc.php
    -rwxr-xr-x 1 root root 15K 2006-09-25 23:18 encoding.iso-8859-9.inc.php
    -rwxr-xr-x 1 root root 15K 2006-09-25 23:18 encoding.koi8-r.inc.php
    -rwxr-xr-x 1 root root 13K 2006-09-25 23:18 encoding.symbol.inc.php
    -rwxr-xr-x 1 root root 21K 2006-09-25 23:18 encoding.windows-1250.inc.php
    -rwxr-xr-x 1 root root 15K 2006-09-25 23:18 encoding.windows-1251.inc.php
    -rwxr-xr-x 1 root root 20K 2006-09-25 23:18 encoding.windows-1252.inc.php
    -rwxr-xr-x 1 root root 721 2006-09-25 23:18 fetched_data.file.class.php
    -rwxr-xr-x 1 root root 419 2006-09-25 23:18 fetched_data._html.class.php
    -rwxr-xr-x 1 root root 300 2006-09-25 23:18 fetched_data._interface.class.php
    -rwxr-xr-x 1 root root 1.4K 2006-09-25 23:18 fetched_data.url.class.php
    -rwxr-xr-x 1 root root 1021 2006-09-25 23:18 fetcher._interface.class.php
    -rwxr-xr-x 1 root root 378 2006-09-25 23:18 fetcher.local.class.php
    -rwxr-xr-x 1 root root 13K 2006-09-25 23:18 fetcher.url.class.php
    -rwxr-xr-x 1 root root 2.1K 2006-09-25 23:18 filter.data.doctype.class.php
    -rwxr-xr-x 1 root root 222 2006-09-25 23:18 filter.data.html2xhtml.class.php
    -rwxr-xr-x 1 root root 144 2006-09-25 23:18 filter.data._interface.class.php
    -rwxr-xr-x 1 root root 748 2006-09-25 23:18 filter.data.utf8.class.php
    -rwxr-xr-x 1 root root 176 2006-09-25 23:18 filter.data.xhtml2xhtml.class.php
    -rwxr-xr-x 1 root root 410 2006-09-25 23:18 filter.output.gzip.class.php
    -rwxr-xr-x 1 root root 259 2006-09-25 23:18 filter.output._interface.class.php
    -rwxr-xr-x 1 root root 1.4K 2006-09-25 23:18 filter.output.ps2pdf.class.php
    -rwxr-xr-x 1 root root 148 2006-09-25 23:18 filter.post._interface.class.php
    -rwxr-xr-x 1 root root 1.7K 2006-09-25 23:18 filter.pre.fields.class.php
    -rwxr-xr-x 1 root root 1012 2006-09-25 23:18 filter.pre.headfoot.class.php
    -rwxr-xr-x 1 root root 466 2006-09-25 23:18 filter.pre.height-constraint.class.php
    -rwxr-xr-x 1 root root 166 2006-09-25 23:18 filter.pre._interface.class.php
    -rwxr-xr-x 1 root root 12K 2006-09-25 23:18 flow_context.class.inc.php
    -rwxr-xr-x 1 root root 816 2006-09-25 23:18 flow_viewport.class.inc.php
    -rwxr-xr-x 1 root root 4.2K 2006-09-25 23:18 font.class.php
    -rwxr-xr-x 1 root root 236 2006-09-25 23:18 font.constants.inc.php
    -rwxr-xr-x 1 root root 624 2006-09-25 23:18 font_factory.class.php
    -rwxr-xr-x 1 root root 5.7K 2006-09-25 23:18 font.resolver.class.php
    drwxr-xr-x 2 root root 4.0K 2007-08-31 11:24 fonts
    drwxrwxr-x 3 www-data www-data 4.0K 2007-08-31 11:24 fpdf
    -rwxr-xr-x 1 root root 7.4K 2006-09-25 23:18 height.php
    drwxr-xr-x 6 root root 4.0K 2007-08-31 11:24 help
    -rw-r--r-- 1 root root 26 2006-09-25 23:18 .htaccess
    -rwxr-xr-x 1 root root 7.8K 2006-09-25 23:18 html2ps.config
    -rwxr-xr-x 1 root root 7.9K 2007-05-04 07:32 html2ps.php
    -rwxr-xr-x 1 root root 27K 2006-09-25 23:18 html.attrs.inc.php
    -rwxr-xr-x 1 root root 718 2006-09-25 23:18 html.list.inc.php
    -rwxr-xr-x 1 root root 4.7K 2006-09-25 23:18 image.class.php
    -rwxr-xr-x 1 root root 15K 2006-09-25 23:18 index.php
    -rwxr-xr-x 1 root root 3.5K 2006-09-25 23:18 layout.default.class.php
    -rwxr-xr-x 1 root root 155 2006-09-25 23:18 layout._interface.class.php
    -rwxr-xr-x 1 root root 1.5K 2006-09-25 23:18 layout.ps.class.php
    -rwxr-xr-x 1 root root 332 2006-09-25 23:18 list-style.image.php
    -rwxr-xr-x 1 root root 730 2006-09-25 23:18 localalign.inc.php
    -rwxr-xr-x 1 root root 1.1K 2006-09-25 23:18 manager.encoding.php
    -rwxr-xr-x 1 root root 2.9K 2006-09-25 23:18 media.layout.inc.php
    drwxr-xr-x 2 root root 4.0K 2007-08-31 11:33 out
    -rwxr-xr-x 1 root root 14K 2006-09-25 23:18 output.fastps.class.php
    -rwxr-xr-x 1 root root 2.9K 2006-09-25 23:18 output.fastps.l2.class.php
    -rwxr-xr-x 1 root root 12K 2006-09-25 23:18 output.fpdf.class.php
    -rwxr-xr-x 1 root root 6.5K 2006-09-25 23:18 output._generic.class.php
    -rwxr-xr-x 1 root root 607 2006-09-25 23:18 output._generic.pdf.class.php
    -rwxr-xr-x 1 root root 879 2006-09-25 23:18 output._generic.ps.class.php
    -rwxr-xr-x 1 root root 2.8K 2006-09-25 23:18 output._interface.class.php
    -rwxr-xr-x 1 root root 20K 2006-09-25 23:18 output.pdflib.class.php
    -rwxr-xr-x 1 root root 140 2006-09-25 23:18 parser._interface.class.php
    -rwxr-xr-x 1 root root 3.3K 2006-09-25 23:18 parser.xhtml.class.php
    -rwxr-xr-x 1 root root 24 2006-09-25 23:18 phpinfo.php
    -rwxr-xr-x 1 root root 16K 2006-09-25 23:18 pipeline.class.php
    -rwxr-xr-x 1 root root 774 2006-09-25 23:18 pipeline.factory.class.php
    drwxr-xr-x 2 root root 4.0K 2007-08-31 11:24 postscript
    -rwxr-xr-x 1 root root 8 2006-09-25 23:18 ps.image.encoder.inc.php
    -rwxr-xr-x 1 root root 7.0K 2006-09-25 23:18 ps.image.encoder.simple.inc.php
    -rwxr-xr-x 1 root root 707 2006-09-25 23:18 ps.image.encoder.stream.inc.php
    -rwxr-xr-x 1 root root 1.2K 2006-09-25 23:18 ps.l2.image.encoder.stream.inc.php
    -rwxr-xr-x 1 root root 8.1K 2006-09-25 23:18 ps.l3.image.encoder.stream.inc.php
    -rwxr-xr-x 1 root root 1.4K 2006-09-25 23:18 ps.text.inc.php
    -rwxr-xr-x 1 root root 2.5K 2006-09-25 23:18 ps.unicode.inc.php
    -rwxr-xr-x 1 root root 355 2006-09-25 23:18 ps.utils.inc.php
    -rwxr-xr-x 1 root root 106 2006-09-25 23:18 ps.whitespace.inc.php
    -rwxr-xr-x 1 root root 6.6K 2006-09-25 23:18 sample.batch.php
    -rwxr-xr-x 1 root root 1.3K 2006-09-25 23:18 sample.pipeline.custom.php
    -rwxr-xr-x 1 root root 1.1K 2006-09-25 23:18 sample.pipeline.default.php
    drwxr-xr-x 3 root root 4.0K 2007-08-31 11:24 samples
    -rwxr-xr-x 1 root root 2.8K 2006-09-25 23:18 sample.simplest.php
    -rwxr-xr-x 1 root root 303 2006-09-25 23:18 stubs.common.inc.php
    -rwxr-xr-x 1 root root 264 2006-09-25 23:18 stubs.file_get_contents.inc.php
    -rwxr-xr-x 1 root root 54 2006-09-25 23:18 stubs.is_executable.inc.php
    -rwxr-xr-x 1 root root 843 2006-09-25 23:18 systemcheck.php
    -rwxr-xr-x 1 root root 193 2006-09-25 23:18 system.php
    -rwxr-xr-x 1 root root 99 2006-09-25 23:18 tag.body.inc.php
    -rwxr-xr-x 1 root root 99 2006-09-25 23:18 tag.font.inc.php
    -rwxr-xr-x 1 root root 3.7K 2006-09-25 23:18 tag.frame.inc.php
    -rwxr-xr-x 1 root root 101 2006-09-25 23:18 tag.img.inc.php
    -rwxr-xr-x 1 root root 161 2006-09-25 23:18 tag.input.inc.php
    -rwxr-xr-x 1 root root 103 2006-09-25 23:18 tag.select.inc.php
    -rwxr-xr-x 1 root root 99 2006-09-25 23:18 tag.span.inc.php
    -rwxr-xr-x 1 root root 102 2006-09-25 23:18 tag.table.inc.php
    -rwxr-xr-x 1 root root 100 2006-09-25 23:18 tag.td.inc.php
    -rwxr-xr-x 1 root root 711 2006-09-25 23:18 tag.ulol.inc.php
    -rwxr-xr-x 1 root root 100 2006-09-25 23:18 tag.utils.inc.php
    drwxr-xr-x 2 root root 4.0K 2007-08-31 11:24 templates
    -rwxr-xr-x 1 root root 390 2006-10-14 18:40 test.form.php
    -rwxr-xr-x 1 root root 61 2006-09-25 23:18 test.php
    -rwxr-xr-x 1 root root 2.0K 2006-09-25 23:18 treebuilder.class.php
    -rwxr-xr-x 1 root root 2.2K 2006-09-25 23:18 tree.navigation.inc.php
    -rwxr-xr-x 1 root root 2.0K 2006-09-25 23:18 utils_array.php
    -rwxr-xr-x 1 root root 1.3K 2006-09-25 23:18 utils_graphic.php
    -rwxr-xr-x 1 root root 469 2006-09-25 23:18 utils_number.php
    -rwxr-xr-x 1 root root 189 2006-09-25 23:18 utils_text.php
    -rwxr-xr-x 1 root root 2.8K 2006-09-25 23:18 utils_units.php
    -rwxr-xr-x 1 root root 2.5K 2006-09-25 23:18 utils_url.php
    -rwxr-xr-x 1 root root 1.9K 2006-09-25 23:18 width.php
    -rwxr-xr-x 1 root root 2.4K 2006-09-25 23:18 xhtml.autoclose.inc.php
    -rwxr-xr-x 1 root root 248 2006-09-25 23:18 xhtml.comments.inc.php
    -rwxr-xr-x 1 root root 878 2006-09-25 23:18 xhtml.deflist.inc.php
    -rwxr-xr-x 1 root root 3.0K 2006-09-25 23:18 xhtml.entities.inc.php
    -rwxr-xr-x 1 root root 1011 2006-09-25 23:18 xhtml.lists.inc.php
    -rwxr-xr-x 1 root root 1.2K 2006-09-25 23:18 xhtml.p.inc.php
    -rwxr-xr-x 1 root root 218 2006-09-25 23:18 xhtml.script.inc.php
    -rwxr-xr-x 1 root root 748 2006-09-25 23:18 xhtml.selects.inc.php
    -rwxr-xr-x 1 root root 1.3K 2006-09-25 23:18 xhtml.style.inc.php
    -rwxr-xr-x 1 root root 4.5K 2006-09-25 23:18 xhtml.tables.inc.php
    -rwxr-xr-x 1 root root 15K 2006-09-25 23:18 xhtml.utils.inc.php
    -rwxr-xr-x 1 root root 336 2006-09-25 23:18 xml.validation.inc.php

    debian:/var/www/simpleinvoices# ls -lah ./pdf/cache
    total 20K
    drwxr-xr-x 2 root root 4.0K 2007-08-31 11:33 .
    drwxr-xr-x 12 root root 16K 2007-08-31 11:24 ..
    -rw------- 1 root root 0 2007-08-31 11:33 test.tpl

    debian:/var/www/simpleinvoices# ls -lah ./pdf/out
    total 20K
    drwxr-xr-x 2 root root 4.0K 2007-08-31 11:33 .
    drwxr-xr-x 12 root root 16K 2007-08-31 11:24 ..
    -rw------- 1 root root 0 2007-08-31 11:33 test.tpl

    debian:/var/www/simpleinvoices# ls -lah ./cache
    total 8.0K
    drwxrwxrwx 2 www-data www-data 4.0K 2007-08-31 11:33 .
    drwxr-xr-x 12 root root 4.0K 2007-09-12 10:15 ..
    -rw-r--r-- 1 www-data www-data 0 2007-08-31 11:33 test.tpl


    Any help?

  • justinjustin September 2007

    hey

    re ./pdf/out and./pdf/cache - seems as if its write only by root (and the pdf app needs to write to those and it runs as www-data)

    chown those dirs to www-data and see if pdf works

    wosrt case scenario is to chmod 777 -Rv ./pdf

    let me know how you go

    Cheers

    Justin

    SmarterInvoices.com :: Simple Invoices hosting | Kelly.org.au :: Simple Invoices custom development | justin.kelly.org.au
  • tlpinspwtlpinspw September 2007

    [quote=justin]
    hey

    re ./pdf/out and./pdf/cache - seems as if its write only by root (and the pdf app needs to write to those and it runs as www-data)

    chown those dirs to www-data and see if pdf works

    wosrt case scenario is to chmod 777 -Rv ./pdf

    let me know how you go

    Cheers

    Justin


    That fixed it! Thanks!

  • justinjustin September 2007

    good the hear it works now

    cheers

    justin

    SmarterInvoices.com :: Simple Invoices hosting | Kelly.org.au :: Simple Invoices custom development | justin.kelly.org.au
  • delapattedelapatte September 2007

    I checked my /pdf also and changed it accordingly and it works now for me also.
    Thanks!

  • RubenRuben September 2007

    Just a little nitpicking here. www-data is assuming that your apache is running under that user which depends on the OS/distro you have.

  • justinjustin September 2007

    Hey Ed,

    im happy to hear it was a simple fix

    Cheers

    Justin

    SmarterInvoices.com :: Simple Invoices hosting | Kelly.org.au :: Simple Invoices custom development | justin.kelly.org.au
  • spottrainingspottraining October 2007

    Maybe someone has same problem. Then now is this pdf directory not under simpleinvoices root, but under include. So when You are getting cache directory errors, then look to /include/pdf

    I spend right now 20 minutes to discover that :)

  • justinjustin October 2007

    Thanks for pointing that out SpotTraining

    Cheers

    Justin

    SmarterInvoices.com :: Simple Invoices hosting | Kelly.org.au :: Simple Invoices custom development | justin.kelly.org.au

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

Categories