Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x
Author Message
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm



Joined: Aug 13, 2009
Posts: 1012
Location: Netherland

PostPosted: Mon Jul 16, 2012 5:56 pm Reply with quote

I turned error reporting to true and I loaded a png image again and it doesn't work, it is not giving me any error, just a blank page. I am gonna check the admin panel from my host to see if I can find any error.

Guys, I found this error. It is all I got in my host control panel

Code:
 PHP Warning: proc_open() has been disabled for security reasons in home/includes/elfinder/php/elFinderVolumeDriver.class.php on line 2889, referer: includes/elfinder/elfinder.php?module=ckeditor&type=image&CKEditor=notes&CKEditorFuncNum=410&langCode=en
 
View user's profile Send private message Visit poster's website
hicuxunicorniobestbuildpc







PostPosted: Sun Aug 05, 2012 12:34 pm Reply with quote

I got this error too.

TCPDF ERROR: Some data has already been output, can't send PDF file
 
nuken
RavenNuke(tm) Development Team



Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Sun Aug 05, 2012 12:56 pm Reply with quote

unicornio wrote:
I got this error too.

TCPDF ERROR: Some data has already been output, can't send PDF file


Is this on the stock RavenNuke news module or the one neralex has been working on? The reason I ask is because that error has been reported with TCPDF when UTF-8 encoding is not properly handled.

_________________
Tricked Out News

Last edited by nuken on Sun Aug 05, 2012 1:02 pm; edited 2 times in total 
View user's profile Send private message Send e-mail Visit poster's website
hicuxunicorniobestbuildpc







PostPosted: Sun Aug 05, 2012 12:59 pm Reply with quote

Yes this is with neralex's news. I wonder if there is any fix for that. I updated the classes folder with the new one too but I still get the same error.
 
nuken







PostPosted: Sun Aug 05, 2012 1:02 pm Reply with quote

You can try to add

Code:


 ob_end_clean();


before
Code:


$pdf->Output('articles'.$sid.'.pdf', 'I');


in News/printpdf.php and see if that will clean it up.
 
hicuxunicorniobestbuildpc







PostPosted: Sun Aug 05, 2012 1:15 pm Reply with quote

Perfect! It is working again. Thanks Very Happy
 
nuken







PostPosted: Sun Aug 05, 2012 1:19 pm Reply with quote

That is not a fix, it is a bandaid to the issue which is probably related to mixing UTF-8 and ISO-8859-1


Last edited by nuken on Sun Aug 05, 2012 1:29 pm; edited 1 time in total 
neralex
Site Admin



Joined: Aug 22, 2007
Posts: 1531

PostPosted: Sun Aug 05, 2012 1:24 pm Reply with quote

nuken, can you explain me, where the problem is based? Because i have here 3 installations with my mod: iso charst & iso db, iso charset & utf-8 db and utf-8 charset & utf-8 db. In all three version i don't have this issue.


Last edited by neralex on Sun Aug 05, 2012 1:40 pm; edited 1 time in total 
View user's profile Send private message
nuken







PostPosted: Sun Aug 05, 2012 1:32 pm Reply with quote

My best guess would be it is not the module causing the issue as much as it is files or db content saved with the invalid characters. I can not reproduce the issue to verify. Probably the uft-8 BOM somewhere causing it.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©