Active
Project:
Taxonomy VTN
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 May 2008 at 20:37 UTC
Updated:
30 Oct 2008 at 16:22 UTC
I have prepared version for Drupal 5.x.
See attached file. Please upload in appropriate format.
| Comment | File | Size | Author |
|---|---|---|---|
| taxonomy_vtn-5.x-1.x-dev.zip | 57.56 KB | vpiotr |
Comments
Comment #1
vpiotr commentedNote: only main module is modified / tested. Status of "taxonomy_vtn_blocks" sub-module is unknown.
Comment #2
tomaszx commentedHi,
thanks, i submit your code to dev branch.
Comment #3
tomaszx commentedComment #4
Fuzzytek commentedThere is a small error in the file taxonomy_vtn.info
When I open up the Module activation screen the module reads
Depends on: Array (missing)
Change line
dependencies[] = taxonomy
to
dependencies = taxonomy
Results in the Module activation screen saying
Depends on: Taxonomy (enabled)
Comment #5
tomaszx commentedjust see dev release not here, but here: http://drupal.org/node/261703
there and here is:
without array.
Comment #6
zeezhao commentedgreat work. subscribing. thanks
Comment #7
zeezhao commentedI have been getting this error intermittently:
Fatal error: Call to undefined function drupal_get_path() in ...\modules\taxonomy_vtn\taxonomy_vtn.module on line 45
Comment #8
vpiotr commentedThis is build-in function (drupal_get_path), verify that you use at least Drupal 4.6
Comment #9
zeezhao commentedThanks for your reply. I am using drupal 5.7 with MySql 5.0.18 & php 5.1.1, running garland theme.
I noticed that the drupal_get_path() error usually happens when the user is not logged in. So it appears that even though i have set taxonomy_vtn permissions to allow anonymous user to browse, it gives this error... Please do you have any ideas on the best way to fix it?
Fyi - I also get another error when I want to change seetings using: admin/settings/taxonomy_vtn
warning: Invalid argument supplied for foreach() in ....\includes\form.inc on line 949.
Comment #10
vpiotr commentedSorry, no idea why the first error appears.
The second error I see too, but as far as I know it does not affect the configuration page.
Maybe somebody will try to find what is wrong in it, meanwhile you can use it "as is"...
Comment #11
zeezhao commentedOk. The thing is that when the "Call to undefined function drupal_get_path()" error happens I can not use the system.... Any link like going to "home" stops working and gives the error. The only way around it at that stage is to go to a link like admin/.... and then try and re-log into drupal.
Comment #12
zeezhao commentedIt appears that I have fixed the bug by putting this condition in function taxonomy_vtn_init() :
if (function_exists('drupal_get_path'))
{
....
}
see these links for similar issues with drupal_get_path:
http://drupal.org/node/200395
http://drupal.org/node/157157
Thanks.
Comment #13
Zinz commentedI have the same problem. How did you fix it? I try without results.
Thank's
sergio
Comment #14
zeezhao commentedFix described above worked. See: http://drupal.org/node/261670#comment-886125
Comment #15
Zinz commentedI read it...but I'm very poor in php...and english too...
In which file I found it:
if (function_exists('drupal_get_path'))
{
....
}
and how did you fill your "...". Could you attach your modified file?
Sorry and thank's a lot.
Sergio
Comment #16
summit commentedSubscribing, greetings, Martijn
Comment #17
fgiacanelli commentedHello,
why in the drupal 5 port the "exclude vocabs" and "exclude terms" form fields have been eliminated?
In the corresponding source code all related code lines have been deleted.
It would be great for me to use VTN on drupal5 *omitting* some taxonomies.
TIA