Page 1 of 1

Error after extension update

Posted: 01 Feb 2025, 02:19
by spotlinks
We are running J4 (because of MySQL version) and all was running well until the latest extension update. Now, in the backend every page in the Phoca Cart menu shows this error message:
An error has occurred.
500 Library path /api/components/com_phocacart/src cannot be found.
When I look at the server files from new downloaded component and original J4 versions, there is no such folder in the /api/components folder. The frontend Phoca cart pages show the error:
There is no "template.cassiopeia.ltr" asset of a "preset" type in the registry.
We are not using the Cassiopeia template at all on this site. At this point all I can do is roll the installation back to a backup, but then I can never update the extension. How can I resolve this?

Thanks.

Re: Error after extension update

Posted: 01 Feb 2025, 12:37
by Benno
Hi,
First check that you are really using Phoca Cart 4.0.11 and not a Phoca Cart 5.0.0 beta version. If yes, you can try following:
Download https://github.com/PhocaCz/PhocaCart/re ... 4.0.11.zip
and unzip it locally on your PC.
Then go to: com_phocacart_v4.0.11.zip in the unzipped package.
and unzip it as well. Now you can go to: /api/components/com_phocacart/src
and copy the content of this folder via FTP into the folder of the same name on your server.

Kind regards,
Benno

Re: Error after extension update

Posted: 03 Feb 2025, 21:07
by spotlinks
Thanks, Benno. I have resolved this by following your recommendation and looking at the zip file, but I found that the zip file doesn't put the /src folder inside a /com_phocacart folder, so I had to create one in my install. Once I did that and uploaded the /src folder into it, the admin area for phoca cart showed up again without errors.

THANKS FOR YOUR HELP!

Re: Error after extension update

Posted: 03 Feb 2025, 22:02
by Benno
You're welcome!

Kind regards,
Benno