PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  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
violative
New Member
New Member


Joined: Dec 30, 2006
Posts: 19

PostPosted: Thu Feb 01, 2007 12:26 am Reply with quote Back to top

Hi, I Installed NSN_News_200rc2_70-79 On My Test Site Running rwsRavenNuke76_v2.02.00_FULL, I added The FPDF library In ("modules/".$module_name."/fpdf/fpdf.php"). I Get These ERRORS:
When I Click on The PDF icon.

Warning: PrintPage(modules/News/fpdf/fpdf.php) [function.PrintPage]: failed to open stream: No such file or directory in /home/antiterr/public_html/modules/News/public/NEPortable.php on line 39

Fatal error: PrintPage() [function.require]: Failed opening required 'modules/News/fpdf/fpdf.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/antiterr/public_html/modules/News/public/NEPortable.php on line 39

I Searched for help, but found none. Can Someone please advice me on how I can make this work.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4853

PostPosted: Thu Feb 01, 2007 12:01 pm Reply with quote Back to top

Is the fdpd directory in modules/News?
View user's profile Send private message
violative
New Member
New Member


Joined: Dec 30, 2006
Posts: 19

PostPosted: Thu Feb 01, 2007 10:38 pm Reply with quote Back to top

YES I Stated That,,"("modules/".$module_name."/fpdf/fpdf.php")" Bang Head Laughing I Think That is Modules/News.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4853

PostPosted: Thu Feb 01, 2007 11:44 pm Reply with quote Back to top

I don't mean to be flippant - but it never hurts to double check. There are many posts where people find that all is not what it seems when they double check.

The next things I would check are the file permissions, then determine if the command used to open the file is supported on your server's version of PHP with the PHP.ini settings on your server.
View user's profile Send private message
violative
New Member
New Member


Joined: Dec 30, 2006
Posts: 19

PostPosted: Fri Feb 02, 2007 1:06 am Reply with quote Back to top

Wow, dude thanks for your help, but (double check)?? The fdpd directory Is still In modules/News With Permissions CHMOD 777. "PHP with the PHP.ini settings on your server" What?? I Never Saw Anything About PHP.ini settings In The How To Install File. Sorry man I Question If You Know What You Are Talking About. Anyways I Download This Module NSN_News_200rc2_70-79 Here At This Wedsite. I Followed The Install Instructions Correctly. Nowhere In The Instructions Did It States To Download fpdf.php File From
Only registered users can see links on this board!
Get registered or login to the forums!
I Saw It in The \modules\News\public\NEPortable.php File That Calls Fpdf A@ ("modules/".$module_name."/fpdf/fpdf.php" (thats in the modules/News)
Before I Installed "/fpdf/fpdf.php") Nuke rwsRavenNuke76_v2.02.00_FULL(Downloaded Here Too) States NOTHING, I Get a White Blank Page "That I Know There's An Error Somewere" Now When I installed "/fpdf/fpdf.php" It States:

Warning: PrintPage(modules/News/fpdf/fpdf.php) [function.PrintPage]: failed to open stream: No such file or directory in /home/antiterr/public_html/modules/News/public/NEPortable.php on line 39

Fatal error: PrintPage() [function.require]: Failed opening required 'modules/News/fpdf/fpdf.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/antiterr/public_html/modules/News/public/NEPortable.php on line 39

There Is Some Error I Dont Understand On "Line 39"
!!!!!THATS WHERE I NEED THE HELP!!!!!!!!

Now So Why You State "There are many posts where people find that all is not what it seems when they double check" Bang Head

Sorry Man, But I Understand English Only: Can Anyone Please Help, Make This Module Work, Thank You Ahead Of Time.
PS: Do You Guys Even Support Your Own RavensScripts Modules ????
P.P.S I Dont Have Or Use PHP.ini
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4853

PostPosted: Fri Feb 02, 2007 5:56 am Reply with quote Back to top

First, we support almost all modules - even those that were not created here. If you read the installation instructions carefully (or even the download description), how did you not realize that NSN News was created by NukeScripts.net, not RavenPHPScripts.com (which explains why the RN installation states NOTHING about installing it)? Many of the downloads available on this and most other sites were not written, maintained or supported by the site that has the download.

Next, I never said you did not follow the instructions, nor did I claim to be an expert on this module. I am simply trying to help, though it appears you're looking for something else.

