Hello,
I am helping someone try to install and use Phoenix cart. Install was done via Softaculous and is up to date version. When we try to add images to a product page via Phoenix, the images upload, but do not show up in the catalog/store pages. This happens when adding images to a new product, also to an existing product such as "Limes."
Not sure if this is a server issue or Phoenix issue. Help ticket has been sent to website host.
PHP 8.3.27 (Zend 4.3.27) - also tried 8.0 and 7.4
Linux 5.14.0-503.40.1.el9_5.x86_64
CE Phoenix v1.1.0.6
Example, this page should have two images:
https://boomboomfireworks.com/shop/prod ... ucts_id=10
Every time a product is viewed online I see the following message show up in public_html/shop/error_log
Does not matter if the product is one we added, or an existing sample product.
[27-Dec-2025 18:43:32 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'xsl.so' (tried: /opt/cpanel/ea-php83/root/usr/lib64/php/modules/xsl.so (/lib64/libxslt.so.1: undefined symbol: valuePush, version LIBXML2_2.4.30), /opt/cpanel/ea-php83/root/usr/lib64/php/modules/xsl.so.so (/opt/cpanel/ea-php83/root/usr/lib64/php/modules/xsl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Error Message
- tessthepup
- Certified Developer
- Posts: 381
- Joined: Mon Mar 01, 2021 5:55 pm
- Phoenix Version:
- Has thanked: 47 times
- Been thanked: 62 times
Re: PHP Error Message
@GetSirius
I would check to see if that module is installed in the php version you are running, if not enable it and see if it fixes the error
I would check to see if that module is installed in the php version you are running, if not enable it and see if it fixes the error
-
BrockleyJohn
- Certified Developer
- Posts: 173
- Joined: Mon Mar 01, 2021 5:37 pm
- Phoenix Version:
- : Buy Me A Beverage
- Has thanked: 2 times
- Been thanked: 30 times
Re: PHP Error Message
Check if the main image of a new product shows up in admin > catalog when focussed on the product. I suspect it doesn't and the database record for the image file name is empty. You will find you can't edit a new product without putting the image file back into the image field.GetSirius wrote: ↑Sat Dec 27, 2025 7:11 pm When we try to add images to a product page via Phoenix, the images upload, but do not show up in the catalog/store pages. This happens when adding images to a new product, also to an existing product such as "Limes."
Not sure if this is a server issue or Phoenix issue. Help ticket has been sent to website host.
This means your uploads aren't actually working.
I helped someone with the same problem recently - they were based on US East coast but using a server in NZ.
The file upload to the server's temp directory was working but the copy from temp into the images folder was not... possibly due to latency in the system. Putting in debug to check the problem detail actually stopped it happening!
The diagnostics were in the admin class upload:
Code: Select all
public function parse() {
if (isset($_FILES[$this->file])) {
$file = [
'name' => $_FILES[$this->file]['name'],
'type' => $_FILES[$this->file]['type'],
'size' => $_FILES[$this->file]['size'],
'tmp_name' => $_FILES[$this->file]['tmp_name'],
];
} else {
$file = [];
}
error_log('upload parse ' . print_r($file, true));
error_log('upload exists ' . (file_exists($file['tmp_name']) ? 'true' : 'false'));
etc...
Code: Select all
public function save() {
if (substr($this->destination, -1) !== '/') {
$this->destination .= '/';
}
error_log('upload still exists ' . (file_exists($this->file['tmp_name']) ? 'true' : 'false'));
etc...
-
GetSirius
- Member
- Posts: 50
- Joined: Wed Mar 17, 2021 7:15 pm
- Phoenix Version:
- Has thanked: 14 times
- Been thanked: 2 times
Re: PHP Error Message
Thank you BrockleyJohn, that appears to make it work. I still see the same error message thrown in error_log, but it works. I will take this info to my web host techs and see what they think about it.
EDIT: No longer seeing any error_log message!
EDIT: No longer seeing any error_log message!