PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Brujo
Regular
Regular


Joined: Jun 04, 2004
Posts: 84
Location: Germany

PostPosted: Mon Feb 02, 2009 9:08 am Reply with quote Back to top

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
View user's profile Send private message
jestrella
Moderator


Joined: Dec 01, 2005
Posts: 535
Location: Santiago, Dominican Republic

PostPosted: Mon Feb 02, 2009 10:09 am Reply with quote Back to top

Please download the latest release from my site, if I am right all those issues should be corrected now. All corrections are also included in next release of RavenNuke...

Here's the link:
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Mon Feb 02, 2009 3:59 pm Reply with quote Back to top

Does Content Plus work ok on RN 2.20.0x ? Any issues to speak of?

Cheers
View user's profile Send private message
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 3186
Location: near Albany NY

PostPosted: Mon Feb 02, 2009 4:44 pm Reply with quote Back to top

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.
View user's profile Send private message Visit poster's website
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Mon Feb 02, 2009 5:20 pm Reply with quote Back to top

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
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Mon Feb 02, 2009 6:51 pm Reply with quote Back to top

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
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Mon Feb 02, 2009 7:22 pm Reply with quote Back to top

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.
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Mon Feb 02, 2009 7:41 pm Reply with quote Back to top

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
View user's profile Send private message
jestrella
Moderator


Joined: Dec 01, 2005
Posts: 535
Location: Santiago, Dominican Republic

PostPosted: Mon Feb 02, 2009 8:33 pm Reply with quote Back to top

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...
View user's profile Send private message Visit poster's website
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Mon Feb 02, 2009 8:45 pm Reply with quote Back to top

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. Smile

Cheers
View user's profile Send private message
jestrella
Moderator


Joined: Dec 01, 2005
Posts: 535
Location: Santiago, Dominican Republic

PostPosted: Mon Feb 02, 2009 8:52 pm Reply with quote Back to top

Nevermind... Just letting you know possible causes of this little problem Laughing
View user's profile Send private message Visit poster's website
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Mon Feb 02, 2009 9:02 pm Reply with quote Back to top

Yes, and appreciate it very much but I really have no desire or for that matter the experience to de-bug stuff like this. Sad

I always advocate not straying too far away from defaults which includes the packaged themes. Smile

Cheers
View user's profile Send private message
Brujo
Regular
Regular


Joined: Jun 04, 2004
Posts: 84
Location: Germany

PostPosted: Mon Feb 02, 2009 10:22 pm Reply with quote Back to top

jestrella wrote:
Please download the latest release from my site, if I am right all those issues should be corrected now. All corrections are also included in next release of RavenNuke...

Here's the link:
Only registered users can see links on this board!
Get registered or login to the forums!


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
View user's profile Send private message
jestrella
Moderator


Joined: Dec 01, 2005
Posts: 535
Location: Santiago, Dominican Republic

PostPosted: Mon Feb 02, 2009 10:27 pm Reply with quote Back to top

That's really strange... I'll try to dig into it and post back
View user's profile Send private message Visit poster's website
jestrella
Moderator


Joined: Dec 01, 2005
Posts: 535
Location: Santiago, Dominican Republic

PostPosted: Mon Feb 02, 2009 10:30 pm Reply with quote Back to top

Have you done any special changes to header.php fiile???
View user's profile Send private message Visit poster's website
Brujo
Regular
Regular


Joined: Jun 04, 2004
Posts: 84
Location: Germany

PostPosted: Mon Feb 02, 2009 10:59 pm Reply with quote Back to top

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
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Mon Feb 02, 2009 11:19 pm Reply with quote Back to top

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?
View user's profile Send private message
Brujo
Regular
Regular


Joined: Jun 04, 2004
Posts: 84
Location: Germany

PostPosted: Tue Feb 03, 2009 9:27 am Reply with quote Back to top

@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
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Tue Feb 03, 2009 11:17 am Reply with quote Back to top

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
View user's profile Send private message
jestrella
Moderator


Joined: Dec 01, 2005
Posts: 535
Location: Santiago, Dominican Republic

PostPosted: Thu Feb 05, 2009 7:44 am Reply with quote Back to top

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
View user's profile Send private message Visit poster's website
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Thu Feb 05, 2009 7:53 am Reply with quote Back to top

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!! Smile

Keep up the good work!
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Wed Feb 18, 2009 2:41 pm Reply with quote Back to top

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
View user's profile Send private message
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2456
Location: Pittsburgh, Pennsylvania

PostPosted: Tue Feb 24, 2009 11:59 am Reply with quote Back to top

Do you get any errors in your log?
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Tue Feb 24, 2009 12:26 pm Reply with quote Back to top

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
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


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

PostPosted: Tue Feb 24, 2009 1:30 pm Reply with quote Back to top

Are you using ShortLinks? If so, did you update the .htaccess file with the changes for it?
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum