4 replies [Last post]
jprieto's picture
Offline
Joined: 11/09/2007
Juice: 79
Was this information Helpful?

when i use an ftp program i can see the file in there (in the download directory,
but when i want to add a product download to a product using features, then the cart does not see the files

it sees some of the others, but not ALL

NEVER had this bug before

now i added a new download product and BAM!!! the bug is there

help, please

------------------------------------------------------------------------------
Using the cart in WebARtSale.com -- a new site not yet in production
---------------------------------------------------------------------------

Shawn Conn's picture
Offline
Administrator
Joined: 08/07/2007
Juice: 916
Re: abc.pdf is not a valid file or directory inside file downloa

Do you mind telling me what is in your file download directory and the absolute path you specified for your file directory? Any time you go to view file downloads page (admin/store/products/files) or add file download feature (node/*/edit/features/file/add) a call should be made to _file_table_action('insert'). This function uses Drupal's file_scan_directory function to look at all files inside the file download directory. If it finds a file that is in the directory but not in the list of files in uc_files, then this file is added to uc_files. For some reason, this function is not adding the new abc.pdf file to uc_files. With some further information, I should be able to help you determine what is going on.

-Shawn Conn: If the Name Don't Rhyme It Ain't Mine

jprieto's picture
Offline
Joined: 11/09/2007
Juice: 79
solved

i placed an .* in product download setting and it took care of the problem

------------------------------------------------------------------------------
Using the cart in WebARtSale.com -- a new site not yet in production
---------------------------------------------------------------------------

contractorexam's picture
Offline
Joined: 06/26/2010
Juice: 26
Having simular problem with error message

When I got to the product features /admin/store/settings/products/edit/features and type anything in the box, I get this error:

Quote:

An HTTP error 0 occurred.
http://contractorexamsales.com/_autocomplete_file

When I go here /admin/store/products/files the files I'm trying to attach are shown.

When I go here: /admin/store/settings/products/edit/features the path is /home/[user]/prod

Permissions for /prod directory are 766

Unable to attach files to products.

contractorexam's picture
Offline
Joined: 06/26/2010
Juice: 26
Adding to last post... I can

Adding to last post...

I can attach if I FORCE the file name in the field but sill get the same error. This appears to be a bug in the directory scan functionality.

Thanks!