pluginsglpi / barcode Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU Affero General Public License v3.0
License: GNU Affero General Public License v3.0
Hi, I'm tryng to upgrade 2.5.2 to 2.6 by GLPI web interface.
This is error:
"Il formato dell'archivio del plugin non è supportato dal tuo sistema: tbz2."
Translating: tbz2 system error
How can I fix it?
Barcode is not generated. When generated, it gives an empty sheet
In file locales/cs_CZ.po
(origin of file is on Transifex, file downloaded from there have the same deficiency - so it is insufficient to correct it there on Github, where is the same mistake - wrong settings on Transifex probably)
is
"Content-Type: text/plain; charset=CHARSET\n"
which leads to error in conversion to .mo :
msgfmt for_use_glpi_barcode_plugin-09010_cs_CZ.po -o for_use_glpi_barcode_plugin-09010_cs_CZ.mo
for_use_glpi_barcode_plugin-09010_cs_CZ.po: warning: Charset "CHARSET" is not a portable encoding name. Message conversion to user's charset might not work.
record should be:
"Content-Type: text/plain; charset=UTF8\n"
Thanks :)
I am using glpi on version 9.4.5 with barcode plugins version 2.4.1
Everything seems to be working fine except from the url generated.
il always point to computer of id=1.
I am trying to check the file checkItembyInv.php to understand.
it figures out that tsis code is always redirecting to '1' instead of redirectind to computer's Id.
include ('../../../inc/includes.php');
Session::checkRight("config", UPDATE);
// To be available when plugin is not activated
Plugin::load('barcode');
Html::header(__('Barcode', 'barcode'), $_SERVER['PHP_SELF'], "config", "plugins");
$itemtype = $_GET['itemtype'];
$item = new $itemtype();
$itemInventoryNumber[] = $_GET['inventoryNumber'];
foreach ($itemInventoryNumber as $key => $value) {
$item = $item->getFromDBByCrit(['otherserial' => $value]);
Html::redirect($itemtype::getFormURLWithID($item));
};
Html::footer();
I got the last stable version of glpi (glpi 9.1.6) and when I clone the master branch and try to use the GLPI says:
GLPI version not compatible need 0.85.x or 0.90.x
Is there a branch into git repository with support for this version?
Regards
Hello. Thank you for this plugin.
I ask you to help me. I've downloaded zip archive with this plugin and placed it to plugins folder: /var/www/html/glpi/plugins/barcode-master, renamed this folder to just "barcode". Using documentation of GLPI I logout and login to GLPI as administrator, but Plugin menu didn't appear. I can't install this plugin, because I do not have plugin menu :( I even set permissions 777 to plugin and barcode folders What can I check?
Hello,
Magic quotes (which are the less magic stuff either :D) have been deprecated; then removed from PHP.
There are calls to set_magic_quotes_runtime
function that cause CS tests to fail; see:
https://travis-ci.org/pluginsGLPI/barcode/jobs/207054277#L207
Hi, i dont know if here is the place but will be nice to get the posibility to add the barcode feature on PDF plugin print options.
Like select the PDF Data and the end of the page add the barcode to print.
Thanks and regards!
In GLPI 9.4.2 not work.
currently points to https://forge.indepnet.net/projects/barscode
It seems Network needs to be renamed to NetworkEquipment line 49, hook.php, at least for 9.2.1
Hi,
I have a QRcode Left and Right margins problem.
It would be great to enable support to Generic Object generated assets.
Add option to define what display and where display (under, beside..). see http://www.glpi-project.org/forum/viewtopic.php?pid=187922#p187922
I comment form old forge:
I'm write patch for add field. Maybe add to plugin?
Link to patch - http://www.glpi-project.org/forum/viewtopic.php?pid=199763#p199763
Hello everyone,
I am sorry to trouble you but everytimes that I try to change my URL it will always comes back to "By ID" even when I save "Series number", if someone know why it does this and could answer me i would be really grateful. I saw that there were an issues that could look similar to mine so I am really sorry if thats the case. I hope that you can help me without making me feel dumb
Anyway thank you to those who will help me :)
I've got an inststallation error while there is an wrong require_once on line 53 in setup.php. After remove this line i can install it on GLPI 9.4.3.
Hi,
Im in GLPI 0.83.2 . I follow this steps:
Put the download in: /var/www/glpi/plugins
unzip barcode-baster.zip
mv barcode-master barcode
Immediately afterwards it shows me error when I go to: localhost/glpi
What am I doing wrong? I have put chmod -R 775 to 'barcode' folder.
Thanks!
Hello. The barcode 2.4.0 no work at GLPI 9.4.2,Pls.
Hello There,
When I try to install the plugin on 9.4.5 version it doesn't show itself on the plugin list.
More then that, after copy barcode folder in to plugins folder it's make all others plugin disappear from plugin list and deactivate them.
When I delete barcode folder all came back to normal and on plugin list there is info that "clean after barcode plugin".
PHP Warning: require_once(/home/hostingname/user/www_name/public_html/glpi/plugins/barcode/vendor/autoload.php): failed to open stream: No such file or directory in /home/hostingname/user/www_name/public_html/glpi/plugins/barcode/setup.php at line 53
Fatal error: require_once(): Failed opening required '/home/hostingname/user/www_name/public_html/glpi/plugins/barcode/vendor/autoload.php' (include_path='.:/usr/local/php/7.3/7.3.12-dh25/lib/php') in /home/hostingname/user/www_name/public_html/glpi/plugins/barcode/setup.php on line 53
Hi
TCPDF is able to generate barcodes and qr codes. It would be a good idea to use it instead of other libraries, and make the plugin smaller.
Hello! I would like to thank you for the plugin. Could you add the ability to add an additional line to the generated QR? For example, I need the PC name to be in both the QR and the signature under the code. And, if it does not make it difficult for you, make it possible to view the generated QR files. Great to you is very grateful.
Hello
I am using glpi on version 9.4.4 with barcode plugins version 2.4.0 and GenericObject versao 2.7.0
I'm having two problems
the first, when I manage the Asset Qr Code, I can't get the Asset Name or its ID to be printed next to it, or under the Qr Code which makes it difficult to print the Qrcode of multiple assets at once.
Every time I mark the name option or id as yes, this information is incorporated into qrcode which makes the web link function impossible, where the user would be directed to the asset page simply by simply reading qrcode.
Second problem... When I have the QRCode PDF File generated, a file is not downloaded on my machine, only the successfully generated file message appears in the lower right corner of the screen and I am required to click it so that the file is opened in my browser.
See tcpdf: https://github.com/tecnickcom/tc-lib-barcode
I have installed Barcode version 2.1.0 and GLPI 9.2.2.
I have no Barcode Action in Computer List or elsewhere.
Checked Access Rights for Super-Admin and check Config.
Hi,
I tried to install version 2.5.0-rc3 on glpi 9.4.5 and got the following errors on the plugins' page :
Non-existent function: plugin_barcode_install plugin_barcode_check_config
Non-existent function: plugin_barcode_uninstall
I've read on the glpi forum that someone else is having the same issue so it must be affecting everyones...
Thanks
-- English version will follow --
Bonjour,
Je viens d'installer le plugin barecode sur mon GLPI.
Lorsque je tente de générer un qrcode (ou même un simple codebare) le pdf se génère mais pas de qrcode dans le fichier :
Version en place :
Les droits en écriture semble être bon (j'imagine du moins vu que le pdf est créé dans tous les cas).
Test déja effectuer :
Des idées ? ou un moyen de debug ?
Par avance merci
Hi Everyone,
I installed the barcode plugin on my GLPI server.
When I try to generate a qrcode (or even a bare code), the pdf is creating but at the end no qrcode in my file :
Version :
Read-write access looks good. (I mean, the pdf is created in the directory)
Troubleshoot already process :
Any idea ? or anything I can do to debug it ?
Thank you
Hi, is there a possibilities to add a new page size ? I'd need to print QRCode on a special size tag.
Thanks a lot
When there will be an update for GLPI 9.1 ?
I think I found a bug in this plugin.
I´ve a GLPI installation on a test environment running without domain name, using only IP address.
The URL encoded in QR barcodes is wrong. The encoded IP is 1.8.2.23 but it should be 1.8.4.23
Regards.
Hello, I want to print a format C10 (40mmX2_mm) but when I am using this format I dont have a correct output. The visual is too small compared to the sheet format even with margin equal to 0.
As well I can see the page number displayed, how to remove "1/1" from the visual ?
BR
Hi,
I just tried installing the barcode plugin.
GLPI version: 9.3.2
I tried the following steps:
cd /var/www/html/glpi/plugins
git clone https://github.com/pluginsGLPI/barcode.git
mv barcode-master barcode
chown -R www-data:www-data barcode
chmod -R 755 barcode/
After I sign-out and sign-in again my plugin-list is completely empty.
If I delete the barcode folder all my other plugins show up again
I also tried the dev brach with similar results.
Any ideas how to fix the problem?
Hi, can it possible upgrade the plugin can used in GLPI 9.1.3 or above?
Thanks.
PHP Compile Error (64): Declaration of & Image_Barcode_code128::draw($text, $imgtype = 'png') must be compatible with & Image_Barcode::draw($text, $type = 'int25', $imgtype = 'png', $bSendToBrowser = true, $height = 60, $barwidth = 1) in C:\xampp\htdocs\glpi\plugins\barcode\vendor\pear\image_barcode\Image\Barcode\code128.php at line 75
Good day! Tell me what could be the problem?
This error occurred during the formation of the barcode. Everything is fine with the formation of the Q-code.
Hi,
Barcode generation not possible - GLPI v9.5.5 / Barcode v2.5.1
Check LOG:
/var/www/html/glpi/files/_log/php-errors.log
[2021-06-25 08:56:50] glpiphplog.CRITICAL: *** Uncaught Exception ParseError: syntax error, unexpected 'new' (T_NEW) in /var/www/html/glpi/marketplace/barcode/vendor/pear/image_barcode/Image/Barcode.php at line 80
Backtrace :
vendor/composer/ClassLoader.php:322 Composer\Autoload\includeFile()
: Composer\Autoload\ClassLoader->loadClass()
marketplace/barcode/inc/barcode.class.php:438 spl_autoload_call()
marketplace/barcode/inc/barcode.class.php:294 PluginBarcodeBarcode->create()
marketplace/barcode/inc/barcode.class.php:509 PluginBarcodeBarcode->printPDF()
inc/massiveaction.class.php:1087 PluginBarcodeBarcode::processMassiveActionsForOneItemtype()
inc/massiveaction.class.php:1066 MassiveAction->processForSeveralItemtypes()
front/massiveaction.php:59 MassiveAction->process()
Check FILE at line 80:
/var/www/html/glpi/marketplace/barcode/vendor/pear/image_barcode/Image/Barcode.php
The character "&" is not required. It must be removed for the generator to work.
Laurent
barcode has predefined Page Sizes "A4, A5,A6 ..." where can i add custom dimensions?
After unzipping the plugin I see nothing in the GLPI setup/plugin page.
Renaming the directory from barcode-master to barcode fixes this, ie:
cd /usr/local/www/glpi/plugins
unzip barcode-baster.zip
mv barcode-master barcode
GLPI 9.2.1
FreeBSD 11.1-RELEASE
Hi,
I tried installing the barcode plugin on a GLPI 9.4.5 server, but as soon as it is present in the plugins/ directory, the plugins web interface gets buggy and I cannot do anything :
And as soon as I remove it, I can access the webpage normally.
I checked on another GLPI server, a newly installed one, and the issue remains.
Could you please take some time to update the plugin ?
Thank you very much :)
Shawn.
Hi,
i have attached a pic of my company. But finally i want delete it.
How can i do that?
Thank you.
Hi,
I try the suggested; to move old from plugin directory and to copy new, to log out and log in and it is not working. I try to copy new over existing but it is not working.
I am running GLPI 9.4-2.4
Barcode 2.4
I'm using CODE128 barcodes. What labels (sheet) is this designed to print on? It appears to put CODE128 barcodes 4-across on a Letter sheet.
Is there a specific dimension or Avery label number this is designed for?
Bonjour,
Il semble que ce plugin est compatible avec toutes les versions >9.2 et <9.4.
Or, lorsque je copie le dossier dans le dossier plugin, je ne vois plus les plugins installés sous glpi.
Après suppression du dossier barcode, tout rentre dans l'ordre !
Hello,
I downloaded the Barcode 2.4.1 version and saw numerous improvements.
However, I need to generate QrCode only with the device URL and the device name below.
The pugin only places the name when below the QrCode the name is included in the QrCode. with that the URL is not automatically directing the user to the page of the equipment in the GLPI
If I don't check the name option the plugin generates the url correctly
however when we generate several tags it is difficult to identify the tag without the name below the QrCode.
after installation, the code is generated, but when you scan the link to the computer is opened and not the form, how can I make the computer form open?
I've got an fatal on creating QR Codes. I use GLPI 9.4.3 and barcode 2.4.
Here ist the Debug Log:
Fatal error: Uncaught Error: Call to undefined method QRcode::png() in /var/www/html/plugins/barcode/inc/qrcode.class.php:159 Stack trace: #0 /var/www/html/plugins/barcode/inc/qrcode.class.php(380): PluginBarcodeQRcode->generateQRcode('Computer', '2', 1483400923, 0, Array) #1 /var/www/html/inc/massiveaction.class.php(991): PluginBarcodeQRcode::processMassiveActionsForOneItemtype(Object(MassiveAction), Object(Computer), Array) #2 /var/www/html/inc/massiveaction.class.php(970): MassiveAction->processForSeveralItemtypes() #3 /var/www/html/front/massiveaction.php(59): MassiveAction->process() #4 {main} thrown in /var/www/html/plugins/barcode/inc/qrcode.class.php on line 159
hi i dont find the plugin on plugins list, need to run the setup php?
sorry for ask here but dont find in the wiki
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.