[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

abortIfChromeIsNotInstalled not working when exist Chrome Window #27

Open
NguyenTheSon opened this issue Jul 9, 2018 · 4 comments
Open
Labels

Comments

@NguyenTheSon
Copy link
NguyenTheSon commented Jul 9, 2018

I have an problem when changing filehtml to pdf. while has been installed chrome

@daudmalik06
Copy link
Owner

what's the error you are facing ?
steps to reproduce the issue ?

@NguyenTheSon
Copy link
Author

result : {"code":9999,"message":"there is problem in running provided chrome's binary Error message is :Failed without error message: C: && cd "C:\Program Files (x86)\Google\Chrome\Application" && "chrome.exe --version""}

i doing setup :
$pathChrome = 'C:\Program Files (x86)\Google\Chrome\Application\chrome.exe';
$chrome = new Chrome(null,$pathChrome);
it seems command line doing gender error

@marcus-at-localhost
Copy link
marcus-at-localhost commented Mar 24, 2020

This https://github.com/daudmalik06/PhpChromeToPdf/blob/master/src/Chrome.php#L273

results in

Failed without error message: C: && cd "C:\Program Files (x86)\Google\Chrome\Application" && "chrome.exe --version" (Exit code: 1)

Apparently --version doesn't exist on windows[1]

[1] https://stackoverflow.com/questions/50880917/how-to-get-chrome-version-using-command-prompt-in-windows

@daudmalik06
Copy link
Owner

will be pushing soon patch for this.

@daudmalik06 daudmalik06 added bug and removed To_verify labels Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants