Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Acmlmboard support?.
Acmlm's Board - I2 Archive - Acmlmboard support? - Troubles installing v1.A2 | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Stifu

Level: 28

Posts: 120/304
EXP: 129458
For next: 1880

Since: 03-16-04
From: Your mom's bed

Since last post: 18 hours
Last activity: 11 hours
Posted on 07-04-05 01:50 PM Link | Quote
Yo all.
I'm trying to upgrade from v1.92 to v1.A2.
I don't know why it won't work... I suck at this.

Have a look...
http://stifu.free.fr/1a2/

I think the problem may come from the definition of the $root variable. I tried different ways to define it, but nothing worked...

Any idea ? Thanks.


(edited by Stifu on 07-04-05 04:51 AM)
SyntaxLegend

Double metal axe
Level: 25

Posts: 198/222
EXP: 78264
For next: 11356

Since: 04-21-04
From: Australia

Since last post: 20 days
Last activity: 10 hours
Posted on 07-04-05 03:29 PM Link | Quote
Did you bother to look in the "Having trouble setting up an acmlmboard?" thread?
Stifu

Level: 28

Posts: 121/304
EXP: 129458
For next: 1880

Since: 03-16-04
From: Your mom's bed

Since last post: 18 hours
Last activity: 11 hours
Posted on 07-04-05 10:04 PM Link | Quote
Oops, I'm guilty of that, I missed that one... It wasn't there back when I downloaded the board, a while ago...

I did everything written there apart from launching the setup file, as I assumed it would work anyway since I already have a database... So I opened that dump.sql file to compare it with my database, and did all the changes I noticed I had to do (created tables, modified tables...).
I also did the boardconfig thing while I was there...

It still doesn't work though. Warnings and errors are the same... I'm probably overlooking something simple and obvious.

I would have thought it was necessary to edit the function.php file, at least to define the $root variable, but the walkthrough doesn't mention that at all.
Xeolord

- B l u e s -
Power Metal > All
Level: 81

Posts: 2540/3418
EXP: 4884196
For next: 108653

Since: 03-15-04
From: Yeah

Since last post: 15 hours
Last activity: 15 hours
Posted on 07-04-05 10:19 PM Link | Quote
$root can be found in config.php also.

I think I had this same problem months ago, just keep on doing trial and error and eventually you'll probably figure it out. I just can't remember what it was specifically.


(edited by Xeomega on 07-04-05 01:21 PM)
(edited by Xeomega on 07-04-05 01:22 PM)
(edited by Xeomega on 07-04-05 01:23 PM)
Stifu

Level: 28

Posts: 122/304
EXP: 129458
For next: 1880

Since: 03-16-04
From: Your mom's bed

Since last post: 18 hours
Last activity: 11 hours
Posted on 07-05-05 12:33 AM Link | Quote

Warning: main(): Unable to access /lib/dbinfo.php in /var/www/free.fr/c/8/stifu/1a2/lib/config.php on line 11

Warning: main(/lib/dbinfo.php): failed to open stream: No such file or directory in /var/www/free.fr/c/8/stifu/1a2/lib/config.php on line 11

Fatal error: main(): Failed opening required '/lib/dbinfo.php' (include_path='/var/www/free.fr/c/8/stifu/include:.') in /var/www/free.fr/c/8/stifu/1a2/lib/config.php on line 11

Looking at that...
It looks like it has a problem with that line in config.php:

require $root.'/lib/dbinfo.php';

As if the $root variable was empty, and so that it tried to open just '/lib/dbinfo.php' with nothing before it... So of course, it's not going to work. I may be wrong though.
Sandy53215
Acmlm (10:55:31 PM): they're having fun for the first time in so long
Level: 47

Posts: 759/948
EXP: 713034
For next: 53169

Since: 03-15-04
From: Milwaukee, Wisconsin (U.S.A)

Since last post: 1 day
Last activity: 4 hours
Posted on 07-05-05 02:22 AM Link | Quote
Try...


require 'lib/dbinfo.php';



(edited by Randy53215 on 07-04-05 05:23 PM)
(edited by Randy53215 on 07-04-05 05:23 PM)
Stifu

Level: 28

Posts: 123/304
EXP: 129458
For next: 1880

