Hello,
I just upgraded our server's PHP version from 5.6 to 7.0.
Today I discovered that after the upgrade, Prince does not work any longer.
I just downloaded the latest PHP wrapper for Prince and also updated Prince to the latest version and it's still not working.
What's happening is that the entire program just hangs after calling this line:
There are no errors, it just hangs until I refresh the page.
I followed the PHP wrapper file and found that it hangs at the "$line = fgets($pipe);" as shown below (line 1098 in the PHP wrapper class)
When printing the contents of $pipe, I get "Resource id #800"
If you could please help us solve this, that would be greatly appreciated!
Thank you,
- Dmitri
I just upgraded our server's PHP version from 5.6 to 7.0.
Today I discovered that after the upgrade, Prince does not work any longer.
I just downloaded the latest PHP wrapper for Prince and also updated Prince to the latest version and it's still not working.
What's happening is that the entire program just hangs after calling this line:
$prince->convert_file($xmlPath,$msgs);
There are no errors, it just hangs until I refresh the page.
I followed the PHP wrapper file and found that it hangs at the "$line = fgets($pipe);" as shown below (line 1098 in the PHP wrapper class)
private function readMessages($pipe, &$msgs, &$dats)
{
while (!feof($pipe))
{
$line = fgets($pipe);
...
When printing the contents of $pipe, I get "Resource id #800"
If you could please help us solve this, that would be greatly appreciated!
Thank you,
- Dmitri
Edited by dmitrip