Closed (fixed)
Project:
Mobile Codes
Version:
7.x-2.0
Component:
User interface
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Jan 2012 at 11:41 UTC
Updated:
16 Feb 2013 at 11:30 UTC
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
Comment #1
g0nz01 commentedsub
Comment #2
tebb commentedSame 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 ...
Comment #3
tebb commentedI 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
Comment #4
tebb commentedOK, 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 :(
Comment #5
pribeh commentedLikewise, I still can't get the node_url block to show the qr code for the node I'm viewing.
Comment #6
joeyda3rd commentedSame issue here. They show up in the block when logged in as authenticated user.
Comment #7
socialnicheguru commentedthe 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
Comment #8
socialnicheguru commentedComment #9
deciphered@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.
Comment #10
rhouse commentedJust 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.
Comment #11
decipheredThanks, marking as fixed