Since: 03-16-04
From: Your mom's bed

Since last post: 18 hours
Last activity: 11 hours
Posted on 07-05-05 01:25 PM Link | Quote
Originally posted by Randy53215
Try...


require 'lib/dbinfo.php';


I just did that. It seems to have fixed it, but then it showed other errors... For /lib/protector.php, which I fixed the same way, then it bitched about /lib/threadpost.php, etc... Just everywhere the $root variable is called, which is somewhat logical.

Then it ended up bitching about this line in colors.php: require "$root/schemes/$filename";
... I couldn't change it the same way as the other lines, obviously, so I tried:
require "../schemes/$filename";, but that didn't work.

Not sure how to redirect to the superior folder in PHP... Any idea ?
Elric

Chasupa


Currently Playing:
You Like A Lute.
Level: 40

Posts: 391/687
EXP: 440016
For next: 1293

Since: 03-15-04
From: Melniboné

Since last post: 6 hours
Last activity: 6 hours
Posted on 07-05-05 02:19 PM Link | Quote
This is just a (semi-)educated guess, since I've not installed v1.A2, but based on the way things seem to be set up in the previous posts, have you tried this:

require "schemes/$filename";

If that doesn't work, maybe input the full path to the schemes folder?
Stifu

Level: 28

Posts: 124/304
EXP: 129458
For next: 1880

Since: 03-16-04
From: Your mom's bed

Since last post: 18 hours
Last activity: 11 hours
Posted on 07-05-05 02:28 PM Link | Quote
Originally posted by Elric
This is just a (semi-)educated guess, since I've not installed v1.A2, but based on the way things seem to be set up in the previous posts, have you tried this:

require "schemes/$filename";

If that doesn't work, maybe input the full path to the schemes folder?

I didn't try require "schemes/$filename";, but I can tell it wouldn't work... Because it'll look into [board address]/lib/schemes/, while the schemes folder is at the root.
Putting the full address should work however, but I was looking for a cleaner way to do it.
SyntaxLegend

Double metal axe
Level: 25

Posts: 200/222
EXP: 78264
For next: 11356

Since: 04-21-04
From: Australia

Since last post: 20 days
Last activity: 10 hours
Posted on 07-05-05 03:31 PM Link | Quote
Originally posted by Stifu
Originally posted by Elric
This is just a (semi-)educated guess, since I've not installed v1.A2, but based on the way things seem to be set up in the previous posts, have you tried this:

require "schemes/$filename";

If that doesn't work, maybe input the full path to the schemes folder?

I didn't try require "schemes/$filename";, but I can tell it wouldn't work... Because it'll look into [board address]/lib/schemes/, while the schemes folder is at the root.
Putting the full address should work however, but I was looking for a cleaner way to do it.
actually, require "schemes/$filename"; would work. If your having trouble setting up this, then why are you positive this wont work? If your so sure this doesnt work, how come you need help on this subject?
Stifu

Level: 28

Posts: 125/304
EXP: 129458
For next: 1880

Since: 03-16-04
From: Your mom's bed

Since last post: 18 hours
Last activity: 11 hours
Posted on 07-05-05 04:51 PM Link | Quote
Just so you know, I didn't mean to be rude to him, I'm glad he was trying to help, but anyway...
I just tried it to make sure, and it didn't work... But I found out why.

I looked into the schemes folder and noticed there just isn't a default.php file in it...


(edited by Stifu on 07-05-05 07:52 AM)
Elric

Chasupa


Currently Playing:
You Like A Lute.
Level: 40

Posts: 392/687
EXP: 440016
For next: 1293

Since: 03-15-04
From: Melniboné

Since last post: 6 hours
Last activity: 6 hours
Posted on 07-06-05 01:53 AM Link | Quote
No default.php scheme? That's... odd...

I'll have to remember that when I upgrade...

And as for require "schemes/$filename";, I wasn't really expecting it to work. As I said, it was a (semi-)educated guess. I probably should have put require 'schemes/$filename'; instead, since the newer versions use the apostrophe instead of the quote for those kinds of things.

Oh well. I'm glad you got it working!
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Acmlmboard support? - Troubles installing v1.A2 | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.028 seconds.