Checkout error when Store Logo has space in name

Phoca Cart - complex e-commerce extension
User avatar
Nidzo
Phoca Expert
Phoca Expert
Posts: 525
Joined: 07 Nov 2018, 14:55

Checkout error when Store Logo has space in name

Post by Nidzo »

I am getting following error when Store Logo has space in name. In this case image title is Asset 2.png

Joomla 6.1.0
Phoca Cart 6.1.0Beta12

Code: Select all

ERROR 1 - Could not access file: /home/xxx/dev.xxx.rs/images/Asset%202.png in /home/xxx/dev.xxx.rs/libraries/vendor/phpmailer/phpmailer/src/PHPMailer.php:3335
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49429
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Checkout error when Store Logo has space in name

Post by Jan »

Hi,

first of all - space does not belong to filename.

The first problem is, the error comes from PHPMailer.php which Phoca Cart cannot influence, the second is, that the logo is set in Options which even is not Phoca Cart space (but Joomla's com_config) so hard to control there.

But I will add there some protection to config.xml for the next version:

Image

Jan
If you find Phoca extensions useful, please support the project
User avatar
Nidzo
Phoca Expert
Phoca Expert
Posts: 525
Joined: 07 Nov 2018, 14:55

Re: Checkout error when Store Logo has space in name

Post by Nidzo »

Thanks Jan
Post Reply