#59 PHP error when using genres

2.x
closed
nobody
Backend (25)
5
2010-04-20
2009-07-21
Chris
No

When I activate genres in the settings and click on Genre Hierarchy I get the following error

Warning: array_keys() [function.array-keys]: The first argument should be an array in /volume1/web/zina/zina/index.php on line 3867
Warning: natcasesort() [function.natcasesort]: The argument should be an array in /volume1/web/zina/zina/index.php on line 3868
Warning: Invalid argument supplied for foreach() in /volume1/web/zina/zina/index.php on line 2566

Zina is running on synology DS508 with DSM 2.1 software release

The support page:
Zina version Latest (2.0b13 ) 2.0b13 Passed
PHP version >= 5.2.0 5.2.6 Passed
Zina cache directory writeable 1 1 Passed
Zina Files Directory
See Zina Settings->Advanced->Zina Files Directory. e.g. http://yoursite.com\[/drupal-6.2/sites/all/modules/zina/zina] Settings is in [].
Begins with a / zina Failed
Mysql version >= 4.1 5.0.51b Passed
Jquery status
If this test fails, it is most likely a conflict with mootools.js or a module/component/plugin that uses mootools. Try disabling that module on Zina pages and/or check your browsers JavaScript debugger for an error message.
Passed
PHP: memory_limit >= 128M (recommended) 128M Passed
PHP: output_buffering > 0 (4096 recommended) Passed
PHP: magic_quotes_gpc 0 0 Passed
PHP: session.auto_start 0 0 Passed

Zina version: 2.0b13
PHP version: 5.2.6
Zina cache directory writeable: 1
Zina Files Directory: zina
Mysql version: 5.0.51b
Jquery status: Passed Passed
PHP: memory_limit: 128M
PHP: output_buffering:
PHP: magic_quotes_gpc: 0
PHP: session.auto_start: 0
Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.8g PHP/5.2.6
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11
Clean URLs: 0
PHP locale: C

<?php
$mp3_dir = "/volume1/music";
$adm_pwd = "***";
$db = "1";
$db_type = "mysqli";
$db_user = "root";
$db_pwd = "***";
$theme = "chris";
$main_dir_title = "Collection";
$amg = "1";
$image_captions = "1";
$dir_skip = "@";
$subdir_truncate = "40";
$alt_dirs = "1";
$cat_auto_num = "40";
$cat_truncate = "32";
$song_extras = "1";
$various = "1";
$db_search = "1";
$rss = "0";
$res_in_types = 'a:4:{i:0;s:3:"jpg";i:1;s:4:"jpeg";i:2;s:3:"png";i:3;s:3:"gif";}';
$mm = "1";
$third_lyr = "1";
$third_lyr_save = "1";
$third_addthis = "0";
$zina_dir_rel = "zina";
$charset = "ISO-8859-1";
?>

Thanks for giving us this GREAT software
Kinf regards

Discussion

  • Ryan Lathouwers

    Ryan Lathouwers - 2010-04-06
    • status: open --> pending
     
  • Ryan Lathouwers

    Ryan Lathouwers - 2010-04-06

    Does this happen, even after you generate the genre hierarchy?

     
  • SourceForge Robot

    • status: pending --> closed
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks