Error after extension update

Phoca Cart - complex e-commerce extension
spotlinks
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 18 May 2023, 21:30

Error after extension update

Post 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.

Tags:
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9604
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Error after extension update

Post 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
spotlinks
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 18 May 2023, 21:30

Re: Error after extension update

Post 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!
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9604
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Error after extension update

Post by Benno »

You're welcome!

Kind regards,
Benno
Post Reply