Dear all,
trying to port from a local computer (where it works) to a provider I was confused about directory setting in Zina and I'm not able to heve zina (Zina version: 2.0b22) running.

The istallation is the default one.

If I define as music directory the full path of the demo

/www/myprovider/members/mywebspace/modules/zina/zina/demo

and then as zina files directory

/modules/zina/zina

drupal support informnation page complaints about zina file directory which is wrong (I see two slashes)

http://www.mywebsite.it/modules/zina/zina/demo//modules/zina/zina/zina.js

If I define as music directory the path of the demo as

modules/zina/zina/demo

the zina files directory test passes but as in the previuos case I'm not able to see and play the songs,

In both cases I don't' see the content of the directory artist one demo

also If I try to regenerate the directory and file caches I get the error HTTP 0. /?l=65&id=14&q=music&op=do

Could you help me in understanding what is wrong? locally it was working fine!

Thank you in advance for any help..

(PS I'm not able to set magic_quotes_gpc = 0 in my .htaccess file too)

Drupal 6.15
Modules: getid3, advanced_help, agenda, aggregator, ahah_response, audio, author_pane, block, blog, blogapi, book, content, content_permissions, nodereference, number, optionwidgets, text, userreference, color, comment, contact, ctools, dblog, dhtml_menu, fckeditor, feed_field, filefield, filefield_meta, filter, flexifield, help, i18nblocks, i18ncck, i18ncontent, i18nmenu, i18npoll, i18nprofile, image_attach, image_gallery, image_import, image_im_advanced, image, imce, languageicons, lightbox2, locale, mailing_list, menu, node, openid, path, php, ping, poll, profile, search, flowplayer3, onepixelout, swftools, system, taxonomy, throttle, translation, update, upload, user, views_export, views_ui, actions_permissions, zina, forum, i18ntaxonomy, fieldgroup, advanced_forum, i18n, i18nstrings, token, views, jquery_update, i18nsync

Zina version: 2.0b22
PHP version: 5.2.10
Zina cache directory writeable: 1
Zina Files Directory: /modules/zina/zina
Mysql version: 5.0.77-log
Flash Player requires XSPF playlist format (Zina setting): xspf
jQuery status: Passed
PHP: memory_limit: 128M
PHP: output_buffering: 0
PHP: magic_quotes_gpc: 1
PHP: session.auto_start: 0
PHP: allow_url_fopen: 1
Apache/2.2.3 (Red Hat) DAV/2 PHP/5.2.10 with Suhosin-Patch mod_ssl/2.2.3 OpenSSL/0.9.8e-fips-rhel5 SVN/1.4.2 mod_perl/2.0.4 Perl/v5.8.8
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4
Clean URLs: 0
PHP locale: C

a:6:{s:7:"mp3_dir";s:22:"modules/zina/zina/demo";s:5:"cache";s:1:"0";s:13:"cache_dir_abs";s:23:"modules/zina/zina/cache";s:15:"playlist_format";s:4:"xspf";s:6:"zinamp";s:1:"1";s:12:"res_in_types";s:63:"a:4:{i:0;s:3:"jpg";i:1;s:4:"jpeg";i:2;s:3:"png";i:3;s:3:"gif";}";}

Comments

ourdreams66’s picture

Version: 6.x-1.9 » 6.x-1.22

It looks (when running on the provider) that there is a link between the music directory and the zina file directory which is relative. It looks there is some sort of append of the second relative path to the first. Thank you and best regards

ryanlath’s picture

A simply thing to do would be to move you music files out of the zina module completely and then I think it'll be easier to figure it out.

Example: Try putting your music files here:
/www/myprovider/members/demo

jsquyres’s picture

FWIW, I'm having exactly the same issue.

However, if zina_abs_dir was actually incorrect, nothing would work (I tried this by manually overriding $zs[zina_abs_dir] in zina/index.php:zina_init().

I'm thinking that the test in the drupal support information page may be incorrect...?