Hello,

I tried to install your module on my site(s). Both of them returned server 500 error. This error did not appeared when tried to enabling other modules. All modules and core are uptodate.

Please check.

Thanks

Comments

jorisx’s picture

Same error here, please check.

emberhxc’s picture

same with me. problem at line 157 of the taxonomy_block.module file. Unfortunately my php skills aren't good enough to try and fix it... :(

awasson’s picture

Yes the problem appears to be in function taxonomy_block_build_taxonomy_tree() around line 157 but this function is quite different when compared to same function in the 7.x-1.2 version of the module. I'm messing about with it so if I find anything useful I'll post back.

coveryoureyes’s picture

Same error.

cwithout’s picture

I spotted the error in the 7.x-1.3 version and was going to make a patch, but when I downloaded the 7.x-1.x branch, it's not broken.

A 7.x-1.4 release should probably be pushed, since 1.3 is not usable.

Anyone who has the problem now will need to use 1.2 or download via git using the command
git clone --recursive --branch 7.x-1.x http://git.drupal.org/project/taxonomy_block.git

Edited to add: ANDiTKO has posted the current git code in a zip file for download here if you don't know how to download the repo through git.

Rugman’s picture

New release 1.4 now available. Hopefully it works well.

l3on’s picture

After 15 hours from your comment I'm not able to download 1.4 version (even in the project_page last available version is the 1.3 one)

liquidcms’s picture

why dont you show -dev release on your project page?

Rugman’s picture

Leon,

Sorry for mistake, Apparently it was taxonomy menu which has released its version 1.4 from 1.3.

:-(

cwithout’s picture

I just closed #1614374: Call to undefined function i18n_langcode (with a patch) which has additional discussion of this issue and several other duplicates.

The code in this module has been fixed, but for some reason the maintainer isn't releasing it and hasn't made it available as dev.

Current status: Version 1.3 is unusable. The module needs a new release.

I have opened an issue requesting to be maintainer in order to get a working release out.
#1783158: Offering to maintain Taxonomy Block

Interim solutions (choose one of the following):

  • Use version 1.2
  • Download the files from git using
    git clone --recursive --branch 7.x-1.x http://git.drupal.org/project/taxonomy_block.git
  • Download this zip file of the current code download from git provided by ANDiTKO here
AstaC’s picture

Also having a problem with this one. It is simply not possible to activate this module. After trying to activate I get a totally blank screen. And no activation.

cwithout’s picture

Status: Active » Needs review

I've just been given ownership of the Taxonomy Block module. I took the code already in the repository and created a 7.x-1.x-dev release. It should be available on the project page shortly.

I've tested the code, and the 500 error issue is resolved. I'll have to look over the code and get some additional feedback from those of you using the module before pushing the code to a 7.x-1.4 release.

Please test out the dev, and if there are no major issues, I can put out a new release.

adammalone’s picture

No issues from me.

  • Downloaded taxonomy_block 7.x-1.3
  • Enabled, and placed on site
  • white screen
  • Disabled module
  • Downloaded 7.x-1.x-dev and replaced 7.x-1.3
  • No white screen

Dev seems good to go from me but you might want to check other people who don't have the luxury of using a blank Drupal install as there could be random issues arising elsewhere. Definitely better than the current recommended release though!

AstaC’s picture

I haven´t found any documentation on how to use the module so I can not say if it works, but I can activate it without blank screen with this version.

fantom84’s picture

just do this for the 7.x-1.3:
change line 95 in the taxonomy_block.module file:

        $langcode = i18n_langcode();

to

        if(module_exists('i18n')) {
          $langcode = i18n_langcode();
        }

and no wsod

adammalone’s picture

Status: Needs review » Reviewed & tested by the community

I'm going to go ahead and say that the current dev is ready to be made a new release.

Nobody has found any issues with it so far and the main aim of getting a new maintainer on was to fix this issue - so I say, 7.x-1.x-dev is RTBC to become 7.x-1.4.

cwithout’s picture

Status: Reviewed & tested by the community » Fixed

I just posted version 1.4. Any bugs found other than WSOD should open a new issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.