Bug 254 - [SectStudio]Apache error messages displayed when loading Studio
: [SectStudio]Apache error messages displayed when loading Studio
Status: REOPENED
: MapLab
SECT (Studio)
: 3.0
: PC Linux
: P2 normal
: ---
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-02-26 14:57 by
Modified: 2004-03-15 14:49 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2004-02-26 14:57:48
Apache error messages displayed when loading Studio.  The Web server path is set
by using the IP address.


Apache:
[Thu Feb 26 14:49:18 2004] [error] [client 192.168.4.13] open: No such file or
directory
[Thu Feb 26 14:49:18 2004] [error] [client 192.168.4.13] open: No such file or
directory
[Thu Feb 26 14:49:18 2004] [error] [client 192.168.4.13] gd-png:  fatal libpng
error: Invalid number of colors in palette, referer:
http://192.168.4.13/testsuite/studio/
[Thu Feb 26 14:49:18 2004] [error] [client 192.168.4.13] gd-png error: setjmp
returns error condition, referer: http://192.168.4.13/testsuite/studio/        
            

PHP:
No error.

JavaScript console:
No error.
------- Comment #1 From 2004-02-26 15:05:54 -------
Is it possible that the server would have multiple conflicting versions on
libpng on it?  

i.e. the usual deal with GDAL's builtin PNG, GD's use of system libpng, and
PHP-GD coming with its own builtin GD.
------- Comment #2 From 2004-03-15 12:32:18 -------
It appears there were two versions of libpng.  This problem does not appear
anymore.  This bugs is marked as closed.
------- Comment #3 From 2004-03-15 13:35:27 -------
Reappering now when after opening Symbolizer.

Steps to reproduce:
1. Open a context file.
2. Open Classifier.
3. Select "Polygon" feature type.
4. Open Symbolizer.
5. Message appearing again in log file.
------- Comment #4 From 2004-03-15 14:49:04 -------
Could be a conflict with GDAL's built-in libpng.  You may have to recompile GDAL
and force it to use the system libpng (and jpeg at the same time).. i.e. using
--with-png=/usr --with-libz=/usr --with-jpeg=/usr

(Change /usr above with the path to the 'prefix' where the corresponding system
lib is installed.)

Then rebuild php_mapscript