|
|
Joined: Feb 2001
Posts: 31
User
|
User
Joined: Feb 2001
Posts: 31 |
After creating the first user (admin) and attempting the Admin link I recieve the following error:
Fatal error: Failed opening required 'languages/english/online.php' in ../main.inc.php on line 121
Line 121 in main.inc.php is this:
require ("languages/$lang[THIS_FILE]/online.php");
I checked my directories and languages/english/online.php is present. I'm guessing this is a 'path' problem. I checked my path variables, everything seems fine. Where shall I look? Any suggestions? Thanks
|
|
|
|
Joined: May 1999
Posts: 3,039
Guru
|
Guru
Joined: May 1999
Posts: 3,039 |
First place to probably look at the $thispath variable in main.inc.php. This needs to be configured to the main installation directory for the admin scripts to work.
UBB.threads Developer
|
|
|
|
Joined: Feb 2001
Posts: 31
User
|
User
Joined: Feb 2001
Posts: 31 |
Almost certain my $thispath variable is correct since if I change it to anything else I recieve this different error:
Warning: Failed opening '/home/sweetle/public_html/wwwthreads/admin/config.inc.php' for inclusion in ../main.inc.php on line 13
Warning: Failed opening '/home/sweetle/public_html/wwwthreads/admin/.inc.php' for inclusion in ../main.inc.php on line 14
Warning: Failed opening '/home/sweetle/public_html/wwwthreads/admin/theme.inc.php' for inclusion in ../main.inc.php on line 15
Warning: Failed opening '/home/sweetle/public_html/wwwthreads/admin/languages//generic.php' for inclusion in ../main.inc.php on line 41
Fatal error: sql is not a class in ../main.inc.php on line 43
|
|
|
|
Joined: Feb 2001
Posts: 31
User
|
User
Joined: Feb 2001
Posts: 31 |
here's my absolute path:
/home/sweetle
path to html tree:
/home/sweetle/public_html
path to wwwthreads php installation:
/home/sweetle/public_html/wwwthreads
Here's what my $thispath variable is set in main.inc.php
$thispath = "/home/sweetle/public_html/wwwthreads";
And here is the error I recieve when trying to access the Admin section:
Fatal error: Failed opening required 'languages/english/online.php' in ../main.inc.php on line 121
Am I overlooking something obvious?
|
|
|
|
Joined: May 1999
Posts: 3,039
Guru
|
Guru
Joined: May 1999
Posts: 3,039 |
Can you try doing this:
Line 121 of main.inc.php currently looks like this:
require ("languages/$lang[THIS_FILE]/online.php");
Can you change that, to this:
require ("$config[path]/languages/$lang[THIS_FILE]/online.php");
UBB.threads Developer
|
|
|
|
Joined: Feb 2001
Posts: 31
User
|
User
Joined: Feb 2001
Posts: 31 |
That did the trick. Thank you.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 5,833
Joined: January 2000
|
|
Forums63
Topics37,574
Posts293,926
Members13,850
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|