Dear Friends,
I am getting this below error while processing one of the programs.
Fatal error: Uncaught Error: Class "mPDF" not found in ...\crm\hooks\orders\order_receipt.php:108 Stack trace: #0 {main} thrown in ...\crm\hooks\orders\order_receipt.php on line 108
I am runninng version 5.94 for Appgini.
Has anyone faced this error? How do i sove this. Please help
Thanks in advance.
mPDF Error
Re: mPDF Error
Sorry, stupid question:
Did you
Did you
include(...)
or require(...)
the required php file in your code and does the file exist at the given include path?Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.14 Revision 1665 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.14 Revision 1665 + all AppGini Helper tools
Re: mPDF Error
it was working fine till I last used it.
about 3 months back.
it is only i needed some ammends in my software and once i did the changes and rerun the code, this error is coming.
<?php
$app_dir = dirname(__FILE__) . '/../..';
define('PREPEND_PATH', '../../');
include("$app_dir/lib.php");
$id = max(0, intval($_REQUEST['id']));
if(!$id){
header('Location: ' . PREPEND_PATH . 'order_receipt.php');
exit;
}
u can download the complete file from the below link
https://www.dropbox.com/scl/fi/3f0y2sws ... 2cor5&dl=0
about 3 months back.
it is only i needed some ammends in my software and once i did the changes and rerun the code, this error is coming.
<?php
$app_dir = dirname(__FILE__) . '/../..';
define('PREPEND_PATH', '../../');
include("$app_dir/lib.php");
$id = max(0, intval($_REQUEST['id']));
if(!$id){
header('Location: ' . PREPEND_PATH . 'order_receipt.php');
exit;
}
u can download the complete file from the below link
https://www.dropbox.com/scl/fi/3f0y2sws ... 2cor5&dl=0
Best regards,
Chhavi Jain
Chhavi Jain
Re: mPDF Error
Check path and file existence given in line 96.
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.14 Revision 1665 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.14 Revision 1665 + all AppGini Helper tools