Media Manager

Locked

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

Results 1 to 20 of 33
This thread is locked. New replies are disabled.
12 Apr 2007, 3:24 AM
#1
prellyan avatar

prellyan

Zen Follower

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

Media Manager

Hey there,

When trying to upload files using the media manager the default directory that it uploads to in the drop down boxd is Main Directory.

In the tute for media file slocated here

https://www.zen-cart.com/tutorials/index.php?article=119

it says the dfault directory is Media.

That doesnt appear to be an option.

When i attempt to upload to the Main Directory i cant locate the file later on the server nor in the zencart system.

Any help would be appreciated.

v 1.3.7

Thanks

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

12 Apr 2007, 3:52 AM
#3
ajeh avatar

ajeh

Oba-san

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

Re: Media Manager

Look at your site via FTP ...

See where you have the directories:
/admin
/includes
/media <<-- Hint Hint is this set to 777

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, 6:06 AM
#4
prellyan avatar

prellyan

Zen Follower

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

Re: Media Manager

Ajeh,

Thanks i have done that.

The media folder is 777 but is still not appearing in the drop down list on the media manager.

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

12 Apr 2007, 6:56 AM
#5
prellyan avatar

prellyan

Zen Follower

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

Re: Media Manager

hast his got anything to do with the issue

$dir_info[] = array('id' => '', 'text' => "Main Directory");

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

12 Apr 2007, 8:53 AM
#6
drbyte avatar

drbyte

Sensei

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

Re: Media Manager

You will not see the "/media" folder in the pulldown. The "Main Directory" option on the Media Manager page is the /media folder.
No other options are supplied, as that is the only place the module currently supports loading files to.

The /media folder is defined according to the setting for DIR_FS_CATALOG_MEDIA in your /admin/includes/configure.php file.

.
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, 9:38 AM
#7
prellyan avatar

prellyan

Zen Follower

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

Re: Media Manager

the developers toolkit paths that statement to

/home/wickedvi/public_html/musicstore/admin/includes/extra_configures/media_manager.php
Line #11 : define('DIR_FS_CATALOG_MEDIA', DIR_FS_CATALOG . 'media/');

not the configure file.

and still wont upload any files to server

any other ideas?

thanks

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

12 Apr 2007, 10:51 AM
#8
drbyte avatar

drbyte

Sensei

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

Re: Media Manager

Prellyan:

the developers toolkit paths that statement to

/home/wickedvi/public_html/musicstore/admin/includes/extra_configures/media_manager.php
Line #11 : define('DIR_FS_CATALOG_MEDIA', DIR_FS_CATALOG . 'media/');

not the configure file.:oops: Yes, you're right.

Prellyan:

and still wont upload any files to server

any other ideas?

thanks

  1. Is the server errorlog mentioning anything when you try to upload?
  2. What files "are" in the /media folder?
  3. What are the filename extensions of the files you're uploading? Are they in the list defined in Admin->Configuration->Maximum Values->Allowed Filename Extensions for uploading ?
  4. What's contained in your php-info output under Admin->Tools->Server Info ? (Yes, all of it)

.
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, 11:28 AM
#9
prellyan avatar

prellyan

Zen Follower

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

Re: Media Manager

np gald we are talking about the same file.

  1. Is the server errorlog mentioning anything when you try to upload?
    No errors pertaining to the upload just this one

    [26-Mar-2007 23:08:20] PHP Parse error: syntax error, unexpected ':' in /home/wickedvi/public_html/musicstore/includes/languages/english/wickedviolin/meta_tags.php on line 14

  2. What files "are" in the /media folder?
    I managed to upload a 400k wave file using the media manager so that is there and i just tested that capacity again with sucess for *.wav files but not for .zip or .mp3
    the file size upload is now set to 250000000

  3. What are the filename extensions of the files you're uploading? Are they in the list defined in Admin->Configuration->Maximum Values->Allowed Filename Extensions for uploading ?
    This setting is pertaining to what users can upload to the site but i have added mp3 and wav using the same nomenclature so that field is now
    jpg,jpeg,gif,png,eps,cdr,ai,pdf,tif,tiff,bmp,zip,wav,mp3

    I ahve also added the media file types using admin->media types file extensions .mp3 .wav .zip

  4. What's contained in your php-info output under Admin->Tools->Server Info ? (Yes, all of it)

