You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
thanks to create this nice library for codeigniter.
But, why when i'm trying to use it as your instruction in main page, i get this error
A PHP Error was encountered
Severity: Warning
Message: file_put_contents(G:\xampp\htdocs\erp\index.phpapplication/logs/qr_.png-errors.txt) [function.file-put-contents]: failed to open stream: No such file or directory
Filename: qrcode/qrtools.php
Line Number: 106
i extract the file to application/libraries
and use this code to load it
$this->load->library('ciqrcode');
header("Content-Type: image/png");
$params['data'] = 'This is a text to encode become QR Code';
$this->ciqrcode->generate($params);
thank's for the advice
The text was updated successfully, but these errors were encountered:
it seems getting wrong with error log configuration path, try this code (add before you call ciqrcode generate method):
$params['errorlog'] = FCPATH.'application/logs/';
(dont forget to create folder with name "logs" inside application, if that folder doesn't exist, or you can change the name with everything names)
Hi,
thanks to create this nice library for codeigniter.
But, why when i'm trying to use it as your instruction in main page, i get this error
i extract the file to application/libraries
and use this code to load it
thank's for the advice
The text was updated successfully, but these errors were encountered: