Forums / Addon Admin Tools / Customer Uploaded Files - List and Download

Customer Uploaded Files - List and Download

Views: 24,477

Results 81 to 85 of 85
17 Oct 2018, 2:32 PM
#81
thomaswhiteeagle avatar

thomaswhiteeagle

New Zenner

Join Date:
May 2007
Posts:
93
Plugin Contributions:
0

Customer Uploaded Files - List and Download

did that. added the content to configure.php. except the 2 lines in the readme file dont exist in confgure.php on 1.5.5f. now it almost works but when I click the image link I get this: File "/home/xxxxx/public_html/xxxx/DIR_WS_IMAGESuploads/2.png" does not exist (254)

18 Oct 2018, 5:02 PM
#82
lordzoabar avatar

lordzoabar

New Zenner

Join Date:
Nov 2017
Location:
Athens, Georgia, USA
Posts:
104
Plugin Contributions:
0

Re: Customer Uploaded Files - List and Download

thomaswhiteeagle:

did that. added the content to configure.php. except the 2 lines in the readme file dont exist in confgure.php on 1.5.5f. now it almost works but when I click the image link I get this: File "/home/xxxxx/public_html/xxxx/DIR_WS_IMAGESuploads/2.png" does not exist (254)

THAT I was able to get working by changing

define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/')
```  to
```php
  define('DIR_WS_UPLOADS', images . '/uploads/');

After that, everything worked fine.

18 Oct 2018, 5:12 PM
#83
lordzoabar avatar

lordzoabar

New Zenner

Join Date:
Nov 2017
Location:
Athens, Georgia, USA
Posts:
104
Plugin Contributions:
0

Re: Customer Uploaded Files - List and Download

Design75:

quick fix for v1.4

add global $db; to uploads.php
so that

function download_file($index, $oid) {
// Look up in the database of upload files, that

> looks like
> ```php
function download_file($index, $oid) {
global $db;
//  Look up in the database of upload files, that

Made that change, and everything is golden! Which is wonderful, because this is like, the number 1 add-on I use for our store.

19 Oct 2018, 3:23 PM
#84
thomaswhiteeagle avatar

thomaswhiteeagle

New Zenner

Join Date:
May 2007
Posts:
93
Plugin Contributions:
0

Re: Customer Uploaded Files - List and Download

Lordzoabar:

THAT I was able to get working by changing

define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/')

> ```php
  define('DIR_WS_UPLOADS', images . '/uploads/');

After that, everything worked fine.

Perfect. thanks much for the help!

27 Jan 2020, 9:14 PM
#85
lordzoabar avatar

lordzoabar

New Zenner

Join Date:
Nov 2017
Location:
Athens, Georgia, USA
Posts:
104
Plugin Contributions:
0

Re: Customer Uploaded Files - List and Download

So we've got a second website that we do pretty much the same thing as we do on our primary site, except that it's geared more towards business owners exclusively. It hasn't been updated in a while, just because it really hasn't needed to be, but I was at least wanting to get some of the same modules installed as on our primary. I've got this plugin installed and working perfectly fine, except I have no idea where customer files are actually getting uploaded to, because they are definitely not going to images/uploads. The site (FrameBiz.com) is running on 1.5.4 still, but the uploads SHOULD still be pointing to images/uploads I would think. Where else might they be going, or where would I look to see if a different folder is being pointed to?