My name is Bong, James Bong
Posts: 11
70 credits Members referred : 0
« on: Jun 26, 2007, 03:32:18 PM »
Hi, I noticed another post detailing how much of the document root is required in pages...cart_example.php etc? If I addd the whole path, it still says it can't locate the related files. In db_config.php I have specified...
My name is Bong, James Bong
Posts: 11
70 credits Members referred : 0
« Reply #6 on: Jun 27, 2007, 05:56:17 PM »
the trouble is I'm not sure what is 'root' on the server. The full path (I'm given) is \\nas33ent\domains\w\woodcymru.e-concepts.co.uk\user\htdocs\classes\db_cart\db_cart_example.php how much do I use?
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6274
38470 credits Members referred : 374
My name is Bong, James Bong
Posts: 11
70 credits Members referred : 0
« Reply #8 on: Jun 28, 2007, 11:23:07 AM »
Yes, I thought so, but when I enter it I get the following error message
Warning: main(/classes/db_cart/db_config.php): failed to open stream: No such file or directory in //nas33ent\domains\w\woodcymru.e-concepts.co.uk\user\htdocs\classes\db_cart\db_cart_class.php on line 22
Fatal error: main(): Failed opening required '/classes/db_cart/db_config.php' (include_path='.;c:\php4\pear') in //nas33ent\domains\w\woodcymru.e-concepts.co.uk\user\htdocs\classes\db_cart\db_cart_class.php on line 22
My name is Bong, James Bong
Posts: 11
70 credits Members referred : 0
« Reply #9 on: Jun 28, 2007, 11:25:17 AM »
apologies, tried again and it worked, I think perhaps my changes hadn't uploaded correctly before.
Many thanks to all
My name is Bong, James Bong
Posts: 11
70 credits Members referred : 0
« Reply #10 on: Jun 28, 2007, 11:38:54 AM »
Sorry, one last question....I'm hoping to integrate paypal with db_cart and I know that Dreamweaver can generate my paypal button code, but I wondered if I should use paypal's IPN to inform my client of orders made or whether or not db_cart can be employed to track orders and stock alongside paypal?
Thanks in advance
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6274
38470 credits Members referred : 374
It's time to use PHP5!
« Reply #11 on: Jun 28, 2007, 11:59:03 AM »
the question is if you want to use paypal for the amount or all order rows (shopping cart)
My name is Bong, James Bong
Posts: 11
70 credits Members referred : 0
« Reply #12 on: Jun 28, 2007, 01:48:19 PM »
I don't know..its the first e-commerce site I've built, my client has a paypal business account, so I began by trying to integrate this into my design, soon discovered that although I could easily take payments without a database, I was going to have to use one for products etc and to track orders. I looked around for a free cart and found db_cart and am now looking for the next step...as I said, for a solution that will inform both customer and client of purchase. If I have to start from scratch and hand-code, I will, just thought there must be some existing solution, but am confused as to the flow of the whole process and integrating the 2 systems.
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6274
38470 credits Members referred : 374
It's time to use PHP5!
« Reply #13 on: Jun 28, 2007, 02:12:14 PM »
I guess it depends on the number of products and if your products are dynamic.
using the IPN is important if after the payment you need to change somthing in your application