Maian Script World on Facebook Maian Script World on Twitter Maian Script World - Latest News Maian Script World on YouTube Maian Script World on LinkedIn


Please Read

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.

#1 04-12-2007 22:35:27

Gerry
Members
From: United Kingdom (Great Britain)
Registered: 04-12-2007
Posts: 37

Previewing tracks

when i click on the preveiw tracks i get a smal pop up window whis has this error inside it:

Warning: fopen(xml_data/mm_jukebox.xml) [function.fopen]: failed to open stream: Permission denied in /home/popcop/public_html/musicstore/classes/class_ xml.inc.php  on line 38

is there anyway to have a preveiw button beside each track in between the price and add to cart?

Offline

#2 05-12-2007 00:03:12

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,069

Re: Previewing tracks

The error is because you haven`t given the xml data folder write permissions as per the set up instructions. A preview button could be added, but you`ll have to change the code. I had thought of the button for each track originally, but I wanted to do something different.

David.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#3 13-12-2007 00:08:05

Gerry
Members
From: United Kingdom (Great Britain)
Registered: 04-12-2007
Posts: 37

Re: Previewing tracks

im still not gettin any previews to work

the location of one of the preview files is at:
<strong>http://www.lemonandlimerecords.co.uk/store/preview files/The_Outrunners_Blazing_Speed_And_Neon_Lights _With_You_sample.mp3</strong>

ive made sure the link is correct in the mm_jukebox.xml file

but once i upload the file and check it again it reads like this:

<strong><node label="">
    <node name="Blazing Speed & Neon Lights With You" file="http://www.lemonandlimerecords.co.uk/store/p reviewfiles/http://www.lemonandlimerecords.co.uk/s tore/previewfiles/The_Outrunners_Blazing_Speed_And _Neon_Lights_With_You_sample.mp3" artist="The Outrunners" label="The Outrunners - Blazing Speed & Neon Lights With You - Track 1 - Blazing Speed & Neon Lights With You" />
</strong>

Any ideas on how i can fix that ?

Offline

#4 13-12-2007 12:57:47

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,069

Re: Previewing tracks

Looks like you have the paths wrong in the settings.

David.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#5 13-12-2007 15:10:44

Gerry
Members
From: United Kingdom (Great Britain)
Registered: 04-12-2007
Posts: 37

Re: Previewing tracks

im gettin confused to what path goes in the the track details and what goes into the settings for downloading and previewing

IN TRACK DETAILS I HAVE:

<strong>MP3 Path:</strong>     http://www.webiteaddress.com/store/musicfiles/trac k1.mp3

<strong>Preview File Path:</strong>   http://www.webiteaddress.com/store/previewfiles/tr ack1preview


IN THE MAIN SETTINGS I HAVE:

<strong>MP3 Folder Path:</strong>    http://www.webiteaddress.com/store/musicfiles

<strong>MP3 Preview Folder Path:</strong>    http://www.webiteaddress.com/store/previewfiles

is this right?

im not gettin any previews and when i go to buy a track and download it it says file does not exist

Offline

#6 13-12-2007 16:01:30

Gerry
Members
From: United Kingdom (Great Britain)
Registered: 04-12-2007
Posts: 37

Re: Previewing tracks

sorted the problem smile

Offline

#7 13-12-2007 16:33:28

Gerry
Members
From: United Kingdom (Great Britain)
Registered: 04-12-2007
Posts: 37

Re: Previewing tracks

Still not sorted thew download issue though.... i still says file does not exist when i go to download the file

Offline

#8 13-12-2007 18:16:34

Gerry
Members
From: United Kingdom (Great Britain)
Registered: 04-12-2007
Posts: 37

Re: Previewing tracks

arrrggghhhh why does this constastly keep saying files does not exist when i go to download the file???

ive check it a million times

Offline

#9 13-12-2007 20:47:24

Gerry
Members
From: United Kingdom (Great Britain)
Registered: 04-12-2007
Posts: 37

