Skip to main content

Invalid Token when uploading images to hika categ

More
13 years 2 months ago #118840 by verzevoul
I have the latest versions (updated yesterday) and I face a problem uploading images from the frontend (multivendor). When I press the upload green icon a popup with Invalid Token comes.
Can you replicate please?

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

More
13 years 2 months ago #118860 by Jerome
Hi,

I am currently rebuilding the upload system in order to have something generic in all HikaMarket.
I check the code of the current HikaMarket package (1.2.0) and I can't find any "alert box" which could popup you such message. So I suppose that you have the fallback system in the modal box.
Do you have some javascript errors in the page ? Which browser do you use ?

Regards,

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

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

More
13 years 2 months ago #118863 by verzevoul
I ll pm you to see it please because its not a javascript error or browsers issue. I can upload in products it looks like a permission issue.

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

More
13 years 2 months ago #118872 by Jerome
Hi,

You have a javascript error in the page. There is a jQuery conflict/redefinition.
The category uploader does not have the same checks/securities than the product uploader, that why I create a generic uploader for the next package of HikaMarket.

I can install you a preview version of HikaMarket with the new generic uploader.
The preview version also contain the vendor listing which is not totally finished so with the preview version is will be recommend to not use exotic vendor listing configuration (but the classical div one works good).

Regards,

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

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

More
13 years 2 months ago #118873 by verzevoul
ok.
Yes please. Do that for me

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

More
13 years 2 months ago #118880 by Jerome
Hi,

It's done.

Don't hesitate to give us your feedback about this preview version. We are currently working on it so, it could have some troubles for the new features, but the good way is that if you have some feedback we can change easily some points.

Regards,

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

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

More
13 years 2 months ago #118903 by verzevoul
I dont see any real bugs.
For now 1-2 small bugs I think.
1. When you see the category tree from the frontend ids are upside down. I think you should show categoried with the same ordering as in backend
2. If you type a greek non latin character in search ... try προϊον, I get an encoding problem. Try it.

Thanks!

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

More
13 years 2 months ago #118924 by Jerome
Hi,

verzevoul wrote: 2. If you type a greek non latin character in search ... try προϊον, I get an encoding problem. Try it.

In which search ?

Thanks

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

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

More
13 years 2 months ago #118932 by verzevoul
In the top right corner. Div "search" I think.
Its a hikashop filter module

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

More
13 years 2 months ago #119196 by verzevoul
Finally there is a bug uploading image from the frontend.
When I press save even If I see is before saving, after save its lost.
I pm you before link and pass to login.
Can yu please check?

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

More
13 years 2 months ago #119200 by Jerome
Hi,

I can't reproduce your problem in your website.
I successfully upload an image for a category, save it, see that the image still there, remove it, save it, see that the image was removed.

But maybe you are in another context than mine.

Please provide more information. All useful information.

Regards,

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

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

More
13 years 2 months ago #119206 by verzevoul
No sorry in products. example
...index.php?option=com_hikamarket&ctrl=product&task=edit&cancel_action=product&cid=6&lang=el

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

More
13 years 2 months ago - 13 years 2 months ago #119224 by Jerome
Hi,

I see, the image is uploaded in the right folder but the file entry in the database thought that the file is in the folder "vendor1".
I will check the "save" part and install you the fixed version.

Regards,

PS: Done

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Last edit: 13 years 2 months ago by Jerome.

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

More
13 years 2 months ago #119228 by Jerome
Hi,

I improved the security in the new package. It will restrict the vendors in their own folder.
The generic gallery selection didn't have the right restriction rules.
Your test website is up to date.

Regards,

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

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

More
13 years 2 months ago #119339 by verzevoul
Hello !
Is your fix implentd in the newest release?
If I upload a new website will be the fix on? If I have to replace any files can you tell me which will these be?
THank you!

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

More
13 years 2 months ago #119341 by Jerome
Hi,

No. You are currently using a preview version of HikaMarket. We do not release this new version yet.
This preview package is not downloadable because it's not finish.
If you want to copy files, you have to copy all HikaMarket files.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: verzevoul

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

More
13 years 2 months ago #119730 by nicolas
Regarding the issue with the encoding on search text, change the line:
Code:
$name=htmlentities($selected[0]);

to:
Code:
$name=htmlentities($selected[0], ENT_COMPAT, 'UTF-8');

in the file administrator/components/com_hikashop/classes/filter.php and that should fix the problem.

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

Moderators: Obsidev
Time to create page: 0.403 seconds
Powered by Kunena Forum