You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 53 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Send e-mail from forum [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
WhiteDemon
Nuke Soldier
Nuke Soldier


Joined: Jan 16, 2007
Posts: 21


PostPosted: Tue Jan 23, 2007 6:41 am Reply with quoteBack to top

When a user tries to send an e-mail through the forum to another user, this message is being returned -

Warning: main(modules/$module_name/includes/usercp_email.php) [function.main]: failed to open stream: No such file or directory in /home/metchat/public_html/nuke/modules/Forums/profile.php on line 131

Warning: main(modules/$module_name/includes/usercp_email.php) [function.main]: failed to open stream: No such file or directory in /home/metchat/public_html/nuke/modules/Forums/profile.php on line 131

Warning: main(modules/$module_name/includes/usercp_email.php) [function.main]: failed to open stream: No such file or directory in /home/metchat/public_html/nuke/modules/Forums/profile.php on line 131

Warning: main() [function.include]: Failed opening 'modules/$module_name/includes/usercp_email.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/metchat/public_html/nuke/modules/Forums/profile.php on line 131

We're currently using nuke 7.9 patched with 3.3
Find all posts by WhiteDemonView user's profileSend private message
AllenMcB
Sergeant
Sergeant


Joined: Aug 22, 2004
Posts: 105


PostPosted: Thu Mar 22, 2007 1:18 pm Reply with quoteBack to top

WhiteDemon wrote:
When a user tries to send an e-mail through the forum to another user, this message is being returned -

Warning: main() [function.include]: Failed opening 'modules/$module_name/includes/usercp_email.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/metchat/public_html/nuke/modules/Forums/profile.php on line 131

We're currently using nuke 7.9 patched with 3.3


We're having the same problem. Did you ever find the source of this problem? We're running 8.0 patched 3.3. I'm wondering if having the Approve Membership module installed is part of the problem.

Also, when the Members' List is accessed, and the email button beside the member's name is clicked, the same error occurs.

I know the $module is a variable that should be replaced with the Forums module name, but I don't know if that's supposed to happen before the error or not. I have error reporting turned on, and the actual error we get is this:

Warning: include() [function.include]: Failed opening 'modules/$module_name/includes/usercp_email.php' for inclusion

(include_path='.:/usr/share/pear:/usr/share/php') in /var/www/virtuals/msgeo.net/htdocs/html/modules/Forums/profile.php on line 131

The file usercp_email.php is where the path says it should be, except $module_name should be Forums.

If you have this resolved, please clue me in!

THANKS!
Find all posts by AllenMcBView user's profileSend private messageSend e-mailVisit poster's website
phpnuke-hosting
Support Mod
Support Mod


Joined: Oct 19, 2004
Posts: 1032

Location: UK

PostPosted: Fri Mar 23, 2007 11:48 am Reply with quoteBack to top

AllenMcB wrote:
The file usercp_email.php is where the path says it should be, except $module_name should be Forums.


I havent personally looked at 8.0 yet but does the Forums module now have an includes file? 7.8 doesnt and nor do versions below that.

Please verify that there is a folder named includes inside the /modules/Forums dir.

Thanks

_________________
www.phpnuke-hosting.com

The Internets Foremost PHP-Nuke Web Host.

Image

Click Here!
Find all posts by phpnuke-hostingView user's profileSend private messageVisit poster's website
AllenMcB
Sergeant
Sergeant


Joined: Aug 22, 2004
Posts: 105


PostPosted: Fri Mar 23, 2007 12:17 pm Reply with quoteBack to top

phpnuke-hosting wrote:
AllenMcB wrote:
The file usercp_email.php is where the path says it should be, except $module_name should be Forums.


I havent personally looked at 8.0 yet but does the Forums module now have an includes file? 7.8 doesnt and nor do versions below that.

Please verify that there is a folder named includes inside the /modules/Forums dir.

Thanks


Yes, there is a dir /Forums/includes with the file usercp_email.php inside of it.
Find all posts by AllenMcBView user's profileSend private messageSend e-mailVisit poster's website
AllenMcB
Sergeant
Sergeant


Joined: Aug 22, 2004
Posts: 105


PostPosted: Sun Mar 25, 2007 9:53 am Reply with quoteBack to top

AllenMcB wrote:
phpnuke-hosting wrote:
AllenMcB wrote:
The file usercp_email.php is where the path says it should be, except $module_name should be Forums.


I havent personally looked at 8.0 yet but does the Forums module now have an includes file? 7.8 doesnt and nor do versions below that.

Please verify that there is a folder named includes inside the /modules/Forums dir.

Thanks

.


The path html/modules/Forums/includes/usercp_email.php does exist and has a 12k file size.

I think this is the last "fix" the site needs to make it run as designed. Any suggestions?
Find all posts by AllenMcBView user's profileSend private messageSend e-mailVisit poster's website
AllenMcB
Sergeant
Sergeant


Joined: Aug 22, 2004
Posts: 105


PostPosted: Sun Mar 25, 2007 9:54 am Reply with quoteBack to top

AllenMcB wrote:
phpnuke-hosting wrote:
AllenMcB wrote:
The file usercp_email.php is where the path says it should be, except $module_name should be Forums.


I havent personally looked at 8.0 yet but does the Forums module now have an includes file? 7.8 doesnt and nor do versions below that.

Please verify that there is a folder named includes inside the /modules/Forums dir.

Thanks

.


The path html/modules/Forums/includes/usercp_email.php does exist and has a 12k file size.

I think this is the last "fix" the site needs to make it run as designed. Any suggestions?
Find all posts by AllenMcBView user's profileSend private messageSend e-mailVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.210 Seconds - 359 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::