Re: Previewing tracks

<strong>MANAGE TRACKS:</strong>

MP3 File Path:    track1.mp3

<strong>SETTINGS:</strong>

MP3 Folder Path:   http://www.webaddress.com/store/musicfiles


these are the setting i have for the MP3 but it still keeps saying file does not exist.

Is there any other file that may have the the location embedded in?
I changed the domain name after i installed the music store to a .com instead of a .co.uk i dont know if that maybe cos a problem and i might need to change that somewhere.

Everything else seems to be working perfectly apart from the actual downloading of the files.

The previews are working fine

Offline

#10 16-12-2007 12:41:08

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,069

Re: Previewing tracks

Open the 'classes/class_cart.inc.php' file and find the last function called 'forceDownload'. Find:

if (!file_exists(&#036;archiveName)) {

BEFORE that add the following:

echo &#036;archiveName;exit;

When you click to download a file, the path will be echoed to the screen. Hopefully you see the problem.

David.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#11 17-12-2007 00:10:57

Gerry
Members
From: United Kingdom (Great Britain)
Registered: 04-12-2007
Posts: 37

Re: Previewing tracks

just added in that line of code and it seems it IS pointing to the correct location

http://www.lemonandlimerecords.com/store/musicfile s/The_Outrunners_BSANLWY.mp3

i thought it could have been cos ive got an undescore in the file name so i tried renaming the file to 1.mp3 and changed it in the admin as well

it still says 'file does not exist' when i go to download the file after purchasing

Any ideas?

ive been pulling my hair out over this one all weekend

Offline

#12 18-12-2007 13:15:36

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,069

Re: Previewing tracks

Thats very strange. Any spaces in the file name? The PHP 'file_exists' function only returns false if the file doesn`t exist, so something is causing this to happen. I can`t think what else to try.

David.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#13 18-12-2007 13:59:26

Gerry
Members
From: United Kingdom (Great Britain)
Registered: 04-12-2007
Posts: 37

Re: Previewing tracks

would this have anything to do with it?

http://www.popcop.co.uk/images/pic.png

its seems to say 0 there for some reason

Offline

#14 18-12-2007 23:56:39

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,069

Re: Previewing tracks

Its all connected really. Where the 0 is you should see the file size. So, the mp3 directories are in your root installation? Not outside of the root?

David.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#15 19-12-2007 00:05:25

Gerry
Members
From: United Kingdom (Great Britain)
Registered: 04-12-2007
Posts: 37

Re: Previewing tracks

<a href="http://www.lemonandlimerecords.com/store/musicfiles" target="_blank" rel="nofollow">http://www.lemonandlimerecords.com/store/musicfile s</a>

thats the directory there

this is correct ?

Offline

#16 19-12-2007 00:14:43

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,069

Re: Previewing tracks

Looks ok. I would have to go into your installation to see whats happening and try and figure out the problem. That I would have to do when I return home in 2 weeks. You`ll have to send me some kind of donation though if thats what you want me to do and there are no guarantees I can get it working.

David.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#17 19-12-2007 00:23:38

Gerry
Members
From: United Kingdom (Great Britain)
Registered: 04-12-2007
Posts: 37

Re: Previewing tracks

thats not a problem

Offline

#18 19-12-2007 00:33:56

Gerry
Members
From: United Kingdom (Great Britain)
Registered: 04-12-2007
Posts: 37

Re: Previewing tracks

is there anything at all you can think of just now that it could be?

i dont mind giving you a donation if i solve the problem... i was planning to anyway smile

Offline

#19 20-12-2007 08:48:07

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,069

Re: Previewing tracks

Thanks Gerry. Right now, I can`t think what else might be the problem.

David.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

Board footer

2Checkout.com is an authorized reseller of goods and services provided by Maian Script World.© 2003-2013 David Ian Bennett. All Rights Reserved | Forum: FluxBB

Privacy Policy | Refund Policy