Media Manager

Locked

Started by prellyan on 12 Apr 2007, 3:24 AM · Views: 7,999

Results 21 to 33 of 33
This thread is locked. New replies are disabled.
12 Apr 2007, 12:50 PM
#21
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Media Manager

If you can't resolve your permissions problem, you can always upload directly via FTP ...

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

12 Apr 2007, 1:22 PM
#22
prellyan avatar

prellyan

Zen Follower

Join Date:
Mar 2006
Location:
Australia
Posts:
268
Plugin Contributions:
0

Re: Media Manager

the have been ftp'd to the /media folder

but none of them are listed in the media manager due to the sql inserts not being performed i guess

:imagination:cogitation:realisation:
https://www.chalbys.com

12 Apr 2007, 1:25 PM
#23
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Media Manager

Prellyan:

the have been ftp'd to the /media folder

but none of them are listed in the media manager due to the sql inserts not being performed i guess

Um ... that's true too.
It's possible that supplying the same filename with an upload (even if the upload fails), the insert may still complete. Haven't tested that one in awhile myself.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

12 Apr 2007, 1:31 PM
#24
prellyan avatar

prellyan

Zen Follower

Join Date:
Mar 2006
Location:
Australia
Posts:
268
Plugin Contributions:
0

Re: Media Manager

and there is no media in the media box on the product page

/me dribbles

:imagination:cogitation:realisation:
https://www.chalbys.com

12 Apr 2007, 1:41 PM
#25
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Media Manager

Prellyan:

ok i have tested the techsupp.php file

Does it give you any of this info?
* upload_max_filesize
* post_max_size
* file_uploads
* upload_tmp_dir

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

12 Apr 2007, 1:52 PM
#26
prellyan avatar

prellyan

Zen Follower

Join Date:
Mar 2006
Location:
Australia
Posts:
268
Plugin Contributions:
0

Re: Media Manager

wow --- i think i am getting somewhere.

One question though

What is the correct filepath for entry into the attributes controller for the download file?

:imagination:cogitation:realisation:
https://www.chalbys.com

12 Apr 2007, 1:59 PM
#27
prellyan avatar

prellyan

Zen Follower

Join Date:
Mar 2006
Location:
Australia
Posts:
268
Plugin Contributions:
0

Re: Media Manager

in anser to your question yes it does

PHP File Uploads = ON
PHP File Upload Max Size = 2M
PHP Post Max Size = 8M
PHP File Upload TMP Dir =

well that answers that lot of questions especially being told by my hoster that there were no limits on any file size upload.

So that really is the issue --- files over 2meg are causing the ZC script to fail in uploading the files.

I am so thankful for your patience in all of this. If i ever actually make any money doing this i will most definately buy you a coffee.

On a seperate note it seems that to create a linked media collection that only contains the uploaded demo pertaining to a particular song a new media collection needs to be created per track. Otherwise all demo songs associated with an artist are available irrespective of the track name/demo correlation.

:imagination:cogitation:realisation:
https://www.chalbys.com

12 Apr 2007, 2:11 PM
#28
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Media Manager

Try to use filenames without the spaces or special characters etc.

This can cause issues ...

To test, use the same file without the spaces or special characters and see if now it works right ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

12 Apr 2007, 2:23 PM
#29
prellyan avatar

prellyan

Zen Follower

Join Date:
Mar 2006
Location:
Australia
Posts:
268
Plugin Contributions:
0

Re: Media Manager

i tried with a zimple filename of bluelove.zip with no other filepath in the attributes and is still get a file not found error

Sorry. File not found. Please contact the webmaster to report this error.
c/f: http://www.wickedviolin.com/musicstore/media/bluelove.zip

:imagination:cogitation:realisation:
https://www.chalbys.com

12 Apr 2007, 2:24 PM
#30
prellyan avatar

prellyan

Zen Follower

Join Date:
Mar 2006
Location:
Australia
Posts:
268
Plugin Contributions:
0

Re: Media Manager

by the way that link takes you directly to the download even if not in zencart so how is that protected at all from someone with the direct address?

:imagination:cogitation:realisation:
https://www.chalbys.com

12 Apr 2007, 2:34 PM
#31
prellyan avatar

prellyan

Zen Follower

Join Date:
Mar 2006
Location:
Australia
Posts:
268
Plugin Contributions:
0

Re: Media Manager

is the file path error generated because the upload was done via ftp and not via the media manager?

:imagination:cogitation:realisation:
https://www.chalbys.com

12 Apr 2007, 2:37 PM
#32
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Media Manager

The Media Clips are itty bitty 30 second or less shorts of the music that one would like to buy in the /media directory ... (short files)

The Download on the Attribute is in the /download and this is protected ... the redirect further protects the actual download being purchased ... (bigger files)

Are you using this backwards?

The directory /media doesn't display the filenames for you because there is an index.html in there ... (security/safety so thieves don't snoop and steal 'em)

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

12 Apr 2007, 2:52 PM
#33
prellyan avatar

prellyan

Zen Follower

Join Date:
Mar 2006
Location:
Australia
Posts:
268
Plugin Contributions:
0

Re: Media Manager

yes i was --- 1am here atm

the full download file i had ftp'd to the media folder not the download folder hence the wrong filepath when purchasing.

Summation:

  1. Unless you want all of your artists songs available as a demo within a category regardless of what track is on the display page you must create seperate Media Collections. I found this useful and works without errors

<Artistname> - <Albumname> - <Singlename>

  1. small *.mp3 *.wav files for the media manager less than 2MB as it seems there were others having the same hosting issues can be uploaded using media manger.

  2. Create an attribute setting I have used the bitrate of the track. This then allows you to encompass the downloadable file attributes and filepaths.

  3. The acutal download file can be ftp'd to the /downloads folder without issue as long as the attributes are set.

Thanks for all the help!!

ps i hope this is the last post needed here

:imagination:cogitation:realisation:
https://www.chalbys.com