Guest Posted November 25, 2002 Posted November 25, 2002 At this point I have narrowed down my problem at my site: http://www.beatstreet.ca/bs_catalog to an SSL issue. I can go along and add as many records/cds as I want to the shopping cart, then when I "checkout" I am passed to the secure pages, and the osCid session thingee is passed accurately, but then when I try and view the contents of my cart, it's as thought I am instantly logged out and I lose all the stuff in my cart. My hypothesis is that somewhere between going from NONSSL to SSL and then back to NONSSL, the my store is losing the session id. I can see the sessions stored in the database and they are there when I relogin. Does anyone have any suggestions or care to try setting up a testing account and try adding products, login etc? Thanks a bunch to whomever takes the plunge. BTW. I have the latest snapshot installed && I tried a bare bones installation and got the same problem. Maybe there is something wrong with my service providers SSL server?
Guest Posted November 30, 2002 Posted November 30, 2002 After puzzling over this for some time now (and moving on as we must do), I am starting to realize that maybe between the NONSSL webserver that MOST of my site is on AND the SSL server are not identical in their php setups. If register globals was OFF in the SSL page, would that explain why my shopping cart gets wiped clean when I go into checkout and then try and access the shopping cart in the NON SSL part again? bART
johnnyosc Posted December 16, 2002 Posted December 16, 2002 how did you intergrate the flash animation for the text and header?
Guest Posted December 16, 2002 Posted December 16, 2002 Well it looks something like this on the osc end: This is an edit I added to html_output.php functions... function flash_record_info($record_info, $product_id){ $field = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="560" height="210" id="recordViewer" bgcolor="#336699">'; $field .= '<param name=movie value="recordViewer.swf?product_id=' . $product_id . '&artistId=' . $record_info['artist_id'] . '&artistName=' . $record_info['artist_name'] . '&albumName=' . $record_info['products_name'] . '&albumId=' . $product_id . '&labelId=' . $record_info['manufacturers_id'] . '&labelName=' . $record_info['manufacturers_name'] . '&price=' . $record_info['products_price'] . '&format=' . /*addslashes($record_info['products_format']) .*/ 'ℑ=./images/' . $record_info['products_image'] .'"><param name=quality value=high><param name=bgcolor value="#336699">'; $field .= '<embed src="recordViewer.swf?product_id=' . $product_id . '&artistId=' . $record_info['artist_id'] . '&artistName=' . $record_info['artist_name'] . '&albumName=' . $record_info['products_name'] . '&albumId=' . $product_id . '&labelId=' . $record_info['manufacturers_id'] . '&labelName=' . $record_info['manufacturers_name'] . '&price=' . $record_info['products_price'] . '&format=' . ereg_replace("""," inch",$record_info['products_format']) . 'ℑ=./images/' . $record_info['products_image'] .'" quality=high type=application/x-shockwave-flash width=560 height=210 bgcolor= #336699></embed></object>'; return $field; } So basically I am passing a bunch of php variables into the swf file and then using them within the flash file
mattice Posted December 16, 2002 Posted December 16, 2002 If register globals was OFF in the SSL page, would that explain why my shopping cart gets wiped clean when I go into checkout and then try and access the shopping cart in the NON SSL part again? bART yes, I think that would result in what you are experiencing... "Politics is the art of preventing people from taking part in affairs which properly concern them"
Criz Posted December 16, 2002 Posted December 16, 2002 Hi surfacescan, A little of topic, but what a cool 8) shop you made. I just enjoy surfing it, looking around and listening to songs. Could you shed some light on the technology you are using on letting customers listen to samples? Thanks and GREAT shop! Chris
Guest Posted December 16, 2002 Posted December 16, 2002 If register globals was OFF in the SSL page, would that explain why my shopping cart gets wiped clean when I go into checkout and then try and access the shopping cart in the NON SSL part again? bART yes, I think that would result in what you are experiencing... Nope, I've determined that it's the same http server and php module running both the SSL site AND the non SSL site. Still stumped.
Guest Posted December 16, 2002 Posted December 16, 2002 Hi surfacescan, A little of topic, but what a cool 8) shop you made. I just enjoy surfing it, looking around and listening to songs. Could you shed some light on the technology you are using on letting customers listen to samples? Thanks and GREAT shop! Chris Hey Chris. I'm glad you like the site. I struggled a bit with the old "to frame or not to frame" but chose the frames because it allowed the flash player at the top to play while the user could navigate around the site and the sound is not interrupted. It's basically passing variables into a couple of flash 6 files and also using the new local connection functionality of flash mx for the buttons. heres a link to how that works: http://www.macromedia.com/support/flash/ac...ection_objects/ Feel free to ask anymore specific questions. I could post somemore code if anybody wants... www.beatstreet.ca
Guest Posted February 13, 2006 Posted February 13, 2006 Nice site i would love to get setting like your site. Starting to think about doing a mp3 dl and sales site.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.