(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
05-03-24 11:05 AM
0 users currently in Programming.
Acmlm's Board - I3 Archive - Programming - AB 1.A2 setup problems New poll | |
Add to favorites | Next newer thread | Next older thread
User Post
BooUrns

Buster Beetle








Since: 05-07-06
From: The CS

Last post: 6285 days
Last view: 6285 days
Posted on 12-19-06 08:46 AM Link | Quote
So I decided to set up my own board so I could experiment with some of the code and see what everything does (I am very unfamiliar with PHP). But, I cannot get it set up.

I copied all the files to myname.awardspace.com. Then I tried running setup.php, but I got the following error:

Warning: main(/lib/dbinfo.php): failed to open stream: No such file or directory in /home/www/myname.awardspace.com/lib/config.php on line 12

Fatal error: main(): Failed opening required '/lib/dbinfo.php' (include_path='.:/usr/local/php4/share/pear') in /home/www/myname.awardspace.com/lib/config.php on line 12

I'm not sure what is going on, becase the file http://myname.awardspace.com/lib/dbinfo.php exists. Any ideas?
darkwitch

Red Cheep-cheep


 





Since: 10-16-06
From: Puerto Rico

Last post: 6283 days
Last view: 6283 days
Posted on 12-19-06 09:54 AM Link | Quote
Wierd, I think it has to do with the root path of 1.A2, I think the path can be found on lib/function.php near the start. The line has a comment like: // fix this ||bass

Not sure as I haven't used 1.A2 much...

Just change the root path to your server's path and it should work.
If thats not the problem then sorry but I have no idea what the problem could be.
BooUrns

Buster Beetle








Since: 05-07-06
From: The CS

Last post: 6285 days
Last view: 6285 days
Posted on 12-19-06 06:51 PM Link | Quote
Well, I edited the config.php file and added the line

$root = "/home/www/myname.awardspace.com";

Now it works... but only in lololol. For example, in lololol, the "Main" link takes me to http://myname.awardspace.com/index.php. But in IE, the "Main" link tries to take me to http:///index.php, causing an error. What is going on?


Then, I tried using AB 1.92, and it works fine. So unless someone has a solution to my earlier problem, I'll just stick with 1.92, since all I'll be doing anyway is screwing around with the code.
darkwitch

Red Cheep-cheep


 





Since: 10-16-06
From: Puerto Rico

Last post: 6283 days
Last view: 6283 days
Posted on 12-20-06 02:50 PM Link | Quote
Use 1.92. 1.92 is more secure than 1.A2, and doesn't has the problem with the root path thingy. Also, I would like to see your site, as I dont think its myname.awardspace.net..... I might be able to help you with some things...
DarkSlaya

930
Gamma Ray








Since: 11-17-05
From: Montreal, Canada

Last post: 6284 days
Last view: 6283 days
Posted on 12-20-06 04:32 PM Link | Quote
Seriously, use 1.92.

Or if you really want to use 1.A2, I believe there's something about the url in the database (boardconfig or something, search for it in PMA)
Randy53215

Melon Bug


 





Since: 11-17-05
From: Greenfield, Wisconsin (U.S.A)

Last post: 6284 days
Last view: 6283 days
Skype
Posted on 12-25-06 01:45 AM Link | Quote
Yeah Darkslaya you are right it is in Boardconfig.
Add to favorites | Next newer thread | Next older thread
Acmlm's Board - I3 Archive - Programming - AB 1.A2 setup problems |


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.028 seconds; used 372.41 kB (max 447.67 kB)