Hi,
That's strange. It's a completely different error. And I can also see the same thing as you now.
And if you turn off the debug, do you then get the error I had in my screenshot ?
Regarding the error "Toegang verboden", I spent some time, tracking it's origin, and it apparently is not "access denied" but "access forbidden" and uses the translation key JLIB_APPLICATION_ERROR_ACCESS_FORBIDDEN
Looking in HikaShop's code for this, I can see that this error message will appear if someone try to use a task of a controller which changes things, without providing the access token generated by Joomla and stored in the user session.
Caching would definitely be a problem for this since this would mean that you would provide the access token of someone else who generated the page in the past, and not yours in your user session, and thus it would block the action with that error message.
This is a security mechanism to prevent XSS attacks so that malicious scripts can't change things on the website from the browser of someone logged in.
The best would be to not have caching on all the pages where you have upload fields. So basically, all the product details pages.
Alternatively, I think we could lower the checks there without it being a problem for the security.
Try removing the line:
var $modify = array('upload');
in the file components/com_hikashop/controllers/upload.php
If you still have the issue with the error message "Invalid Token", try also removing the line:
JSession::checkToken() || die('Invalid Token');
This will allow the upload to work regardless of the token. There will still be all the other checks on upload enforced (like for example, the checks on the filename extensions allowed, etc), so it shouldn't be a problem.
Please let us know how this goes.