I do know enough to know that EVERY installation of PHP-Nuke (whether it's RN or another distribution) requires PHP, which requires PHP.ini. In most installations, this is controlled by the webhost. But you can override it. The reason I point that out is that webhosts configure that file differently - and some of the settings may be impacting your ability to dynamically create PDFs. This may require the ability to create temp files and is NOT something every host allows or sets up properly.

I stated that there are many posts where people find answers when they double check to explain why I was asking you to double check. I'd be happy to point you to examples, in English, so you can understand.

If you look at the file in question (modules/News/public/NEPortable.php, line 39 is:
Code:
  require_once("modules/".$module_name."/fpdf/fpdf.php");

It's inside a function, but the $module_name variable is global and *should* have a value. If it doesn't (i.e. $module_name has no value inside that function), that would explain why it can't find the file. If you check your site's error log, you may find the exact file it's trying to load (i.e. you will see the value of the $module name). You might try changing line 39 to read:
Code:
  require_once("modules/News/fpdf/fpdf.php");
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4853

PostPosted: Mon Feb 05, 2007 5:29 am Reply with quote Back to top

violative, did this solve your problem?
View user's profile Send private message
KennyW
New Member
New Member


Joined: Jul 15, 2004
Posts: 24

PostPosted: Mon Feb 05, 2007 11:04 am Reply with quote Back to top

He's so rude,why give him any help.

wonder if he has made all the changes at all,I have nstalled this baby many times and never had any problem with the PDF function
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4853

PostPosted: Mon Feb 05, 2007 11:33 am Reply with quote Back to top

Maybe he found a needle in a haystack and understanding his issue could help with other possible issues... Sometimes people realize later, after calming down, that biting the hand that's trying to feed you isn't always the best approach. Well, we can hope, right?
View user's profile Send private message
KennyW
New Member
New Member


Joined: Jul 15, 2004
Posts: 24

PostPosted: Mon Feb 05, 2007 12:00 pm Reply with quote Back to top

Yeah youre right about that,I think do guys are doing a great job here.
View user's profile Send private message
persona_non_grata



Joined:
Posts: 0

PostPosted: Mon Feb 05, 2007 3:45 pm Reply with quote Back to top

yes i agree to..... killing me
i naturaly saw this topic but didnt replied cause i didnt knew what to say...
i absolutely dont recognise the error,and even google doesnt know.
and if google never heard of it then you got something special....
must be or a bad install,or corrupted,or its installed in a way we dont know about... Laughing
View user's profile Send private message
violative
New Member
New Member


Joined: Dec 30, 2006
Posts: 19

PostPosted: Mon Feb 05, 2007 10:39 pm Reply with quote Back to top

Sorry guys. Thanks for the help. I was offline for a while got a new computer, last one was stolen Mad . I will try to reinstall this module again. But for your question "did this solve your problem?" no it did not. I Will try again thanks I let you all know. Anyone want ftp access to my site:?: may be you can help me install some modules I like from here? or maybe not. but thanks agian for your help.

P.S I also think guys are doing a great job here.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4853

PostPosted: Tue Feb 06, 2007 12:11 pm Reply with quote Back to top

FTP might help but I'd like to see the error log from your control panel. Where is it trying to locate the file? If it's not a $module_name variable issue, it might be a PHP.ini path issue, but that would really surprise me. Then again, as persona_non_grata mentioned, the whole issue is surprising...

With FTP access, I could still see the PHP.ini values and trap the error when trying to create the PDF. Please send it via PM.
View user's profile Send private message
violative
New Member
New Member


Joined: Dec 30, 2006
Posts: 19

PostPosted: Tue Feb 06, 2007 8:00 pm Reply with quote Back to top

kk but I have delete the whole site and uploaded rwsRavenNuke76_v2.02.00_FULL. i'll sent you ftp now if you still want.?
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4853

PostPosted: Wed Feb 07, 2007 6:34 am Reply with quote Back to top

Wish I had gotten this last night...go ahead and send if it still doesn't work on your refreshed site.
View user's profile Send private message
violative
New Member
New Member


Joined: Dec 30, 2006
Posts: 19

PostPosted: Wed Feb 07, 2007 4:04 pm Reply with quote Back to top

kk will do. i'll retry to make it work if not, i'll pm you ftp pass and info.
Thanks
View user's profile Send private message
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-2008 by Raven
Proud to be listed at Lobo Links Web Directory

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 Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

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

zerosum