Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Go Back   Code Forums > Application and Web Development > PHP
User Name
Password

Reply
 
LinkBack Thread Tools Display Modes
Old 05-13-2002, 07:20 AM   #1 (permalink)
Admin
$_['Your_Mom'];
 
Admin's Avatar
 
Join Date: May 2002
Location: Santee
Posts: 627
Admin is on a distinguished road
Debugging?

i am heavily modifying a PHP based shopping cart (lots of functional changes and a complete redesign). i need to make sure this thing has no bugs in it before i deliver it to the client.

do any of you guys know if there is anything that i can run that will run through my code and check for any scripting errors that i cant find? ie. something that will just go through the pages automaticly and add stuff to the cart and check out like 2000 times and try to catch any errors....

Admin
__________________


Urban Clothing
Admin is offline   Reply With Quote
Old 05-13-2002, 07:35 AM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,397
sde is on a distinguished road
that would be pretty cool, .. but i don't know. send me the url and i'll test it a bit.
__________________
sde is offline   Reply With Quote
Old 05-13-2002, 11:27 PM   #3 (permalink)
rdove
Masked Moderator
 
rdove's Avatar
 
Join Date: May 2002
Location: Indianapolis, IN
Posts: 260
rdove is on a distinguished road
I don't think that there is anything out there for that...I recommend taking the role of "dumb user" and seeing if you can come up with the errors. I did a shopping cart page with ASP a couple of months ago, here is some things that I found:

1. Make sure that that users can only enter numbers into the shopping cart, I found out in my page if the user entered a letter or left the any numeric field blank, an error would occur.

2. Make sure that the user can not enter negative numbers. Even though I told it to only accept numbers -1 was still acceptable and it reduced the total price at the end.

3. Make sure deleting items from the cart is possible and be sure to make it clear on how to delete items.

4. If your cart is also interacting with inventory control make sure that quantities are added and subtracted correctly if changes are made within the cart.

Thats all I can think of off hand. I hope this gives you some ideas on what to look for.
__________________
~Ryan

rdove is offline   Reply With Quote
Old 05-14-2002, 03:09 PM   #4 (permalink)
Admin
$_['Your_Mom'];
 
Admin's Avatar
 
Join Date: May 2002
Location: Santee
Posts: 627
Admin is on a distinguished road
heh. i have worked on several other Java/XML/Oracle shopping carts so i have all that stuff down already. I just want to make sure there is no way to break this new PHP one

mike, ill send you a link to it in 4-5 days (that is how much more development i have.

Admin
__________________


Urban Clothing
Admin is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems debugging visual c++ in vs.net 2003 Engineer MS Technologies ( ASP, VB, C#, .NET ) 2 07-20-2004 12:19 PM
Help debugging a power problem Belisarius Lounge 0 10-25-2003 04:44 PM
Help with Security and debugging saline Perl 1 06-03-2003 05:07 AM


All times are GMT -8. The time now is 06:22 PM.


Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2006, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting
Open Circle