AW: Error on Printing

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

AW: Error on Printing

Burghardt.Scholle
Hello Mr. Jäger,

i had the same problem a few days ago. Please replace the string
"require_once("../print/".$_REQUEST["conf"]);" with "require_once
"../print/printPDF.conf";" in line 42 AND "<input type='text' name='conf'
value= '../print/printPDF.conf'>" in line 207 (or near by). This - may be -
could solve your problem.

Greetings
Burghardt Scholle

> -----Ursprüngliche Nachricht-----
> Von: "Jäger, Frank \(KRZ\)" [mailto:[hidden email]]
> Gesendet: Dienstag, 18. Oktober 2005 16:51
> An: [hidden email]
> Betreff: [Mapbender-users] Error on Printing
>
>
> Hi,
> need some help, cause i don't "speak" PHP.
>
> Print-Button:
> =============
>
> Message in new Window:
> ----------------------
>
> Warning: main(../print/): failed to open stream: Success in
> /data/mapbender2/http/print/mod_printPDF.php on line 42
>
> Fatal error: main(): Failed opening required '../print/'
> (include_path='.:/usr/share/php:/usr/share/pear') in
> /data/mapbender2/http/print/mod_printPDF.php on line 42
>
>
> Sourcecode of line 42:
> ----------------------
>
>   require_once("../print/".$_REQUEST["conf"]);
>
>
> System:
> -------
>   Mapbender 2.1, Debian Linux Sarge
>
>   no   /conf/print.conf      
>   but  /http/print/printPDF.conf
>
>   no   /usr/share/php    
>   but  /usr/share/php4
>
>   no   /usr/share/pear
>
>
> What went wrong?
>
>
> Frank Jäger
>
> Kommunales Rechenzentrum
> Minden-Ravensberg/Lippe
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads,
> discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> Mapbender-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/mapbender-users
>


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Mapbender-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mapbender-users