Comments (16)
Could you kindly share with us your error log regarding this issue?
from laravel-pdf-latex.
Thank you for your reply.
Please find the attached image.
from laravel-pdf-latex.
Having the same issue. Would like to use this Package with Laravel 7 but can't because of the error mentioned above.
from laravel-pdf-latex.
@dhruva81 did you find a solution for this issue?
from laravel-pdf-latex.
"require": {
"php": ">=5.4.0",
"illuminate/support": "5.4.x|5.5.X|5.6.X|5.7.X|5.8.X|^6.0",
"illuminate/filesystem": "5.4.x|5.5.X|5.6.X|5.7.X|5.8.X|^6.0",
"symfony/process": "v2.x|v3.x|v4.x"
},
just add ^7.0
here.
I am having an oral examination these days, would fix this later. Sending a PR would be fine.
from laravel-pdf-latex.
Pull request done! #8
from laravel-pdf-latex.
Just released 2.1.6
, just run composer update
.
If this got solved, feel free to close this issue.
from laravel-pdf-latex.
from laravel-pdf-latex.
Having the same issue here with laravel 7.27.0.
Maybe "symfony/process" also needs a higher version?
from laravel-pdf-latex.
@ismaelw Yes, OMG I forgot about that.
I am still using Laravel 5.8 LTS, looks like 7.x
made a lot of changes lol.
from laravel-pdf-latex.
@ismaelw Is Laravel 7 now using Symfony 5? If so you can PR directly or just reply here, I will make that correction once I read the message.
from laravel-pdf-latex.
@ZsgsDesign I'm somehow not able to make a PR.
But I can confirm that Laravel 7 is now using Symfony 5.
Also I wanted to ask you about the part where you check for Linux and throw a Unspported Operating System. Is this necessary? I remember your package failing there but after removing it from the code it worked.
Thank you so much!
from laravel-pdf-latex.
@ZsgsDesign I'm somehow not able to make a PR.
But I can confirm that Laravel 7 is now using Symfony 5.Also I wanted to ask you about the part where you check for Linux and throw a Unspported Operating System. Is this necessary? I remember your package failing there but after removing it from the code it worked.
Thank you so much!
This package is built for Linux only, so we have it checked.
if (!in_array(PHP_OS_FAMILY, ['Linux'])){
throw new LatextException("Unsupported Operating System");
}
Are you using Windows or Mac and it succeeded? Give me feedback.
from laravel-pdf-latex.
I'm on an external hoster. The server running there with pdflatex is running a Linux System.
Still this package failed. That's why I thought it was weird. Anyway because of the external hoster I have to set the specific binPath to pdflatex so it works. But still this part of the PHP check I had to remove.
from laravel-pdf-latex.
I'm on an external hoster. The server running there with pdflatex is running a Linux System.
Still this package failed. That's why I thought it was weird. Anyway because of the external hoster I have to set the specific binPath to pdflatex so it works. But still this part of the PHP check I had to remove.
How about run PHP_OS_FAMILY
yourself and see the result?
<?PHP
var_dump(PHP_OS_FAMILY);
Maybe it's a string? I am also confused.
from laravel-pdf-latex.
I'm on an external hoster. The server running there with pdflatex is running a Linux System.
Still this package failed. That's why I thought it was weird. Anyway because of the external hoster I have to set the specific binPath to pdflatex so it works. But still this part of the PHP check I had to remove.How about run
PHP_OS_FAMILY
yourself and see the result?<?PHP var_dump(PHP_OS_FAMILY);
Maybe it's a string? I am also confused.
With the following test i receive the also following output:
<?PHP echo PHP_OS . ' ---- '; var_dump(PHP_OS_FAMILY); ?>
Result:
FreeBSD --- string(3) "BSD"
PHP_OS_FAMILY is available from PHP version 7.2. On my hosting I am using PHP 7.4.
As said in the PHP Documentation PHP_OS_FAMILY outputs a string of either 'Windows', 'BSD', 'Darwin', 'Solaris', 'Linux' or 'Unknown'. Maybe you could fix the code using Linux, Solaris, Darwin and BSD instead of just Linux :)
from laravel-pdf-latex.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-pdf-latex.