User Tools

Site Tools


misctroubleshooting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
misctroubleshooting [2021/07/13 06:07]
dwheele [Solution]
misctroubleshooting [2023/03/18 04:24] (current)
dwheele [Solution]
Line 25: Line 25:
  
 [7/9/2021] [7/9/2021]
 +
 +
 +===== Coppermine Photo Gallery gave php error on install =====
 +
 +Complained like this:
 +
 +<code>
 +[Fri Mar 17 20:32:30.713169 2023] [proxy_fcgi:error] [pid 3687776] [client 192.168.0.12:52350] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught TypeError: imagedestroy(): Argument #1 ($image) must be of type GdImage, null given in /var/www/html/cpg/install.php:2054\nStack trace:\n#0 /var/www/html/cpg/install.php(2054):
 +</code>
 +
 +==== Surrounded the imagedestroy call with if not-equal null ====
 +
 +<code>
 +                if ($source_a != null) {
 +                @imagedestroy($source_a);
 +                }
 +
 +</code>
 +
  
  
misctroubleshooting.1626156475.txt.gz · Last modified: 2021/07/13 06:07 by dwheele