Jump to content
TNG Community
Sign in to follow this  
Mike

PHPnuke installation problem

Recommended Posts

Mike

When I first select the genealogy module from Nuke I get the following errors which suggest a problem in the way I have the language files set up. The directory is wrong but I can't find where I can make the changes to point to the correct directory.

Warning: get_lang(modules/portal/language/lang-English.php): failed to open stream: No such file or directory in /home/zrvan/public_html/portal/mainfile.php on line 183

Warning: get_lang(): Failed opening 'modules/portal/language/lang-English.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/zrvan/public_html/portal/mainfile.php on line 183

The module itself works fine, but I keep getting these errors at the top of the page.

The site is at http://www.genealogies.com.au

Mike

Share this post


Link to post
Share on other sites
Mike

An update on the problem.

I couldn't fix it so have gone back to using Postnuke which seems to configure much more easily than PhpNuke.

I tried to register at Robert Penrose's site to see if I could get advice there but the registration process seems to be broken as I have not received the automatic email with password. Anyone else had the same problem?

Share this post


Link to post
Share on other sites
Guest

From: TNG Nuke Add-on FAQ (Frequently asked Questions)

Question #1:

What can I do if I use PHPNuke and get errors similar to the following?

Warning: get_lang(modules/public_html/language/lang-English.php)

[function.get-lang]: failed to create stream: No such file or directory in

/home/userdir/public_html/mainfile.php on line 183

Warning: get_lang() [function.get-lang]: Failed opening

'modules/public_html/language/lang-English.php' for inclusion

(include_path='') in /home/userdir/public_html/mainfile.php on line 183

Answer #1:

Create the following two new directories

/home/userdir/public_html/modules/public_html/

/home/userdir/public_html/modules/public_html/language/

then:

Place the included lang-english.php file in

/home/userdir/public_html/modules/public_html/language/

Question #2:

What should I do if I need to support other languages besides English in Question #1?

Answer #2:

Copy the included lang-english.php to lang-other.php for each language supported

/home/userdir/public_html/modules/public_html/language/

where other is the name of each the language to be supported.

examples:

lang-italian.php

lang-spanish.php

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×