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
AllenMcB Sergeant
Joined: Aug 22, 2004
Posts: 105
Posted:
Thu Mar 22, 2007 1:18 pm
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!
phpnuke-hosting Support Mod
Joined: Oct 19, 2004
Posts: 1032
Location: UK
Posted:
Fri Mar 23, 2007 11:48 am
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.
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