| Author | Posts |
|---|---|
| Author | Posts |
| April 27, 2008 at 11:11 pm #4434 | |
|
draker |
Hi, In setting up BSDDS, I noticed what you are noticing: If your store is at: There are a number of problems, but if it’s at: It’s OK. Looks like some paths are missing. I tracked a few down to go.php, but I’m still looking for the rest. |
| April 28, 2008 at 9:49 am #4435 | |
|
Brad |
What’s broken in go.php? The only forward I can find is on line 124:
So if $GLOBALS['ROOT'] is set to “http://www.website.com/store/” in your config.php, it should be interpreted as this:
As far as I can tell that should work. |
| April 28, 2008 at 9:50 am #4436 | |
|
Brad |
Uh oh, that seems to be only on my local copy, maybe I didn’t commit the changes or something. Lemme do a pass-through and post an update. |
| April 28, 2008 at 10:01 am #4437 | |
|
Brad |
Okay apparently I had v0.12 with a bunch of fixes sitting in a directory here for the past while but never uploaded it. v0.12 is online now and should be a bit better. If you find any other broken stuff please let me know, I’ll be sure to check my hard drive for fixes. :) |
| April 28, 2008 at 1:12 pm #4438 | |
|
jezmck |
might I suggest that you change it to a PHP header redirect to reduce the reliance on JS:
|
| April 28, 2008 at 3:32 pm #4439 | |
|
UniversalIndieRecords |
COol.. i’ll try this new version out… |
| April 28, 2008 at 6:44 pm #4440 | |
|
UniversalIndieRecords |
Question… How can I use a url like this: http://mysite.com/wp-content/plugins/DownloadCounter/download.php?id=1 instead of a regular one? |
| April 28, 2008 at 7:30 pm #4441 | |
|
Brad |
jezmck: True, I think the PHP header redirect would work fine there. Though if they don’t have Javascript, the shopping cart’s not gonna work very well. Universal: That’d all be in /includes/functions.php listPurchases(). Though I’d recommend using Google Analytics or another Javascript solution instead of gumming up links. But that’s me. |
| April 28, 2008 at 8:34 pm #4442 | |
|
UniversalIndieRecords |
each link like that is a different album/song http://mysite.com/wp-content/plugins/DownloadCounter/download.php?id=1 http://mysite.com/wp-content/plugins/DownloadCounter/download.php?id=2 http://mysite.com/wp-content/plugins/DownloadCounter/download.php?id=3 would all be different songs…. I was trying to keep it all in WordPress for easy access… |
| April 29, 2008 at 10:19 am #4443 | |
|
UniversalIndieRecords |
Okay.. I created a directory called store2 to test version 12… uploaded.. didn’t have the problems that I had with 11… until from the shopping cart I clicked on “download your files” I got the following error… Warning: include(../../cart/cartclass.php) [function.include]: failed to open stream: No such file or directory in /home/universa/public_html/store2/completed/index.php on line 4 Warning: include() [function.include]: Failed opening ‘../../cart/cartclass.php’ for inclusion (include_path=’.:../:../includes’) in /home/universa/public_html/store2/completed/index.php on line 4 Fatal error: main() [function.main]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "shoppingCart" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /home/universa/public_html/store2/completed/index.php on line 10 |
| April 29, 2008 at 6:11 pm #4444 | |
|
draker |
The v12 works great! Thanks a lot!! I noticed one thing, when using the “BSDDS cart” (instead of the paypal cart), go.php does not verify the price is valid. This can be fixed by adding this to go.php at around line 44:
} |
| April 29, 2008 at 7:43 pm #4445 | |
|
UniversalIndieRecords |
draker, |
| April 29, 2008 at 10:56 pm #4446 | |
|
Brad |
Universal: huh, not sure why that would be happening. draker: glad it works for you. Cool, I’ll look at implementing that or something like it. I process all my own orders so I haven’t had to worry about it. |
| May 1, 2008 at 9:46 am #4447 | |
|
UniversalIndieRecords |
okay.. for the sake of getting this done and done right… how much will you charge me to install this for me??? |
| May 1, 2008 at 7:52 pm #4448 | |
|
UniversalIndieRecords |
bump |
You must be logged in to reply to this topic.