**Server Host: **https://www.wickedviolin.com (203.142.9.19) **Database Host: **localhost (127.0.0.1) **Server OS: **Linux platypus.digitalis.net.au 2.6.9-42.0.10.ELsmp #1 SMP Tue Feb 27 10:11:19 EST 2007 i686 **Database: **MySQL 4.1.21-standard **Server Date: **04/12/2007 21:21:19 **Database Date: **04/12/2007 21:21:19 **Server Up Time: **
**PHP Version: **4.4.6 (Zend: 1.3.0)
**HTTP Server: **Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1b
table, td, tr {font-family: sans-serif; font-size: 11px;}.p {text-align: center;}.e {background-color: #ccccff; font-weight: bold; font-size: 11px;}.h {background-color: #9999cc; font-weight: bold; font-size: 11px;}.v {background-color: #cccccc; font-size: 12px;}i {color: #666666; font-size: 11px;}hr {display: none; font-size: 11px;}[IMG]http://www.wickedviolin.com/musicstore/admin/images/logo.gif[/IMG] Zen Cart 1.3.7

Database Patch Level: 1.3.7

v1.3.7 [2007-03-26 16:53:27] (Fresh Installation)


Is there something in the upload script itself that limits the byte size of uploads?

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

12 Apr 2007, 11:40 AM
#10
prellyan avatar

prellyan

Zen Follower

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

Re: Media Manager

It seems as though one of two things

a) their is a max upload size setting --- have spoken with tech and they say that there is no max upload setting on my server and have uploaded much larger files with ftp with no issue.

b) the allowed file extension component is not working properly.

any thoughts on those two?

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

12 Apr 2007, 11:41 AM
#11
drbyte avatar

drbyte

Sensei

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

Re: Media Manager

Prellyan:

Is there something in the upload script itself that limits the byte size of uploads?

Two things:

  1. Admin->Configuration->Maximum Values->Maximum File Upload Size
  2. Your PHP configuration for these settings (visible in the php-info area):
  • 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, 11:49 AM
#12
prellyan avatar

prellyan

Zen Follower

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

Re: Media Manager

Your PHP configuration for these settings (visible in the php-info area): - upload_max_filesize

  • post_max_size
  • file_uploads
  • upload_tmp_dirwhere abouts is that information? is it a .php file?

thanks

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

12 Apr 2007, 11:59 AM
#13
drbyte avatar

drbyte

Sensei

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

Re: Media Manager

Admin->Tools->Server Info

.
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, 12:03 PM
#14
prellyan avatar

prellyan

Zen Follower

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

Re: Media Manager

all of that information that comes up there i posted b4 but no mention of the data you indeicated.

Please dont give up!!

would it help if i set up a temp admin account for you to look for yourself cause everything that should be done i think has been done and still no go?

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

12 Apr 2007, 12:10 PM
#15
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Media Manager

did you make sure to set the media types in the admin-> extra-> media types?

Zen cart PCI compliant Hosting

12 Apr 2007, 12:12 PM
#16
prellyan avatar

prellyan

Zen Follower

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

Re: Media Manager

yes i did. i have even run an sql query in the mysql controller to verify they are there.

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

12 Apr 2007, 12:13 PM
#17
drbyte avatar

drbyte

Sensei

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

Re: Media Manager

Prellyan:

all of that information that comes up there i posted b4 but no mention of the data you indeicated.

Scroll down the page ...

.
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, 12:17 PM
#18
prellyan avatar

prellyan

Zen Follower

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

Re: Media Manager

what i posted b4 is everything that is on that page - sry if you expecting something else.

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

12 Apr 2007, 12:31 PM
#19
drbyte avatar

drbyte

Sensei

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

Re: Media Manager

There is normally about 10 screens of additional information all about PHP configuration settings BELOW the Zen Cart version history section.

Perhaps your host has disabled the "phpinfo()" function?

In the zc_install folder there are 2 files that could be of use if you'll upload them to your musicstore folder:

  • techsupp.php
  • phpinfo.php

Once they're uploaded, open them via your browser and find that info.

Failing that, talk to your host --- fixing security problems on your server is their job.

.
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, 12:46 PM
#20
prellyan avatar

prellyan

Zen Follower

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

Re: Media Manager

ok i have tested the techsupp.php file and it returns a lot of information but the phpinfo() routine it seems is disabled.

Warning: phpinfo() has been disabled for security reasons in /home/wickedvi/public_html/musicstore/tempzenpages/techsupp.php on line 307

so i guess i need to speak to my tech guys about that BUT they have already assured me there is no limit or restrictions associated with the server space so am not sure what they can do

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