ForumsgeneralQuestion about BSDDS v.11

This topic has 4 voices, contains 47 replies, and was last updated by  draker 1372 days ago.

Viewing 15 posts - 1 through 15 (of 48 total)
Author Posts
Author Posts
March 31, 2008 at 6:58 pm #4404

UniversalIndieRecords

I have a few questions….
1. Can u use BSDDS v11 to do a Radiohead like promotion where fans choose what they want to pay?
2. If so, what happens if they enter “0″? What happens next in the process.
3. $GLOBALS['ADMIN_EMAIL'] – this is the place i want to get emails sent to me, correct?
4. $GLOBALS['ADMIN_PASSWORD'] – what is this used for?
5. when i click on the “view cart” button.. i get the following error… “The requested URL /cart/cart.php was not found on this server.”

although it most definitely is..

any help would be appreciated

Thanks…

March 31, 2008 at 8:30 pm #4405

Brad

1. A future version will probably have this. I’ve done most of the programming, just gotta put it all together.

2. I’m not sure what happens. Likely it would try to do a zero dollar Paypal transaction which I don’t think will work.

3. Correct.

4. Password for the admin section at /dds/admin/

5. This could be a relative path issue. Perhaps try pre-pending $_SERVER['DOCUMENT_ROOT'] to the URL in the view cart button.

April 2, 2008 at 11:09 am #4406

UniversalIndieRecords

ok…
the url for my store would be..
http://www.myurl.com/store
with it set at:
<a href="{$GLOBALS['ROOT']}go.php?c=cart">
when I click on the “add to cart” button the url goes to:
http://www.myurl.com/cart/cart.php
and gives me the following error:
The requested URL /cart/cart.php was not found on this server.

now if I change it to read:
</a><a href="{$_SERVER['DOCUMENT_ROOT']}go.php?c=cart">
clicking on the “add to cart” button goes to the following url
http://mysite.com/home/mysite/public_htmlgo.php?c=cart

which of course is an error.

Any ideas?

April 3, 2008 at 4:07 pm #4407

Brad

What’s GLOBALS['ROOT'] set to? It should be http://www.myurl.com/store/, is it?

April 3, 2008 at 4:58 pm #4408

UniversalIndieRecords

yep.. that’s what it’s set as exactly
so when I mouse over the add to cart button it reads:

http://www.myurl.com/store/go.php?c=cart

which is correct… it’s only when i click on the button that i get the “not found” error
cause the url reverts to:

http://www.myurl.com/cart/cart.php

April 6, 2008 at 1:05 pm #4409

jezmck

I’ve had the same issue as in the post directly above mine, btw.

April 7, 2008 at 12:48 pm #4410

Brad

Is that a new install?

April 7, 2008 at 1:18 pm #4411

jezmck

It is for me.
I’m actually hoping to integrate it fully into a site I’ve already built, so I’m going to have to make major changes anyway…

April 7, 2008 at 3:38 pm #4412

UniversalIndieRecords

It’s a new install for me as well. I was about to ask if there was a way for me to download a previous version?

April 7, 2008 at 5:19 pm #4413

Brad

Yep, they’re all available on the Google Code page:

http://code.google.com/p/brad-sucks-digital-download-store/downloads/list

The issue must be in the paths of the go.php redirector. I’ll have a quick look when I get a sec.

April 7, 2008 at 5:22 pm #4414

Brad

Okay, try loading up your go.php file and editing any occurrence of /cart/cart.php to /store/cart/cart.php. Looks like they’re on lines 45 and 124.

My bad there, I should be using $GLOBALS['ROOT'] to determine the path.

April 7, 2008 at 6:45 pm #4415

UniversalIndieRecords

that did it Brad. Thanks. Worked like a charm.

April 8, 2008 at 9:58 pm #4416

UniversalIndieRecords

Ok now..
1. I added an album with the price of 0.00 dollars
2. when i click on the “buy” button it takes me to the shopping cart screen as it’s supposed to
3. when I click on the “download your files button” I get a 404 error because the url goes to:

http://www.myurl.com/notify.php

instead of

http://www.universalindie.com/store/notify.php

4. so in the “cartclass.php” i modified the following line to read

<input type="hidden" name="notify_url" value="{$GLOBALS['ROOT']}/store/notify.php">

but I still get the 404 error

April 11, 2008 at 10:29 pm #4417

UniversalIndieRecords

Okay I was able to get to the next page by modifying

<form action="/notify.php" method="post">

to

<form action="/store/notify.php" method="post">

So now I get the download link.. but when i click it.. i get the following url

http://myurl.com/?userid=38473fcc35d9d92d512c691efb6efcb9

Now since the url has been wrong up until now… i’m assuming it’s looking for the file in wrong place…

but i can’t tell the way the url is built… please help

April 11, 2008 at 10:33 pm #4418

UniversalIndieRecords

oh.. my items ini file is setup like this….

id =		1
name =		Cartel - Prepare For Glory
type =		album
price =  	0.00
# location = 	http://www.myurl.com/my-downloads/
filename =	cartelprepare4glory-mp3
formats =	.zip
Viewing 15 posts - 1 through 15 (of 48 total)

ForumsgeneralQuestion about BSDDS v.11

You must be logged in to reply to this topic.