Calls to missing Cache folder

  • Posts: 303
  • Thank you received: 18
8 years 7 months ago #254679

-- url of the page with the problem -- : www.mojooutdoors.com/index.php/products/mojo-gear
-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.3
-- PHP version -- : 5.6

I've recently been having tons of entries in the error log of my site. Most are calls to either images or folders that do not exist. More specifically, my product pages are calling some cache folder that does not exist, creating an entry in the error log (making it impossible to sift through to find major errors). See attached screenshot. Any idea why it would be calling to a folder/image that does not exist, yet still displays the images properly?

URL of one of the pages in question: www.mojooutdoors.com/index.php/products/mojo-gear

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 26253
  • Thank you received: 4040
  • MODERATOR
8 years 7 months ago #254681

Hi,

HikaShop need to have write access for his upload folder ; it also need the permission to create folders (and these folder should also have write permission).
Otherwise, it won't be able to create the folder and you will have these 404 issues.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 303
  • Thank you received: 18
8 years 7 months ago #254766

How do I give hikashop the permission? By changing the permissions of the containing directory to be write accessible?

Please Log in or Create an account to join the conversation.

  • Posts: 26253
  • Thank you received: 4040
  • MODERATOR
8 years 7 months ago #254793

Hi,

You should see that directly with your web hosting support.
But generally, we will recommend to use FTP to check and modify permissions.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 303
  • Thank you received: 18
8 years 7 months ago #254892

Hi Jerome,

I've already checked all of the permissions of these folders. media/com_hikashop/ is set to 755 and all sub directories are set to the same thing. Am i missing something here?

Please Log in or Create an account to join the conversation.

  • Posts: 83995
  • Thank you received: 13605
  • MODERATOR
8 years 7 months ago #254905

Hi,

755 means that only the user owner of the folders/files is able to write into them. So if the user owner of the folders/files is different from the user used by your Apache (and that's often the case) in order to process the pages of your website, it still won't have write access to them.
If you set the permissions to 777, any user of the web server will be able to write files in that folder and it should prevent these issues.
It might also be possible to change the owner of the files to the user used by Apache and keep the permissions to 755.
But I can't say what's best as I don't know how your web server is configured. That's why Jerome said that it would be best to consult with your hosting company.

Please Log in or Create an account to join the conversation.

Time to create page: 0.063 seconds
Powered by Kunena Forum