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 26-06-2010 04:37:20

havapup
Members
Registered: 20-04-2010
Posts: 17

not getting preview after i change file path name

i changed the file path name and everything works except hearing the preview. preview was working before this, but i'm not sure what i have done wrong?

sorry it is probably something obvious.

A

Offline

#2 26-06-2010 04:58:31

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

Re: not getting preview after i change file path name

Url?


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

Offline

#3 29-06-2010 16:54:59

havapup
Members
Registered: 20-04-2010
Posts: 17

Re: not getting preview after i change file path name

http://www.leetrecords.com/
http://www.leetrecords.com/mp3shop/maian_music/maian_music/
it used to be angela instead of mp3shop (i realized that my name was not a good path name :-)
is this what you need or ? thanks

Offline

#4 29-06-2010 18:10:43

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

Re: not getting preview after i change file path name

Thanks. There is no preview file loading. If I look at the source code I see:

so.addVariable("soundPath", "mp3-previews/");

Do you actually have anything specified for the preview path for the track?


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

Offline

#5 30-06-2010 05:43:35

havapup
Members
Registered: 20-04-2010
Posts: 17

Re: not getting preview after i change file path name

i am unable to fill the box to specify a file path -- as it does not show on the page, it just shows a little box

Offline

#6 30-06-2010 07:29:35

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

Re: not getting preview after i change file path name

Sorry, you`ve lost me. There is a box to enter the path for all tracks. Can you post a screenshot of what you mean?


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

Offline

#7 03-07-2010 16:56:41

havapup
Members
Registered: 20-04-2010
Posts: 17

Re: not getting preview after i change file path name

the place to put the input the mp3-previews file path does not enable me to input anything, as you can see the input box is small.  i suspect i've inadvertently deleted some information


http://agilityq.com/foxer/screenshot/screnshot.gif

Last edited by havapup (03-07-2010 16:57:16)

Offline

#8 04-07-2010 08:00:36

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

Re: not getting preview after i change file path name

Thanks. I assume then that you haven`t uploaded any mp3 files into the previews folder?


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

Offline

#9 04-07-2010 23:16:49

havapup
Members
Registered: 20-04-2010
Posts: 17

Re: not getting preview after i change file path name

correct, i did, before i changed the file path name and then when i changed the filepath name the tiny box appeared.

Offline

#10 05-07-2010 06:56:03

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

Re: not getting preview after i change file path name

OK, so is the path wrong?


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

Offline

#11 07-07-2010 04:18:54

havapup
Members
Registered: 20-04-2010
Posts: 17

Re: not getting preview after i change file path name

the path to view the page is correct, i am not sure what you are asking? why would that box be small?

Last edited by havapup (07-07-2010 04:23:46)

Offline

#12 07-07-2010 09:16:04

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

Re: not getting preview after i change file path name

Its small because its not reading any mp3 files in the 'mp3-previews' folder. Or there are files there, but they are assigned to other tracks.

You can adjust the relative path to this directory in the 'admin/control/defined.inc.php' file:

define ('PREVIEW_RELATIVE_PATH', '../mp3-previews/');

Change the relative to full server path.


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

Offline

#13 09-07-2010 17:27:55

havapup
Members
Registered: 20-04-2010
Posts: 17

Re: not getting preview after i change file path name

When i go to 'admin/control/defined.inc.php' file - i do not see ('PREVIEW_RELATIVE_PATH', '../mp3-previews/');

I see the following (*to hide my name/password)


// Specify admin username..
define ('USERNAME', '***');

// Specify admin password..
define ('PASSWORD', ' ***');

// Max amount of tracks to batch add...
define ('ADD_TRACKS_TOTAL', 30);

In case i have it in the wrong place, the sample MP3 preview i have is located here --  /public_html/mp3shop/maian_music/maian_music/mp3-previews

sorry to be so confused :-(

Correction, I found where the file path for preview is assigned, now i am probably not putting in the correct file path.


/*
  Relative path to 'mp3-previews' folder from admin area
  If relative doesn`t work, use full server path
  WITH slash..
*/
define ('PREVIEW_FULLSERVER_PATH', ' ../public_html/mp3shop/maian_music/maian_music/mp3-previews/
');

this is probably mumbo jumbo ?

Last edited by havapup (09-07-2010 17:48:29)

Offline

#14 09-07-2010 19:31:36

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

Re: not getting preview after i change file path name

Yes, thats the one. Why have you changed the variable name?? Its should be PREVIEW_RELATIVE_PATH and the path should be your FULL server path.


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

Offline

#15 10-07-2010 02:00:29

havapup
Members
Registered: 20-04-2010
Posts: 17

Re: not getting preview after i change file path name

ok changed it back ... i thought that is what you were saying :-)

Offline

#16 10-07-2010 02:12:12

havapup
Members
Registered: 20-04-2010
Posts: 17

Re: not getting preview after i change file path name

um, now the whole thing is missing, the whole store :-(  i don't know what i could have done :-(

http://www.leetrecords.com/mp3shop/maian_music/maian_music/

Offline

#17 10-07-2010 05:37:12

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

Re: not getting preview after i change file path name

Sorry, I have no way of knowing what you might have done to cause the error.  Try downloading the script again and replace the file you edited.


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

Offline

#18 11-07-2010 04:31:58

havapup
Members
Registered: 20-04-2010
Posts: 17

Re: not getting preview after i change file path name

me neither...i compare the files to the downloaded ones on my computer and the script looks the same... freaky ! I  don't even know which file could have been changed... ugh :-(

i am unable to access the admin page, it just shows nothing...

i'll try what you suggest

OK it's back yeah!

found i had deleted the word define in front of the previews line...phew...but still not able to see the preview line....back to the drawing board :-)

ps, i am not cut out for this kinda stuff :-)

Last edited by havapup (11-07-2010 04:52:45)

Offline

#19 11-07-2010 05:11:58

havapup
Members
Registered: 20-04-2010
Posts: 17

Re: not getting preview after i change file path name

I am wondering should i just upload the mp3-previews file again?

also wondering the mp3 short preview is saved as a wma file...is that a problem? the full version song "mp3" is a wma too.

Last edited by havapup (11-07-2010 05:16:17)

Offline

#20 11-07-2010 07:31:03

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

Re: not getting preview after i change file path name

ah yes, that will be the problem. The system will only read mp3 files from the previews directory.


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

Offline

#21 14-07-2010 00:50:09

havapup
Members
Registered: 20-04-2010
Posts: 17

Re: not getting preview after i change file path name

thanks so much for your help ;-)

Offline

#22 14-07-2010 05:40:56

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

Re: not getting preview after i change file path name

Anytime. smile


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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