Joomla 5 Compatability

Phoca Cart - complex e-commerce extension
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Joomla 5 Compatability

Post by Jan »

landed

The 'from' part which is missing in your case comes from Joomla configuration: $from = $config->get('mailfrom');

I cannot imagine that your configuration does not have set the email :idea:

Are you able to debug code? It would be interesting to know the value of the from variable, e.g. in file:
administrator/components/com_phocacart/libraries/phocacart/email/email.php on line cca 102, add some debug info:

e.g. var_dump($from);
to see what is the value of this variable.

Jan
If you find Phoca extensions useful, please support the project
User avatar
landed
Phoca Professional
Phoca Professional
Posts: 121
Joined: 15 Sep 2023, 10:51

Re: Joomla 5 Compatability

Post by landed »

I have some error 500 on checkout page so cannot see the result of this. I dont have any email in my config file. Should I?
User avatar
landed
Phoca Professional
Phoca Professional
Posts: 121
Joined: 15 Sep 2023, 10:51

Re: Joomla 5 Compatability

Post by landed »

I compared this file in both instances and get very different files./components/com_phocacart/models/checkout.php
Not sure why as both are the same version of the install, confused as heck!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Joomla 5 Compatability

Post by Jan »

Hmm, really hard to say what happened there. :idea:

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Joomla 5 Compatability

Post by Jan »

Hi, I just reinstalled the component on your site and everything is OK there now. BTW try to test template which better suite the e-commerce website:
https://www.phoca.cz/joomla-templates/1 ... n-joomla-5

If you find Phoca extensions useful, please support the project
Post Reply