February 7, 2011 at 4:40 am #2656
Great work you’ve done here!
Getting the following error – environment variables are listed after error and symptoms, didn’t see exact issues on other similar posts:
Fatal error: Cannot redeclare download_dispatch() (previously declared in /home/content/00/4595000/html/wp-content/plugins/wp-cart-for-digital-products/download.php:146) in /home/content/00/4595000/html/wp-content/plugins/wp-cart-for-digital-products/download.php on line 177
Using PayPal Gateway only – full testing of transaction cycle, PayPal account (Buyer & Seller) & credit card – emails to Buyer with Link and Seller Notification working fine.
When selecting the link in either the Buyer Email or on the Returning ‘thank you page’, the error above occurs.
Download files are in a separate folder on the root at /video/ – ‘download.php’ (original, not custom) in both /video/ folder and ‘wp-content/plugins/wp-cart-for-digital-products’ folder.
Linux Grid Hosting – GoDaddy (moved from Windows hosting this weekend)
MySQL – 4.1
Latest Version of eStore
Website – http://www.yogainmyschool.com
Trying to launch campaign this week and would like to resolve asap!
RobertFebruary 7, 2011 at 5:48 am #28787
“…Download files are in a separate folder on the root at /video/ – ‘download.php’ (original, not custom) in both /video/ folder and ‘wp-content/plugins/wp-cart-for-digital-products’ folder.”
There’s the problem… If you want to have a custom location for the download script, you must use the custom download script instructions.February 8, 2011 at 4:28 am #28788
I’ve followed both the newest instructions and the old instructions and now have the ‘old’ instructions setup and still get the following error:
“Fatal error: Cannot redeclare download_dispatch() (previously declared in /home/content/00/4595000/html/wp-content/plugins/wp-cart-for-digital-products/download.php:146) in /home/content/00/4595000/html/wp-content/plugins/wp-cart-for-digital-products/download.php on line 177”
Thanks!February 8, 2011 at 5:00 am #28789amin007Participant
There can be only one copy of the “download.php” file. If you have done the customization then make sure to use the “custom_download.php” file. Don’t touch the “download.php” file.February 8, 2011 at 8:34 pm #28790
Ok, I now have just one ‘download.php’ (used the custom-download.php without any changes except to rename to download.php) and have both the digital video file and the download.php file in the download directory which is in yogainmyschool.com/video/ folder. I’ve set the Download Verification Script location to the same directory.
Now I have the following error: Please tell us “the Custom Download Validation Script could not find the download.php file in the eStore plugin directory.” Thank you!
It seems to be saying that the download.php script that I’ve set up in the custom download folder is pointing back to the eStore location looking for the download.php file that I renamed so it would not be a duplicate file…I’m confused!
We’re almost there! I hope this last issue can be resolved quickly…all the other functions are working fine including emails.
RobertFebruary 9, 2011 at 12:25 am #28791
The custom script in the videos directory is supposed to invoke the original script, located in the original directory. Just unrename the one in the plugin directory.February 9, 2011 at 12:55 am #28792
Ok, I’ll give that a try but isn’t that contradictory to what amin007 said to do?February 9, 2011 at 1:17 am #28793
No it is not. Take a look at the custom download.php file and compare it to the original one. The custom one is meant to be relocatable to directories outside the normal plugin directory. Its sole purpose is to “find” and then call the original download.php file. When you renamed the original file, it gave up, because it couldn’t find it.
So, when the user invokes the custom download.php file, it first goes looking for the original one and then transfers control to it.February 9, 2011 at 1:20 am #28794
I must have miss-interpreted amin007’s statement “There can be only one copy of the “download.php” file. If you have done the customization then make sure to delete the copy of “download.php” file from the eStore directory.” from above. Trying it now.
Thanks!February 9, 2011 at 1:39 am #28795
That did it!
Thank you VERY MUCH for an outstanding product and support!!!
- You must be logged in to reply to this topic.