1. Scott
  2. Other Discussions
  3. 木, 4月 22 2021, 12:06 AM
  4.  メールで購読
I upgraded our development Windows Server 2019 machine to PHP 8.0.3 and installed the latest VPHP NTS_x64 ADK.

Set all the Fast_CGI settings for this build in IIS.

The only way to display records from the valentina_query is to use the valentina_result() like this:


$companies = getCompanyNames();
$numrows = valentina_num_rows($companies);

for ($x = 1; $x <= $numrows; $x++){
echo valentina_result($companies, $x) . '<br>';
};


Using the fetch_assoc (or any other resource method) results in a 500 error. Event Viewer displays:

Faulting application name: php-cgi.exe, version: 8.0.3.0, time stamp: 0x5ff4ebf4
Faulting module name: ucrtbase.dll, version: 10.0.17763.1490, time stamp: 0x48ac8393
Exception code: 0xc0000409
Fault offset: 0x000000000006e77e
Faulting process id: 0x15c8
Faulting application start time: 0x01d7370830d78741
Faulting application path: C:\Program Files\PHP\v8.0.3\php-cgi.exe
Faulting module path: C:\Windows\System32\ucrtbase.dll
Report Id: 4b3dda78-7a64-4b90-b7ed-1056810633ec
Faulting package full name:
Faulting package-relative application ID:

Most other VPHP functions work.

It's worth noting that I also received similar 500 errors from XAMMP on a Windows 10 Enterprise machine and MAMP on the same machine (this time using the thread safe ADK).

Any ideas?

Scott
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
Hello Scott,

No, that's something new, we'll check it.
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
Still unable to reproduce, valentina_fetch_assoc works in the example select_assoc.php.
But I tried on Windows 10 with XAMPP, IIS, PHP installed from WebPlatform.

I'm going to check it with Windows Server and install PHP manually.
コメント
There are no comments made yet.
Scott 承諾済みの回答
Thanks, Sergey. I will give that one a try as well to see if it works,
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
Ok, Windows Server 2019 setup works for me.
Probably there is something else. Does it happen each time, even in the simplest scripts?
Maybe you can build a minimal script and see if it crash on IIS or directly on PHP, without any web server.
コメント
There are no comments made yet.
  • ページ :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories