Welcome, Guest
Username Password: Remember me

Media Files and Server Folders
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Media Files and Server Folders

Media Files and Server Folders 10 Mar 2009 05:22 #693

Hi,

I am testing the Bible Study module for our church website and I am having a problem with adding media files. Everytime I add one it tells me the following:

Warning: Failed to move file!
Upload failed, check to make sure that /components/com_biblestudy/calendars exists.

Now I am sure it is something that I m doing wrong but I don't know what. I admit that I am a little confused about the Server Folders. Does the path of the folder start at the webroot and the folder is a sub-directory of that. For example the default for the appliction is /media/ is that located in the Joomla directory of the webserver and is the Folder name a sub-directory of that? Do the directories have to be in place or will the module create them?

Any help would be greatly appreciated.

Regards
Andrew

Re:Media Files and Server Folders 10 Mar 2009 08:32 #694

  • Tom
  • OFFLINE
  • Administrator
  • Posts: 860
Hi Andrew,

The problem is that you likely have the server/folders configured incorrectly in com_biblestudy.

The path starts with your public web root - so www.JoomlaOregon.org for example, would be a server
The Folder then might be /media/ (be sure to put the slashes on both sides)

These are just pointers, they do not create folders on your server, you'll need to do that with media manager component or with ftp.

Think of it in terms of building a path. We created servers/folders/filenames to make it simpler to enter multiple studies over time and stop typing errors.

For my church site, for instance, I have several servers we use for different purposes - one for audio, Google Video for video, another for video files. So then, that just becomes a choice. Then we have folders on each server. For our audio we separate into years, so /MediaFiles/2009/ is one folder. Then we put in the filename: 2009-001.mp3.

com_biblestudy then comes along and puts the path together (adding the http) so the final path looks like: www.CalvaryChapelNewberg.net/MediaFiles/2009/2009-001.mp3.

Does this help you?

Tom
"You shall know the truth and the truth shall set you free." JC

Re:Media Files and Server Folders 11 Mar 2009 04:10 #697

Hi Tom,

Thanks for the reply, it has cleared up my confusion about the Server Folders but it didn't resolve my problem. I have created a directory called media with a sub directory called sermons in my web server's root directory and I can browse to it via
10.1.1.90/media/sermons (I am running it on a linux box at home).

I have added a Server Folder with the settings;
Folder Path = /media/
Folder Name = sermons

When I try to add a Media File I get the messages

Warning: Failed to move file!
Upload failed, check to make sure that /components/com_biblestudy/calendars exists.

I have opened up the permissions on the directories to 777 and I can create files in those directories without in problems from the command line. I know that this must be something I have set incorrect but I don't know what. If you have any other suggestions they would be appreciated.

Regards
Andrew

Re:Media Files and Server Folders 11 Mar 2009 07:43 #701

  • Tom
  • OFFLINE
  • Administrator
  • Posts: 860
I have seen this problem before but was solved with the folders - can you contact me directly and I can take a look at your site and see if I can offer any help that way.

Tom
"You shall know the truth and the truth shall set you free." JC

Re:Media Files and Server Folders 12 Mar 2009 15:48 #704

  • Tom
  • OFFLINE
  • Administrator
  • Posts: 860
I think the problem is your server entry. The component controller doesn't like an ip address as a server address. Not sure why - but I replaced your server of XX.1.1.90 with www.yourwebaddress.net and uploaded a file successfully from the front end and the backend.

Hopefully this will fix the issue for you!

Tom
"You shall know the truth and the truth shall set you free." JC
  • Page:
  • 1
Moderators: Darren Vandermyde, Kyle
Time to create page: 0.59 seconds