Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
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 |
| ||
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 |
| ||
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 |
| ||
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 |
| ||
$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 |
| ||
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 |
| ||
Try...
(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 |
| ||
Originally posted by Randy53215 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 |
| ||
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 |
| ||
Originally posted by Elric 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 |
| ||
Originally posted by Stifuactually, 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?Originally posted by Elric |
|||
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 |
| ||
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 |
| ||
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 | | | |