Re: Customer Uploaded Files - List and Download
Quote:
Originally Posted by
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
PHP Code:
define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/')
to
PHP Code:
define('DIR_WS_UPLOADS', images . '/uploads/');
After that, everything worked fine.
Re: Customer Uploaded Files - List and Download
Quote:
Originally Posted by
Design75
quick fix for v1.4
add global $db; to uploads.php
so that
PHP Code:
function download_file($index, $oid) {
// Look up in the database of upload files, that
looks like
PHP Code:
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.
Re: Customer Uploaded Files - List and Download
Quote:
Originally Posted by
Lordzoabar
THAT I was able to get working by changing
PHP Code:
define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/')
to
PHP Code:
define('DIR_WS_UPLOADS', images . '/uploads/');
After that, everything worked fine.
Perfect. thanks much for the help!
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?