You are required to register before you can post. This is via a custom verification system. Please post any problems you are encountering here and I`ll do my best to respond as soon as I can. Please note that a reply WILL be posted to all queries, so do not double post. There are no guarantees
when a reply will appear but I do my best to answer all within 3/4 days max. Bumping topics won`t make the slightest difference.
IMPORTANT: Posts in English ONLY please, thank you! Any other languages will be ignored and your message deleted.
SEARCH: Use the search option to see if your question has been answered on the forum before. Or check the relevant script docs.
CUSTOMER: If you have purchased a commercial version of any of my software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
PRIVATE MESSAGES: Private messages are currently disabled.
LINKS: Any links posted are 'NOFOLLOW' and will not be picked up by search engines.
You are not logged in.
If my store is located as www.mysite.com/music/store I can get the preview to work if the settings folder path is ../mp3 BUT only if the mp3 folder is located like www.mysite.com/music/mp3
So my question is - what should I put for the folder paths in settings to be able to locate the mp3 folder in the root of my server outside of the www (three steps back from the store www.mysite.com/music/store)
Last edited by topaus (10-02-2009 12:31:55)
Offline
Somebody - anyone?
Offline
You need to a) learn to be more patient, and b) read the message at the top of the forum. I try my best to answer the support questions each week. Bumping topics and re-posting will you get you nowhere.
David.
Offline
c) check with your hosting. ;-)
This is information that is dependend on your host so you need to check there . Its part of your hosting details.
info like this could be in the form like :
Path to Perl 5: /usr/bin/perl
Path to your HOME directory: /home/USER/public_html/ ie root
Path to your CGI-BIN directory: /home/USER/public_html/cgi-bin
If you were with a host that has 'the same as" above it could be :
outside (below) the root : /home/USER/youre_musicfiles_folder
Some (simple) hostingplans do not allow you to go below the root but you can check that easely wiht your ftp acces and checking what you folders you can access.
G
Offline
Thanks doggy.
I've tested all the variations of your advice:
/home/username/mp3
~/home/username/mp3
~home/username/mp3
~/username/mp3
~username/mp3
../../../mp3
I'm not even able to go down two folders with ../../mp3 so that made me think is it even possible or that I'm missing something simple like the message at the top of the forum.
And yes luckily my hosting plan do allow to store and read files stored like this (it works with different kind of script)
David - I'm really sorry for bumping. I went through the whole forum and got too excited about all the possibilities what this wonderful script can offer...
Offline
did you actually create a folder first under your root ? (or whereever you want it ? ) and able to lets say put a file there with your ftp program ?
Offline
Yes I did
Offline
David - I'm really sorry for bumping. I went through the whole forum and got too excited about all the possibilities what this wonderful script can offer...
No problem. Your kind words are appreciated.
Its hard to really know what the problem might be if the instructions are followed correctly. It also depends where the script is installed.
David.
Offline
Let's use the demo page as example:
The demo store is located: http://www.maianscriptworld.co.uk/php/demos/music/
It's quite easy to find (by looking the preview pages source code) that the mp3's are downloadable free from: http://www.maianscriptworld.co.uk/php/demos/mp3/
So if you would like to locate the mp3 folder outside of the web root - what would you put for the folder path in settings?
Is it even possible or is the secure option only available if the store is located at the root of the domain (http://www.maianscriptworld.co.uk/)?
Offline
Please ask support from your hosting provider !
you can not find the path based on a weblink like your trying to sugest !
are you replacing username with your actual username for example ?
We (including David) dont know what your driving so we can only gues what fuel you need.
G
Last edited by doggy (14-02-2009 18:59:09)
Offline
Yes, for the demo the music is in the root. I`m not too bothered about anyone downloading the music, its just a test store for anyone to test it.
The information is in the script. There are hover help tips in the admin area and there is info in the docs. Have you read these? Because all I`m going to say here is there.
David.
Offline
Ok fair enough David - thank you for your time.
I still don't get it - hover helps, etc. I need few extra years to this - I think...
Offline
docs : documentation files included with the script
hover help : the little blocks of help that pop up when you click on those questionmarks next to setting fields etc
G
Offline
Thanks doggy - I knew those at the first place but it seems that theres something I just don't get it...
I need to get my reading glasses and my "I'm stupid" hat ![]()
Offline
step 1:
find out ( through your hostingprovider) what the Path to your HOME directory is
(maybe tell us the who the provider is ?)
G
Offline
Hostgator
Offline
webroot : /home/USER_NAME/public_html/..
below: /home/USER_NAME/your_folder
relace USER_NAME with your actual username and your_folder with the name of the folder you created
It goes in the 'music folder path" field in the admin music/download settings
http://forums.hostgator.com/faq.php?faq=paths
http://support.hostgator.com/articles/Most-Popular/255/application-paths
you got to love google ;-)
Last edited by doggy (14-02-2009 22:50:43)
Offline
Doggy - thanks for your advice.
Unfortunately if I put /home/username/mp3 to MP3 Folder Path and /home/username/mp3/preview to MP3 Preview Folder Path it does not work. Files and folders are there and yes I changed "username" for my real Hostgator username (as mentioned in Cpanel) ![]()
This is getting ridiculous - I must be doing something really stupid...
Doggy is this how it works for you?
Offline
Yes
Music folder path : /home/USER_NAME/file_folder
preview folder path : preview_folder
based on your first post it probably would be ( for the previews) : music/store
Last edited by doggy (14-02-2009 23:24:00)
Offline
If you want to send me a small donation and your ftp details I`ll take a look for you.
David.
Offline
doggy: A-HA - now I see the light!
I think my mistake has been that I have tried to locate the preview folder under the www together with the main mp3 folder - that would explain all the difficulties (I've only checked through preview that the folder paths don't work)...
I changed the preview folder like yours and now I have to get my PayPal Sandbox to work ![]()
Offline
Excellent. Doggy, appreciate your helping out. ![]()
This path thing has caused a few problems for people. I should probably simplify it with the next update.
David.
Offline
David
I guess the confusion happens because one is a direct reference and the other part of a reference be it it is logical . maybe just adjusting the help might be enough ?
ie This is the relative path from the music root folder to the MP3 folder could be
This is the relative path from the ROOT to the MP3_file folder
"MP3" folder imo confuses also being it where the script resides (index) instead the mp3 files themselves
Download files folder is full path all the way from the base (below public acces) to the specific folder.
example: /home/USER_NAME/file_folder or /home/USER_NAME/public_html/storescriptfolder/musicfolder
The preview folder is relative to where to site is located .
example: preview_folder or ../preview_folder ie above or below public_html/storescriptfolder
hope I expressed this correctly
G
Last edited by doggy (15-02-2009 13:52:38)
Offline
Thanks G. I`ll definitely update the paths the next time.
David.
Offline
Hi, when i go to add a track in the admin section i get the error message "ERROR!!
The following directory does not exist: /myrealusername input here/mp3/
i have my proper user name and then the file; ie /username/mp3/
so i have tried other paths as listed in this thread but none seem to work.
in settings i did put the folder path in the section for MP3/Download Settings and i uploaded a file to the mp3 folder so i know it exists. and the ftp path shows my username then slash mp3
i removed the username and just put /mp3/ and it worked. the username was redundant, i hope that is ok/safe?
Last edited by havapup (21-04-2010 19:53:16)
Offline