JazzMan_Jay Posted June 29, 2003 Posted June 29, 2003 Hi All, this contribution is really perfect, but actually I wanted to change the background color (grey->white), or at least deactivate the bgcolor. I thought, no problem just edit the pdf_datasheet_config.php file. I found also the line to edit..perfect. define('PAGE_BG_COLOR','250,250,250'); to define('PAGE_BG_COLOR','255,255,255'); (or what ever...) But every change in this file bring this error : Warning: Cannot add header information - headers already sent by (output started at ...catalog/pdf/pdf_datasheet_config.php:121) in ...catalog/pdf/fpdf.php on line 998 FPDF error: Some data has already been output to browser, can't send PDF file If I turn changes back to the original , no chance still this error ! I have to upload the file again ! I've checked the permissions of both files : exactly the same. Who can help ?? For every answer I send back positive thoughts. :) Quote
JazzMan_Jay Posted June 29, 2003 Author Posted June 29, 2003 I' am editing/uploading with HTML-Kit. When I am using Textpad and then upload, no problems appears. Hope it help someone.... one day.... Quote
alverman Posted June 29, 2003 Posted June 29, 2003 The thing works just like that but .... what application are you using to edit the config file? Make sure when you save the modified file no empty lines/blank spaces are created before <?php and after ?> and some editors do that. WIKI 1st case. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.