Jump to content


Photo

Possible Problem with Sessions


  • Please log in to reply
12 replies to this topic

#1 whittierpc

whittierpc
  • Members
  • PipPip
  • Member
  • 15 posts

Posted 30 June 2006 - 09:15 AM

Hello,
I originally started my site development on a Linux Server with PHP 4 and MYsql 3.23 and recently switch to a Windows Server 2003 with IIS 6 with PHP 4.XX and MySQL 5. I have had some problems along the way but this one I cannot figure out. I read "Creating Interactive Websites Using PHP....." to get started,

What really gets me is that if you populate the shopping cart and go through the expected steps it seems that the cart.php page does not work, but if you go to a different menu sections and see the items (# of) in our cart and click on the page you see your stuff.

Best to see for yourself.


To see what I am talking about follow these steps:

1. Choose a category
2. Pick and item and click View Item
3. Select your optios
4. Click the Add button
5. You will see a blank page
6. Click a different menu section
7. Click the 1 Item in Shopping Cart button

#2 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 30 June 2006 - 09:22 AM

Thats realy weried i had a go and i had the same problam.


were did you get all the information to put the whole site together.


Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#3 whittierpc

whittierpc
  • Members
  • PipPip
  • Member
  • 15 posts

Posted 30 June 2006 - 10:12 AM

I primarily used the shopping cart code from the book,"Creating Interactive Websites Using PHP...."

#4 Orio

Orio
  • Staff Alumni
  • Advanced Member
  • 2,491 posts

Posted 30 June 2006 - 11:38 AM

So whats the problem? cart.php doesnt output anything?

Orio.
Think you're smarty?

(Gone until 20 to November)

#5 whittierpc

whittierpc
  • Members
  • PipPip
  • Member
  • 15 posts

Posted 30 June 2006 - 03:54 PM

It doesn't output now that its on a IIS 6 but on Linux it was fine, but thats not completely true because if you follow the directions youll see it does output. Its hard to describe

#6 Orio

Orio
  • Staff Alumni
  • Advanced Member
  • 2,491 posts

Posted 30 June 2006 - 03:58 PM

It outputs the header and footer, but what's supposed to be in the middle?
Maybe you should post your script?

Orio.
Think you're smarty?

(Gone until 20 to November)

#7 whittierpc

whittierpc
  • Members
  • PipPip
  • Member
  • 15 posts

Posted 30 June 2006 - 04:03 PM

I am at work, I have it at home, but did go to another menu section and then click on the 1 Item in Shopping Cart Button to see the contents of the cart? even though they did not show up in the previous step?

#8 Orio

Orio
  • Staff Alumni
  • Advanced Member
  • 2,491 posts

Posted 30 June 2006 - 04:09 PM

Yeah, I saw that.
That's why I am asking for cart.php's script.

Orio.
Think you're smarty?

(Gone until 20 to November)

#9 whittierpc

whittierpc
  • Members
  • PipPip
  • Member
  • 15 posts

Posted 30 June 2006 - 04:10 PM

sorry I wasn't sure, I will get it posted ASAP

#10 whittierpc

whittierpc
  • Members
  • PipPip
  • Member
  • 15 posts

Posted 07 July 2006 - 07:30 PM

sorry

#11 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 07 July 2006 - 07:56 PM

post checkout.php ok cheers
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#12 whittierpc

whittierpc
  • Members
  • PipPip
  • Member
  • 15 posts

Posted 07 July 2006 - 08:00 PM

but the problem is only when you try to populate the cart.php, checkout is fine.

#13 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 07 July 2006 - 08:03 PM

post it ok then i will comment.

i need to see your coding method
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users