I enabled the module visited the settings pages and then set the Mobile Code block to show on a node but when i go to the node nothing is coming up. I didn't change any of the default settings.

Comments

g0nz01’s picture

sub

tebb’s picture

Same here.

I have installed the php qr code library and it is being detected by the module as a provider.

The block does not show with the internal library as provider, nor with Google as the provider.

Found this in recent log messages:

The file public://mobile_codes was not deleted, because it does not exist.

Investigating ...

tebb’s picture

I haven't found a solution, but I do seem to have removed the "mobile_codes was not deleted, because it does not exist" log message.

That makes me think that this issue might be related to Apache configuration, .htaccess rewrite rules or file or directory permissions.

YMMV

tebb’s picture

OK, I can generate a QRcode now by accessing the url directly, for example:

http://www.cotswoldservices.co.uk/phpqrcode?data=http://www.language.co....

I got this working by changing line 73 in mobile_codes/includes/libraries.phpqrcode.inc

from: require_once libraries_get_path('phpqrcode/qrlib.php');
(I think this now returns false. See this issue: http://drupal.org/node/961476 )

to: require_once(libraries_get_path('phpqrcode').'/qrlib.php');

However ... it still does not display the QRcode in a block :(

pribeh’s picture

Likewise, I still can't get the node_url block to show the qr code for the node I'm viewing.

joeyda3rd’s picture

Priority: Normal » Major

Same issue here. They show up in the block when logged in as authenticated user.

socialnicheguru’s picture

the change to the library path makes sense.

in the block.inc file the api version is 2. shouldn't it be three to work with views 3 on D7?

Edit:
it has to be changed to version 3 of the views api in all instances

includes/block.inc: $preset->api_version = 3; //change from 2 to 3

socialnicheguru’s picture

Status: Active » Needs review
deciphered’s picture

Status: Needs review » Postponed (maintainer needs more info)

@SocialNicheGuru,

The API version in block_mobile_codes_default_mobile_codes_preset_alter() is related to Mobile Codes, not Views.

 

I'm unable to reproduce this issue, so if anyone has more information let me know.

If you haven't tested the latest Dev release, do that first.

Cheers,
Deciphered.

rhouse’s picture

Status: Postponed (maintainer needs more info) » Active

Just to let you know, I ran into this problem today when I first installed your module, but it was fixed by replacing it with the current dev release.

deciphered’s picture

Status: Active » Fixed

Thanks, marking as fixed

Status: Fixed » Closed (fixed)

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