MapTools.org

[Chameleon] Blank Page

Christopher R. Thorne thorne@dmsolutions.ca
Thu, 21 Aug 2003 16:57:30 -0400
Hello Again,
Ok, two thinks
1) In your php.ini how are you defining your error_reporting parameter?
In my php.ini (see below) I have my set to and yours should be the same.
More error should be presented to you that can help you better.

2) What is the php_mapscript you are using? The line that you are having 
the error in cwc2 access the latest component in mapserver. You should 
have php_mapscript_40.so

Chris

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Error handling and logging ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; error_reporting is a bit-field.  Or each number up to get desired error
; reporting level
; E_ALL             - All errors and warnings
; E_ERROR           - fatal run-time errors
; E_WARNING         - run-time warnings (non-fatal errors)
; E_PARSE           - compile-time parse errors
; E_NOTICE          - run-time notices (these are warnings which often 
result
;                     from a bug in your code, but it's possible that it was
;                     intentional (e.g., using an uninitialized variable and
;                     relying on the fact it's automatically initialized 
to an
;                     empty string)
; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
;                     initial startup
; E_COMPILE_ERROR   - fatal compile-time errors
; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
; E_USER_ERROR      - user-generated error message
; E_USER_WARNING    - user-generated warning message
; E_USER_NOTICE     - user-generated notice message
;
; Examples:
;
;   - Show all errors, except for notices
;
;error_reporting = E_ALL & ~E_NOTICE
;
;   - Show only errors
;
;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
;
;   - Show all errors except for notices
;
error_reporting  =  E_ALL & ~E_NOTICE

; Print out errors (as a part of the output).  For production web sites,
; you're strongly encouraged to turn this feature off, and use error logging
; instead (see below).  Keeping display_errors enabled on a production 
web site
; may reveal security information to end users, such as file paths on 
your Web
; server, your database schema or other information.
display_errors = On

; Even when display_errors is on, errors that occur during PHP's startup
; sequence are not displayed.  It's strongly recommended to keep
; display_startup_errors off, except for when debugging.
display_startup_errors = Off

; Log errors into a log file (server-specific log, stderr, or error_log 
(below))
; As stated above, you're strongly advised to use error logging in place of
; error displaying on production web sites.
log_errors = Off

; Set maximum length of log_errors. In error_log information about the 
source is
; added. The default is 1024 and 0 allows to not apply any maximum 
length at all.
log_errors_max_len = 1024

; Do not log repeated messages. Repeated errors must occur in same file 
on same
; line until ignore_repeated_source is set true.
ignore_repeated_errors = Off

; Ignore source of message when ignoring repeated messages. When this 
setting
; is On you will not log errors with repeated messages from different 
files or
; sourcelines.
ignore_repeated_source = Off

; If this parameter is set to Off, then memory leaks will not be shown (on
; stdout or in the log). This has only effect in a debug compile, and if
; error reporting includes E_WARNING in the allowed list
report_memleaks = On

; Store the last error/warning message in $php_errormsg (boolean).
track_errors = Off




Jordy Keighan wrote:

> 
> [error] [client 192.168.2.10] PHP Fatal error: Call to undefined
> function: selectoutputformat() in /home/httpd/html/cwc2/htdocs/cwc2.php 
> on line 623
> 
> this error apears in my apache log file. But nothing gets
> printed on screen.
> 
> Help please
> 
> Jordy
> 
> 
> Christopher R. Thorne wrote:
> 
>> Jordy Keighan wrote:
>>
>>> Hi i'm using cwc2-1.0.0 with mapserv-3.6.6
>>> on linux Redhat 9.
>>>
>>> Maplab and mapserv are running fine but i get a blank page
>>> when i try to use cwc2.
>>>
>>> this is the http string i'm trying: 
>>> http://server/cwc2/htdocs/cwc2.php?TEMPLATE=simplest.html&CONTEXT=
>>>
>>> can any one help me ??
>>>
>>> thxs
>>>
>>> Jordy
>>>
>>> _______________________________________________
>>> Chameleon mailing list
>>> Chameleon@lists.maptools.org
>>> http://lists.maptools.org/mailman/listinfo/chameleon
>>>
>> Hello,
>>
>> In your Url you must point to three things in order for chameleon cwc2 
>> 1.0 to work, 1) cwc.php, 2) your legend template 3) Context file. If 
>> this is the whole url your are currently missing the context file name.
>> eg.
>> http://server/cwc2/htdocs/cwc2.php?TEMPLATE=simplest.html&CONTEXT=test.xml 
>>
>>
>> Chris
> 
> 
> 
> 
> 


-- 
Christopher R. Thorne
GIS Specialist,
DM Solutions Group Inc.

http://www.dmsolutions.ca
email: thorne@dmsolutions.ca
Phone: (613) 565-5056 ext.22
Fax :  (613) 565-0925
------------------------------




This archive was generated by Pipermail.