Page 1 of 1

Setup getID3

Posted: Wed Oct 03, 2007 11:08 am
by RobbieL
Has anyone had any experience with the getID3 script at all? Had a small idea for a project, and getID3 was idle for what I wanted to do, but setting it up isn't going to well.

When I unzip the file and stick it on my web server, all I get is an error saying my $root_path doesn't exist. I set the root path in the demo.browse.php file, so I can't see what the problem is.

Anyone else come across this when using it at all?

Posted: Wed Oct 03, 2007 12:08 pm
by John Cartwright
If you are having specific code problems, post your error messages and relevant code.

Posted: Fri Oct 05, 2007 6:38 pm
by RobbieL
Big apologies for my late reply. Net went down not long after posting, and has only just come back up a few hours ago.

Thanks for the reply, Jcart. The error is a very simple: "$root_path not exist". In the config file it gives you an option to set the $root_path, which I did, but still get the same, small error.

Posted: Fri Oct 05, 2007 8:32 pm
by s.dot
Well, that's a very simple error. :)
$root_path does not exist -- you're giving a bad path.. assuming the script is correct with it's coding.
Are you using a relative path or an absolute path?

I'd go with an absolute path in a script config file.

Code: Select all

$root_path = '/home/me/';
Or something similar.

You can check yourself using a simple code:

Code: Select all

<?php

echo is_dir('the value you set for $root_path') ? 'yep, $root_path exists' : 'could not find $root_path ;(';