HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Skip navigation

Bug on some servers

Title Bug on some servers
Description There seems to be a bug in some PHP versions that prevents parts of ocPortal running:
  • anything that tries to create zip files (for servers without the PHP zip extension)
  • anything that has to load all code (site imports, mainly)

The code that triggers this bug is in a sense wrong, but it shouldn't fail. Our code quality checker has now been improved to capture future occurrences.
Affects Some PHP versions, unknown which
Fix Change line 82 of sources/zip.php from:

Code

      $out.=&$file['data'];
to:

Code

      $out.=$file['data'];


Trackbacks

There have been no trackbacks yet


There have been no comments yet


Make comment
Your name: (join or login)
Subject:
Your message: