Comments (10)
@wmdhosting Can you attach sample files along with the command you are using to generate the PDF with HTMLDOC?
What version of HTMLDOC were you previously using?
from htmldoc.
1.8.28
files.zip
racun1.php is where barcode is shown..
racun_pdf.php is for generating pdf..
from htmldoc.
@wmdhosting OK, so there isn't anything obvious there. Any errors showing up in your Apache logs?
What kind of image does the barcode.php script produce? Can you attach a sample image?
from htmldoc.
Here is sample image from test invoice..
https://moj.wmd.hr/majstor/barcode.php?total=000000000012250&company=MasterWMD&address=master&city=master&zip=545454&poziv_na_broj=1745&invoice_no=1745&godina=22
this is source code. from page where is visible
<tr><td align="left"><img src="[barcode.php?total=000000000012250&company=MasterWMD&address=master&city=master&zip=545454&poziv_na_broj=1745&invoice_no=1745&godina=22](view-source:https://moj.wmd.hr/majstor/barcode.php?total=000000000012250&company=MasterWMD&address=master&city=master&zip=545454&poziv_na_broj=1745&invoice_no=1745&godina=22)" width="350" height="103"></td></tr>
when i save it. directly from invoice..
it saves as.. barcode.php.png
Apache logs
[Tue May 03 10:55:24.012782 2022] [:error] [pid 1986006] [client 109.227.28.155:0] sh: htmldoc: command not found, referer: https://moj.wmd.hr/
[Tue May 03 10:58:05.548250 2022] [:error] [pid 1994065] [client 109.227.28.155:0] sh: htmldoc: command not found, referer: https://moj.wmd.hr/
[Tue May 03 11:00:16.952008 2022] [:error] [pid 1986006] [client 109.227.28.155:0] sh: htmldoc: command not found, referer: https://moj.wmd.hr/
from htmldoc.
@wmdhosting The log indicates that your installation of HTMLDOC is not in the path of the Apache process - have you tried adding the full path to the HTMLDOC executable when you run HTMLDOC from your PHP script?
from htmldoc.
which htmldoc
/usr/local/bin/htmldoc
i use that in files. is that OK. or something else..
from htmldoc.
@wmdhosting That should work, but something is preventing it from working. Have you tried running the HTMLDOC command from the terminal to see what you get?
from htmldoc.
we just installed 1.9.11 and works ok. on 1.9.15 does not work..
from htmldoc.
Really the only relevant changes between 1.9.11 and 1.9.15 are security changes and removal of the bundled image libraries - you really want to try running the command outside of PHP to determine why 1.9.15 is not working for you.
from htmldoc.
Must be then.. some security thing...
we did run. some debuging in terminal but didnt get any idea. why barcode not working..
Im ok with this version too for now. thx for help
from htmldoc.
Related Issues (20)
- Table row without closing tag no longer rendered correctly HOT 5
- Fonts character set needs an app restart to be applied in case of a second (and more file generation) HOT 3
- Accented characters cause display issues in v1.9 this was OK in v1.8 HOT 3
- Solaris 11.4 Compile: error: ‘struct std::tm’ has no member named ‘tm_gmtoff’ HOT 1
- IMages not showing.. HOT 2
- CSS Support HOT 2
- Encoding breaks for special characters HOT 5
- snap install - missinf fonts and data directory HOT 1
- Empty entry in TOC, when table is added between two H2's HOT 2
- Footer behavior from older version HOT 1
- <pre> tag indent HOT 3
- Default value of print scale HOT 1
- Not found - HTML error 404 downloading image HOT 2
- incorrect href mapping (file://) HOT 1
- why does link mapping add the http server port? HOT 2
- NULL Pointer Dereference (SIGSEGV) HOT 1
- Memory Leak HOT 1
- 1.9.17 libcups is required but not mentioned in docs except release note HOT 3
- Broken links after version 1.9.3 HOT 7
- First page header (--header1) does not work (header is blank) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from htmldoc.