PHP TCPDF - multiple pdf support? - tcpdf

I need to create 2 pdf file in sequence.
The version of environment
Apache Version 2.4.25
PHP Version 5.3.29
TCPDF Version: 6.0.008
but the system intermittent produce errors:
mod_fcgid: stderr: PHP Warning: fopen(/home/fsmasor/public_html/administrator/components/com_members/library/e_cert/) [function.fopen]: failed to open stream: Is a directory in /home/fsmasor/public_html/administrator/components/com_events/tcpdf/tcpdf.php on line 7651
Thanks...
Source file link:
https://www.dropbox.com/s/przk8z36hlfpbnu/generate_member_receipt.php?dl=0

Related

Quarto book publish produces "LaTeX Error: File `scrreprt.cls' not found"

When I attempt to re-publish a Quarto Book to an established url on Quarto Pub, I receive an error in the terminal. The error message in the terminal upon which it stops before republishing is:
"compilation failed- no matching packages
LaTeX Error: File `scrreprt.cls' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: cls)
Enter file name:
Emergency stop.
<read *>
l.10 ^^M
I am unclear on how to interpret the error message.
I recently transitioned this document from bookdown to a Quarto Book. In the past I have successfully published the content to a Quarto Pub url using the following terminal command:
quarto publish quarto-pub
The full index.log file is available on the project GitHub repository at https://github.com/Kenai-Watershed-Forum/kenai_thermal_imagery_v2/blob/main/index.log
The main repository is located at https://github.com/Kenai-Watershed-Forum/kenai_thermal_imagery_v2.
I have verified the most current versions of R, RStudio, and TeXWorks are installed.
> version
_
platform x86_64-w64-mingw32
arch x86_64
os mingw32
crt ucrt
system x86_64, mingw32
status
major 4
minor 2.2
year 2022
month 10
day 31
svn rev 83211
language R
version.string R version 4.2.2 (2022-10-31 ucrt)
nickname Innocent and Trusting

"Error: LaTeX failed to compile" output when using TinyTex; error running pdflatex (exit code 1)

I'm using an R Sweave doc and trying to compile a pdf from RStudio using TinyTex. Let's assume my Sweave file is titled "Example.Rnw" and my file path to the .tex output is "Path/Example.tex." After hitting "Compile PDF" in my Sweave doc, I get the following error:
[1] "Example.tex"
Compiling document with tinytex ... Error: LaTeX failed to compile /Path/Example.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips.
Execution halted
failed
Error running /usr/local/bin/pdflatex (exit code 1)
When I copy and paste the resulting .tex file into Overleaf, the pdf looks fine. My guess is there's some issue with pdflatex and TinyTex, but I'm not sure what. After a few hours I'm still stumped. Any advice for how to compile this pdf? I've already updated and reinstalled TinyTex, and set my PATH to the TinyTex distribution folder. Thanks in advance.

build_iphone.sh: line 52: /Users/.../pocketsphinx-master/configure: No such file or directory

I'm on macOS Mojave in terminal, and I'm getting an error that says no such file or directory for the directory ".../pocketsphinx-master/configure" when I run build_iphone.sh, which I got from this repository: cmusphinx/pocketsphinx-ios-demo.
The instructions for pocketsphinx found at this repository -- cmusphinx/pocketsphinx gives these instructions to use pocketsphinx with Xcode. Here's part of what it says, which I don't understand:
Pocketsphinx uses the standard unix autogen system, you can build pocketsphinx with automake given you already built sphinxbase You just need to pass correct configure arguments, set compiler path, set sysroot and other options. After you build the code you need to import dylib file into your project and you also need to configure includes for your project to find sphinxbase headers.
Here is what my terminal on my Mac mini looks like:
Daniels-Mac-mini:pocketsphinx-master shinehah$ sh build_iphone.sh
building arm64...
build_iphone.sh: line 52: /Users/shinehah/cmusphinx/pocketsphinx-master/configure: No such file or directory
I created that directory, but I still get the same error message. What do I need to put in that directory?
In build_iphone.sh, line 52, it says:
--host="${HOST_TYPE}" \
Here is the code segment it is from:
$CWD/configure
--host="${HOST_TYPE}" // line 52
--prefix="$DEST/$ARCH"
--without-lapack
--without-python
--with-sphinxbase="$SPHINXBASE_DIR"
|| exit 1

symfony 1 Warning: require_once(C:\xampp\htdocs\mywebsite\config/..\lib\vendor\symfony\lib/autoload/sfCoreAutoload.class.php): faile

i moved my symfony project from one server to a seconde (linux)
when trying to lunch my project in web browser in local server i get a error
Warning: require_once(C:\xampp\htdocs\5mondes_debugging\config/..\lib\vendor\symfony\lib/autoload/sfCoreAutoload.class.php): failed to open stream: No such file or directory in C:\xampp\htdocs\5mondes_debugging\config\ProjectConfiguration.class.php on line 4
Fatal error: require_once(): Failed opening required 'C:\xampp\htdocs\5mondes_debugging\config/..\lib\vendor\symfony\lib/autoload/sfCoreAutoload.class.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\5mondes_debugging\config\ProjectConfiguration.class.php on line 4
in my config/ProjectConfiguration.class.php the path is
require_once dirname(__FILE__).'/..\lib\vendor\symfony\lib/autoload/sfCoreAutoload.class.php';
but canot finde sfCoreAutoload.class.php file in my project.
i will be glad for some issues

problem on setting symfony:sf_sandbox installation failed

im new with symfony....plshelp me how to open the symfony system..
Now i already install symphony version 1.0.0 using the tutorial..
1)When i check at cmd..xampp\php> php –v and symphony –V all is ok..
But when i check for xampp\htdocs\sf_sandbox> symphony –V(i got this msg...)
C:\xampp\htdocs\sf_sandbox>symfony -V
'php.exe' is not recognized as an internal or external command, operable program or batch file.
2)one more problem is when i try run my system at localhost...http://localhost/projects(i got error..)
Warning: require_once(C:\xampp\htdocs\projects\config/../lib/symfony/util/sfCore.class.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\projects\apps\index\config\config.php on line 7
Fatal error: require_once() [function.require]: Failed opening required 'C:\xampp\htdocs\projects\config/../lib/symfony/util/sfCore.class.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\projects\apps\index\config\config.php on line 7
http://www.programmershere.com/questions-answers/482899-problem-sf_sandbox-installation-failed-check-symfony-v.html#post482904
It appears that in your sf_sandbox installation, you have an incorrect php.exe path.
Edit the symfony.bat file in you sf_sandbox installation.
you'll find something like this
set PHP_COMMAND=php.exe
Replace php.exe with the path of your php.exe file. eg. c:\xampp\php\php.exe
Check the symfony path in your project configuration
sf_sandbox\config\ProjectConfiguration.class.php
Make sure the first "require_once" is pointing to the correct symfony installation
require_once dirname(FILE).'/../lib/symfony/autoload/sfCoreAutoload.class.php';
And, symfony is not spelled as symphony. ;)

Resources