Author |
Message |
Brujo
Regular
![Regular Regular](modules/Forums/images/ranks/2stars.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Jun 04, 2004
Posts: 84
Location: Germany
|
Posted:
Mon Feb 02, 2009 9:08 am |
|
Hi together, first i like this Module, but it seems i have some issues
first with the cpsetup.php - if i call this as admin from my Browser i just get redirected automatically to index.php. I figgured out it does this after the line Quote: | include("header.php"); |
the 2 issue with the pdf function and i get the following errors: Quote: | Warning: Wrong parameter count for ereg_replace() in /srv/www/vhosts/mydomain/httpdocs/modules/Content/var/fpdf/html2fpdf.php on line 263 Warning: substr_count(): Empty substring in /srv/www/vhosts/mydomain/httpdocs/modules/Content/var/fpdf/html2fpdf.php on line 263 FPDF error: Some data has already been output, can't send PDF file |
for me as a workaround would be also if i can just disable the pdf funktion and keep all other |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jestrella
Moderator
![](modules/Forums/images/avatars/bea6a62d4db43637aa29d.jpg)
Joined: Dec 01, 2005
Posts: 593
Location: Santiago, Dominican Republic
|
Posted:
Mon Feb 02, 2009 10:09 am |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Mar 18, 2007
Posts: 1242
|
Posted:
Mon Feb 02, 2009 3:59 pm |
|
Does Content Plus work ok on RN 2.20.0x ? Any issues to speak of?
Cheers |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
fkelly
Former Moderator in Good Standing
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY
|
Posted:
Mon Feb 02, 2009 4:44 pm |
|
Dad, it would be a lot less complicated to upgrade to 2.30 from 2.20 than it would be to worry about running content plus on 2.20. The Rnteam can't "regression test" everything. From what I know, content plus would probably run just fine on 2.20 and the upcoming 2.30.01 will, as jestrella says, incorporate a few fine tuning fixes but you will find the path is considerably smoother by staying up to the latest RN releases. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 02, 2009 5:20 pm |
|
On the production site that I'm questioning is not all that easy to update to 2.30 and not to be used as a test site, but I can test it on another 2.20.0 site and I'll post back here with results in case someone else is interested. Was just looking for a quick answer ...
Cheers |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 02, 2009 6:51 pm |
|
Installed the latest version on a 2.20.10 test domain and I get this error when clicking on the PDF icon:
FPDF error: Some data has already been output, can't send PDF file
Followed the instructions, removed the existing content module and uplooaded the new files, etc., ran cpsetup and chose the first option to install Content Plus, not "upgrade". Message at the end said "succesful", etc.
Then added a category and content.
Cheers |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 02, 2009 7:22 pm |
|
Appears to be theme related as I'm using a Kalgash theme - Dreams on this particular test domain. Switching to "fisubice" works with the PDF just fine. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 02, 2009 7:41 pm |
|
Ok, working well with RN 2.20.10, no problems. However, one observation to pass along to Netscape and/or Firefox users that installed the new Acrobat Reader version 9. This version installs two plugins in the Tools => Addons => Plugins menu. DISABLE BOTH plugins.
Cheers |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jestrella
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 02, 2009 8:33 pm |
|
Might be that your theme is outputting some code before the PDF creation function is called, take a deeper look at your theme and check if this is the situation here... |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 02, 2009 8:45 pm |
|
Like I mentioned, C-Plus works quite well in RN 2.20.10 with default Nuke themes, just not with the Kalgash Dreams theme regarding the PDF error. Doesn't matter because I don't use the Content on that domain anyway.
Cheers |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jestrella
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 02, 2009 8:52 pm |
|
Nevermind... Just letting you know possible causes of this little problem ![Laughing](modules/Forums/images/smiles/icon_lol.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 02, 2009 9:02 pm |
|
Yes, and appreciate it very much but I really have no desire or for that matter the experience to de-bug stuff like this.
I always advocate not straying too far away from defaults which includes the packaged themes.
Cheers |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Brujo
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 02, 2009 10:22 pm |
|
thanks the issue with FPDF error: Some data has already been output, can't send PDF file is now gone
but i am still struggling with the cpsetup.php which redirects me automatically to index.php, i did manually comment out all "include header" and than I was able to do the DB update
i have no glue why i am redirected after the include header, any hint would be helpfull..
Brujo |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jestrella
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 02, 2009 10:27 pm |
|
That's really strange... I'll try to dig into it and post back |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jestrella
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 02, 2009 10:30 pm |
|
Have you done any special changes to header.php fiile??? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Brujo
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 02, 2009 10:59 pm |
|
jestrella wrote: | Have you done any special changes to header.php fiile??? |
no, it is Ravenuke 2.3 without modification at this time, i am wondering if it has something to do with php variables but no idea |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 02, 2009 11:19 pm |
|
I got the same error using a 3rd party theme, are you using one of the default themes in the 2.3 package?
What version of Acrobat Reader? What browser? Is the reader set to display in the browser as a plugin? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Brujo
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Feb 03, 2009 9:27 am |
|
@jestrella
i did a plain new testinstallation then copied the contentplus 2.2.1 version to his place and i use the standard theme. However if i call cpsetup.php i get automatically redircted to index.php and this makes me a bit worry
any hint will be very appreciate i realy will get this issue fixed
@dad7732 after i downloaded the 2.2.1 Version the fpdf error was gone even with my custom theme |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Feb 03, 2009 11:17 am |
|
jestrella:
One more question as this is getting a bit OT for RN.
How can I make "Oldest First" the default. I number my content and for example I have more than 10 content entries, the index shows up as:
1
10
2
3
If "Oldest First" was the default then number 10 would follow number 9.
Also, the <p> tag causes everything below it to not display in PDF. Must use <br><br> instead.
Cheers |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jestrella
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Feb 05, 2009 7:44 am |
|
dad7732 wrote: | If "Oldest First" was the default then number 10 would follow number 9. |
Makes sense... will be checking that.
Quote: | Also, the <p> tag causes everything below it to not display in PDF. Must use <br><br> instead. |
Have not notice that, will find a way to workaround that |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Feb 05, 2009 7:53 am |
|
Thanks, and it would also be nice to have the UI option to display more than 10 entries per page. I found out how in the script but maybe it should be in the UI. Thanks for your efforts ---- GREAT application!!
Keep up the good work! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Feb 18, 2009 2:41 pm |
|
Although I have a custom theme that works after modifying it for RN 2.3, the PDF feature still does not work. Where do I look other than theme.php for fixing this OR is this able to be fixed in theme.php ?
I downloaded the very latest CP and still does not fix this theme issue.
Cheers |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
Site Admin
![](modules/Forums/images/avatars/Dilbert/Dilbert_-_Dogbert_King.gif)
Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania
|
Posted:
Tue Feb 24, 2009 11:59 am |
|
Do you get any errors in your log? |
_________________ "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Feb 24, 2009 12:26 pm |
|
No errors in the log, just this when I click on the PDF icon:
FPDF error: Some data has already been output, can't send PDF file |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nuken
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/3234de284ee21bd39eecd.jpg)
Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina
|
Posted:
Tue Feb 24, 2009 1:30 pm |
|
Are you using ShortLinks? If so, did you update the .htaccess file with the changes for it? |
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|