Post by sulix » Mon Dec 01, 2008 8:43 pm

Hi Opencart users and authors,
firstly thank you for great shop solution. I would like to use this shop for user generated prints. Principle is: user uploads digital picture, edit it in online editor (outside the shop) and buy the results in shop.

I searched the forum a lot but I am not able to find any solution. My question is:  I need to keep information about edited picture in the session. BUT SHOP KEEPS SESSION ONLY IN FIRST PAGE AFTER REDIRECTING, AFTER THAT IT THROWS AWAY. Does anyone knows why? Any help highly appreciated.
Thanks a lot,   

Sulix

Newbie

Posts

Joined
Mon Dec 01, 2008 8:37 pm

Post by Qphoria » Mon Dec 01, 2008 9:19 pm

welcome to opencart and CAN YOU PLEASE EXPLAIN A LITTLE MORE OF WHAT YOU ARE SEEING AND TELL US WHICH VERSION OF OPENCART YOU HAVE. ALSO IF YOU HAVE A LINK TO YOUR SITE THAT WOULD HELP TOO.
thanks  ;D

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by sulix » Tue Dec 02, 2008 4:45 pm

Hello Qphoria,
thanks for quick reply. My apologies for late reaction. I have to consult with my colleague programmer.

Anyway there is more precise description:

I have probably version 0.7.8 ( I dont know how to check it and its quite long time when I install it)
There is the process what doesn't work properly
1) recording picture
  http://fotula.cz/vyzkouset/
  above the form is displayed

Code: Select all

 session_id (by PHP  session_id();)

2) Choosing the frame type &  background
  above the picture is displayed session_id

3) go to shop
  Click to "Objednat" (means "Order, or Add to basket")
  data from the form are send to page, which stores information about the uploaded picture and session_id into database table and by the header

Code: Select all

("Location: /shop/product/product_id/$product_id");
redirec page to concrete product in the shop  (product is already prepared in the shop)

4) shop
  below the product page you can see session_id which is similar to session_id in wordpress page (http://fotula.cz/vyzkouset/).
Behind the name of the product is printed cookie with picture name.

5) add to cart
  after the clicking to "Ad to cart" is again displayed session_id in the bottom of the page, which is NOT THE SAME that was in product page (in shop)

Also disappears the value which was stored in cookie "fotulaimg" (see printed error undefined index ....)   

It's mystery for me :)

Thank you for your time and help

Sulix

Newbie

Posts

Joined
Mon Dec 01, 2008 8:37 pm

Post by JNeuhoff » Tue Dec 02, 2008 6:29 pm

Curious:

Code: Select all

Location: /shop/product/product_id/$product_id
There is no  http://fotula.cz/vyzkouset/shop/ available on your server. Where exactly is your OpenCart shop installed?

Also, have you tried the latest version 0.7.9RC4 of OpenCart which you can get from http://open-cart.googlecode.com/files/o ... .9-RC4.zip ?

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by sulix » Tue Dec 02, 2008 6:36 pm

JNeuhoff,

Shop you can find :http://fotula.cz/shop/
I did not try newest version because it took me quite long time to modify and translate current one. And except the lost session it's working great.

Newbie

Posts

Joined
Mon Dec 01, 2008 8:37 pm

Post by sulix » Wed Dec 03, 2008 2:18 pm

Guys, do you thing the upgade to newest version will solve my troubles with changing session?

Thanks,
Sulix

Newbie

Posts

Joined
Mon Dec 01, 2008 8:37 pm

Post by JNeuhoff » Wed Dec 03, 2008 7:10 pm

Do you have a test server where we can try it out?

And yes, it would be useful to use the latest OpenCart 0.7.9RC4 if you can though we can't promise it will work. But once we can replicate the lost session error it shouldn't be too hard to fix it.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by sulix » Wed Dec 03, 2008 9:07 pm

Thank you for reply,

Ok than,
I will try to install OpenCart 0.7.9RC4 and we will see what happens ;).  No I don't have any test server, sorry.

Sulix

Newbie

Posts

Joined
Mon Dec 01, 2008 8:37 pm

Post by sulix » Tue Dec 09, 2008 11:30 pm

Hi guys,
thanks a lot for your support. It looks like upgrade solved my troubles.

Sulix

Newbie

Posts

Joined
Mon Dec 01, 2008 8:37 pm
Who is online

Users browsing this forum: Semrush [Bot] and 10 guests