Hello, I've got the library working in dev. I could use your help now. When I try to use on the production server for final testing before purchase, I get no pptx created, and this log:
[24-Mar-2024 09:47:29 America/New_York] PHP Warning: require_once(/home/bsmnfkww/public_html/export/examples/Contents/addText/../../../classes/CreatePptx.php): failed to open stream: No such file or directory in /home/bsmnfkww/public_html/export/examples/Contents/addText/sample_1.php on line 4
[24-Mar-2024 09:47:29 America/New_York] PHP Fatal error: require_once(): Failed opening required '/home/bsmnfkww/public_html/export/examples/Contents/addText/../../../classes/CreatePptx.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /home/bsmnfkww/public_html/export/examples/Contents/addText/sample_1.php on line 4
Here are the check.php results - all green
PHP_VERSION: 7.4.33
PHP_OS: Linux
PHP_UNAME: Linux server106.web-hosting.com 2.6.32-954.3.5.lve1.4.93.el6.x86_64 #1 SMP Wed Oct 4 17:04:29 UTC 2023 x86_64
SERVER_NAME: dexsights.com
SERVER_SOFTWARE: LiteSpeed
SERVER_ADDR: 68.65.120.234
SERVER_PROTOCOL: HTTP/1.1
HTTP_HOST: dexsights.com
HTTP_X_FORWARDED_FOR: 67.253.44.8,162.158.155.20
PHP_SELF: /export/check.php
ZipArchive: 1
DomDocument: 1
SimpleXMLElement: 1
Tidy: 1
mbstring: 1
Config file:
[settings]
; right to left languages config
;rtl = "true"
; if true, generate the PPTX as stream instead of saving it to the file system. Only available for Premium licenses
;stream="true"
[license]
; phppptx license code
code = ""
; subdomain (Basic license), domain (Advanced license) or IP (Premium license)
value = ""
[transform]
; transform options. Only available for Advanced and Premium licenses
; libreoffice, mspowerpoint
;method = "libreoffice"
; libreoffice installation path, absolute path
;path = "/opt/libreoffice/program/soffice"
; custom HOME folder; allows setting a custom HOME folder when doing the transformations using LibreOffice
;home_folder = ""
Thanks in advance.