style links not found

Phoca Cart - complex e-commerce extension
mnixson
Phoca Member
Phoca Member
Posts: 28
Joined: 07 Mar 2022, 20:30

style links not found

Post by mnixson »

I discovered a small problem with the links in my Phoca cart setup. I have 25 internal links to what appear to be style related content that are invalid because the target of the link does not exist. Google doesn’t like them so it put me on this path. A typical error is as follows:

Status: 404 Not Found
URL: https://www.talos4.net/media/com_phocac ... sprite.png
Source link text: style: div.light_rounded .pp_top .pp_left

It is possible that I installed another Phoca product like PhocaPhoto and then removed it; not sure. The PhocaCart component was installed in Sept 2022 so the problem might have been created around then. As in the example above, the following folders exist in the errant URLs in the path ‘media/com_phocacart/js/prettyphoto/images/prettyPhoto’ but not in the component’s installation:
light_rounded
dark_rounded
dark_square
light_square
facebook

These errors are not affecting the operation of the site or PhocaCart; it’s only annoying Google. After discovering this, I installed the current PhocaPhoto thinking that might add the proper folders and files but this didn’t add anything relevant. I figured I would inquire about a solution that might be more evident to others than myself.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: style links not found

Post by Jan »

Hi, both components have own libraries, so there should not be such problem.

Testing now, get no problem there :idea:

Which version of Phoca Cart do you use? There is no more folder "light_rounded", only default.

Jan
If you find Phoca extensions useful, please support the project
mnixson
Phoca Member
Phoca Member
Posts: 28
Joined: 07 Mar 2022, 20:30

Re: style links not found

Post by mnixson »

I'm using version 4.0.7 of PhocaCart. Is it possible some settings and links were retained from an earlier version?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: style links not found

Post by Jan »

Hi, hmmm, really hard to say, even there will stay obsolete images and folders on your website, they should not be used by newest Javascript. So the only idea I have is that there is obsolete Javascript which calls such obsolete images. But really hard to say :idea: The code inside Phoca Cart calls prettyPhoto with the default option :idea:

Mayby try to check if some another part of the system does not load the library so it is not loaded twice :idea:

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