Closed hemantdhonge closed 8 years ago
git://github.com/dineshrabara/barcode.git is this repository removed ???
We haven't used that library in quite some time. Is this an upgrade? Try running composer clear-cache
. We haven't used that barcode library in months (because it was taken down via DCMA request), and it hasn't been in our composer dependencies since then.
Thanks I download latest version and issue resolved but I am facing another issue when I install it on centos7 of snipe-it 2.0.6.Mail is not sending giving permission issue but I disable the firewall and I can able to telnet my test mail server ; even I configure outlook on my server and through outlook its work fine but through PHP it gives [2015-11-30 05:31:21] production.ERROR: exception 'Swift_TransportException' with message 'Connection could not be established with host 192.168.2.2 [Permission denied #13]' in /var/www/html/testams/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:269 Stack trace:
My mail.php is as ;
<?php
return array(
/*
|--------------------------------------------------------------------------
| Mail Driver
|--------------------------------------------------------------------------
|
| Laravel supports both SMTP and PHP's "mail" function as drivers for the
| sending of e-mail. You may specify which one you're using throughout
| your application here. By default, Laravel is setup for SMTP mail.
|
| Supported: "smtp", "mail", "sendmail"
|
*/
'driver' => 'smtp',
/*
|--------------------------------------------------------------------------
| SMTP Host Address
|--------------------------------------------------------------------------
|
| Here you may provide the host address of the SMTP server used by your
| applications. A default option is provided that is compatible with
| the Postmark mail service, which will provide reliable delivery.
|
*/
'host' => '192.168.2.2',
/*
|--------------------------------------------------------------------------
| SMTP Host Port
|--------------------------------------------------------------------------
|
| This is the SMTP port used by your application to delivery e-mails to
| users of your application. Like the host we have set this value to
| stay compatible with the Postmark e-mail application by default.
|
*/
'port' => 1125,
/*
|--------------------------------------------------------------------------
| Global "From" Address
|--------------------------------------------------------------------------
|
| You may wish for all e-mails sent by your application to be sent from
| the same address. Here, you may specify a name and address that is
| used globally for all e-mails that are sent by your application.
|
*/
'from' => array('address' => 'test1@mailtest.com', 'name' => 'hemantdhonge'),
/*
|--------------------------------------------------------------------------
| E-Mail Encryption Protocol
|--------------------------------------------------------------------------
|
| Here you may specify the encryption protocol that should be used when
| the application send e-mail messages. A sensible default using the
| transport layer security protocol should provide great security.
|
*/
'encryption' => null,
/*
|--------------------------------------------------------------------------
| SMTP Server Username
|--------------------------------------------------------------------------
|
| If your SMTP server requires a username for authentication, you should
| set it here. This will get used to authenticate with your server on
| connection. You may also set the "password" value below this one.
|
*/
'username' => 'test2',
/*
|--------------------------------------------------------------------------
| SMTP Server Password
|--------------------------------------------------------------------------
|
| Here you may set the password required by your SMTP server to send out
| messages from your application. This will be given to the server on
| connection so that the application will be able to send messages.
|
*/
'password' => 'test2',
/*
|--------------------------------------------------------------------------
| Sendmail System Path
|--------------------------------------------------------------------------
|
| When using the "sendmail" driver to send e-mails, we will need to know
| the path to where Sendmail lives on this server. A default path has
| been provided here, which will work well on most of your systems.
|
*/
'sendmail' => '/usr/sbin/sendmail -bs',
/*
|--------------------------------------------------------------------------
| Mail "Pretend"
|--------------------------------------------------------------------------
|
| When this option is enabled, e-mail will not actually be sent over the
| web and will instead be written to your application's logs files so
| you may inspect the message. This is great for local development.
|
*/
'pretend' => false,
);
This is an issue with your mail server configuration. This thread on StackOverflow might help: http://stackoverflow.com/questions/9973449/sending-email-with-swift-mailer-gmail-and-php-permission-denied-error
Check your port numbers, and check whether you have SELinux enabled.
Loading composer repositories with package information Installing dependencies
git@github.com:dineshrabara/barcode.git Permission denied (publickey). fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
Now trying to download from dist
[Composer\Downloader\TransportException] The "https://api.github.com/repos/dineshrabara/barcode/zipball/5655ece77d2d1c4438c8d940350d5d288717de27" fi le could not be downloaded (HTTP/1.1 404 Not Found)