PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  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
ravenworks
Hangin' Around


Joined: Sep 22, 2010
Posts: 33
Location: Arizona

PostPosted: Wed Dec 08, 2010 9:45 pm Reply with quote Back to top

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:
Only registered users can see links on this board!
Get registered or login to the forums!

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.
View user's profile Send private message Visit poster's website
PHrEEkie
Subject Matter Expert


Joined: Feb 23, 2004
Posts: 358

PostPosted: Wed Dec 08, 2010 11:00 pm Reply with quote Back to top

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
View user's profile Send private message
ravenworks
Hangin' Around


Joined: Sep 22, 2010
Posts: 33
Location: Arizona

PostPosted: Wed Dec 08, 2010 11:34 pm Reply with quote Back to top

Keith -

Thanks for the quick reply.

Yes, /modules/Forums/attach_mod/attachment_mod.php exists

- Noel
View user's profile Send private message Visit poster's website
PHrEEkie
Subject Matter Expert


Joined: Feb 23, 2004
Posts: 358

PostPosted: Thu Dec 09, 2010 12:48 am Reply with quote Back to top

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
View user's profile Send private message
ravenworks
Hangin' Around


Joined: Sep 22, 2010
Posts: 33
Location: Arizona

PostPosted: Thu Dec 09, 2010 12:26 pm Reply with quote Back to top

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
View user's profile Send private message Visit poster's website
PHrEEkie
Subject Matter Expert


Joined: Feb 23, 2004
Posts: 358

PostPosted: Thu Dec 09, 2010 1:17 pm Reply with quote Back to top

ravenworks wrote:
[...]the important thing is that it is working now.


Indeed = )

Gotta love the easy ones Wink

cheers!

- Keith
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-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