Morg help...
-
- User
- Posts:9
- Joined:Wed Aug 15, 2007 3:24 am
Not sure if you support morg here or not. If not, could you please point me to a place where I can get some support. When I try to put my music directory in morg, it turns the ":" into a "|" and then throws a fatal error saying that "E|/Music" doesn't exist. Any help that can be given with this issue will be greatly appreciated.
-
- getID3() v2 developer
- Posts:445
- Joined:Sun May 04, 2003 2:22 pm
- Location:Holmegaard, Denmark
Seems I forgot to test MORG under Windows.
morg_gui.php, line 1350:
// convert user specified directory to unix style
$root = str_replace('\\\\', '/', str_replace(':', '|', $root)); // using \\\\ caused by addslashes()
change to:
// convert user specified directory to unix style
$root = str_replace('\\\\', '/', $root); // using \\\\ caused by addslashes()
morg_gui.php, line 1350:
// convert user specified directory to unix style
$root = str_replace('\\\\', '/', str_replace(':', '|', $root)); // using \\\\ caused by addslashes()
change to:
// convert user specified directory to unix style
$root = str_replace('\\\\', '/', $root); // using \\\\ caused by addslashes()
-
- User
- Posts:9
- Joined:Wed Aug 15, 2007 3:24 am
New errors
I changed the code in morg_gui.php as instructed in your previous post and now I get the following errors
Code: Select all
Warning: Division by zero in C:\Apache2.2\htdocs\morg\morg\morg_gui.php on line 271
Warning: Division by zero in C:\Apache2.2\htdocs\morg\morg\morg_gui.php on line 293
Warning: Cannot modify header information - headers already sent by (output started at C:\Apache2.2\htdocs\morg\morg\morg_gui.php:271) in C:\Apache2.2\htdocs\morg\morg\application.php on line 85
-
- getID3() v2 developer
- Posts:445
- Joined:Sun May 04, 2003 2:22 pm
- Location:Holmegaard, Denmark
-
- User
- Posts:9
- Joined:Wed Aug 15, 2007 3:24 am
Another Error
I ran the SQL query as suggested in your previous post and this is the error that phpMyAdmin threw
Code: Select all
Warning: Cannot modify header information - headers already sent by (output started at C:\Apache2.2\htdocs\phpMyAdmin\libraries\header_meta_style.inc.php:27) in C:\Apache2.2\htdocs\phpMyAdmin\libraries\common.lib.php on line 1154
-
- getID3() v2 developer
- Posts:445
- Joined:Sun May 04, 2003 2:22 pm
- Location:Holmegaard, Denmark
-
- User
- Posts:9
- Joined:Wed Aug 15, 2007 3:24 am
Able to run SQL query via MySQL Control Center
I installed MySQL Control Center and was able to run the update query you suggested earlier, but I still get the same 3 errors.
I even tried changing the number of columns in Morg's config itself, and that didn't help either.
http://www.otolerance.net/morg/index.php
Code: Select all
Warning: Division by zero in C:\Apache2.2\htdocs\morg\morg\morg_gui.php on line 271
Warning: Division by zero in C:\Apache2.2\htdocs\morg\morg\morg_gui.php on line 293
Warning: Cannot modify header information - headers already sent by (output started at C:\Apache2.2\htdocs\morg\morg\morg_gui.php:271) in C:\Apache2.2\htdocs\morg\morg\application.php on line 85
I even tried changing the number of columns in Morg's config itself, and that didn't help either.
http://www.otolerance.net/morg/index.php
-
- getID3() v2 developer
- Posts:445
- Joined:Sun May 04, 2003 2:22 pm
- Location:Holmegaard, Denmark
I am affraid I don't know how to help you.
Those two lines that gives division by zero:
$lines = sizeof($xml) / $this->toc_columns;
and
$column_width = floor(100/$this->toc_columns) . '%';
It can only be that toc_columns == 0.
Maybe there is something wrong with your php?
You could try the following:
line 269: insert
$this->toc_columns = 4;
but it will likely give you another error
Those two lines that gives division by zero:
$lines = sizeof($xml) / $this->toc_columns;
and
$column_width = floor(100/$this->toc_columns) . '%';
It can only be that toc_columns == 0.
Maybe there is something wrong with your php?
You could try the following:
line 269: insert
$this->toc_columns = 4;
but it will likely give you another error
-
- User
- Posts:9
- Joined:Wed Aug 15, 2007 3:24 am
Thank you
I just decided to modify demo.mysql.php to achieve what I am looking for. I noticed an issue there too, but I will post that in a new thread.