| Author |
Message |
ravenworks Hangin' Around

Joined: Sep 22, 2010 Posts: 33 Location: Arizona
|
Posted:
Wed Dec 08, 2010 9:45 pm |
|
If this has been addressed elsewhere I apologize for posting it here but I could not find an answer.
Running RN 2.4.1 with the stock forums installation.
In phpbb admin we get errors when accessing "Attachments" or "Extensions" functions. Everything else appears to be working fine.
For any of the "Attachments" functions we get this error:
Fatal error: Call to undefined function include_attach_lang() in /home/gcpba/public_html/modules/Forums/admin/admin_attach_cp.php on line 52
For any of the "Extensions" functions we get this error:
Fatal error: Call to undefined function include_attach_lang() in /home/gcpba/public_html/modules/Forums/admin/admin_extensions.php on line 54
I thought I had found the problem when I realized we were using a template that had no forum directory (Sand_Journey) so following this thread:
I copied the missing directory from the stock fisubice theme. While this made our forum look better, it did not resolve the errors.
Any advice or suggestions will be greatly appreciated. |
|
|
|
 |
PHrEEkie Subject Matter Expert

Joined: Feb 23, 2004 Posts: 358
|
Posted:
Wed Dec 08, 2010 11:00 pm |
|
function include_attach_lang is in the script:
/modules/Forums/attach_mod/attachment_mod.php
Ensure that folder exists, at that path, and the file within it. If it does, then we can go on from there.. it will be a pathing issue inside your theme. More than likely, you will need to add or subtract one directory traverse due to the folder differences between the themes. But let's start with the first request...
- Keith |
|
|
|
 |
ravenworks Hangin' Around

Joined: Sep 22, 2010 Posts: 33 Location: Arizona
|
Posted:
Wed Dec 08, 2010 11:34 pm |
|
Keith -
Thanks for the quick reply.
Yes, /modules/Forums/attach_mod/attachment_mod.php exists
- Noel |
|
|
|
 |
PHrEEkie Subject Matter Expert

Joined: Feb 23, 2004 Posts: 358
|
Posted:
Thu Dec 09, 2010 12:48 am |
|
Alrighty...
The script containing the function is called by /modules/Forums/common.php
Let's open up common.php. Look near the bottom of the script, approx. line 246. Does this match EXACTLY?
| Code: | include($phpbb_root_path . 'attach_mod/attachment_mod.'.$phpEx);
|
- Keith |
|
|
|
 |
ravenworks Hangin' Around

Joined: Sep 22, 2010 Posts: 33 Location: Arizona
|
Posted:
Thu Dec 09, 2010 12:26 pm |
|
Keith -
Well, it is the strangest thing...
The code matches exactly but... I'm looking at the copies I have on my computer.
But then I had the thought to check modification dates from my original RN to those on the site...
The site dates on many of the files (the one in question included) were older than the files I had downloaded!
So I figured I'll just upload the "newer" file and it made the solution!
This is confusing because the install I performed of RN was from an untarred file that I uncompressed on the site.
I'm pretty sure it is from the same version I have on my computer. Some of the files I checked have the same modification dates, a few are much older on the site but most are only a few days older than the files I have locally.
Not sure what happened but I guess the important thing is that it is working now.
Go figure,
Noel |
|
|
|
 |
PHrEEkie Subject Matter Expert

Joined: Feb 23, 2004 Posts: 358
|
Posted:
Thu Dec 09, 2010 1:17 pm |
|
| ravenworks wrote: | | [...]the important thing is that it is working now. |
Indeed = )
Gotta love the easy ones
cheers!
- Keith |
|
|
|
 |
|
|
|
|