New link in the top of page "IRC Chat".
Register | Login
Views: 135540449
Main | Memberlist | Active users | Calendar | Last Posts | IRC Chat | Online users
Ranks | FAQ | XPW | Stats | Color Chart | Photo album
11-22-24 01:33 PM
0 users currently in Help & Suggestions.
Xeogaming Forums - Help & Suggestions - 1.92 and 1.a2 help
  
User name:
Password:
Reply:
 
Options: - -
UserPost
Zyphyr
Posts: 5/8
I have everything set up, How do I add new schemes/ranks

Also, I downloaded the Admin+. I uploaded it, but it's not working.


EDIT: I got the schemes and ranks down, but I still haven't figured out what to do about the Admin+ and where can I get the RPG hack for the profiles?
Kard Ayals
Posts: 2127/2915
hmmm...

try putting in "innocentbystanders.freehostia.com:3306". Assuming innocentbystanders.freehostia.com is your server name.

(basically, look at this link)
Zyphyr
Posts: 4/8
I tried that and it still gives me the error

Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/www/innocentbystanders.freehostia.com/lib/function.php on line 15
Kard Ayals
Posts: 2126/2915
The only thing I can see is that could be wrong is your host.



You don't need to touch anything in function.php, you just have to get your mysql host right. Since it's obviously not local host, you'll have to make sure it's in the form of "mysql.host.com" or whatever they have (it's gonna be a URL).
Zyphyr
Posts: 3/8
I did that and it still gives me the error:

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/www/innocentbystanders.freehostia.com/lib/function.php on line 15
VGFreak877
Posts: 218/274
As far as I know, you have to leave $localhost alone and add a user to your database.

For example:

//MySQL setup
$sqlhost="localhost"; (This shouldn't be touched.)
$sqluser=(Assign the database at least one user. Example: name_nihongo)
$sqlpass=(Assign that user a password. Example: 12345)
$dbname=(Assign the database a name. Example: name_forumtest)

You have to make sure to enable your user in the database or else it won't work.
Zyphyr
Posts: 2/8
It gives me the same error on both 1.92 and 1.A2. by replacing localhost, I mean i'm erasing it from lib/function and replacing it with my MySQL host because I read a thread on acmlm's board that said with freehostia you can't have localhost, you have to replace the code on line 15 with your MySQL host. And this is line 12 of 1.92(15 of 1.A2):

$sql=mysql_connect($sqlhost,USERname,PASS) or die('< body bgcolor=0 text=ffea>< font face=arial color=white>< br>< center>< b>Couldn\'t connect to MySQL server');

(I had to put a few spaces in there or the code wouldn't have showed up. This forum doesn't have code tags)


I've tried leaving $localhost on there, putting my MySQL host in there, i've put my password as NULL, dumped my MySQL database and made a new one to try and see if that worked Nothing's worked
Xeoman
Posts: 7026/11757
I'm really rusty on this, maybe DarkSlaya can help more than I can but ...

1. What exactly do you mean by replacing $localhost? You're not deleting that right?

2. My function.php is heavily edited, but what is on line 15? (if it's not confidential).

3. Above all, you've edited your config.php file correctly right?

Note: I'd recommend using 1.92 over the A series (which is what we based this board off of, well after awhile). The A series is heavily cluttered with tons of unfinished code and broken junk that doesn't function right, both have their loopholes though. But overall, 1.92 is more of a "package" I'd say.
Zyphyr
Posts: 1/8
Greetings, i've tried setting up an acmlm board with both version 1.92 and 1.A2. They both give me these 2 errors.

In lib/function when I replace $localhost with my MySQL host, it gives me this error

Warning: mysql_connect(): Unknown MySQL Server Host 'mysql4freehostiacom' (1) in /home/www/innocentbystanders.freehostia.com/lib/function.php on line 15

When I leave $localhost alone, it gives me this error

Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/www/innocentbystanders.freehostia.com/lib/function.php on line 15


On 1.92 I opened up my PhPadmin and installed the install.sql file and on 1.A2 I installed the dump.sql file. I'm sure i've done everything right and I can't figure out why it would be giving me this error. Can anybody help me with this problem?
Xeogaming Forums - Help & Suggestions - 1.92 and 1.a2 help



xeogaming.org

AcmlmBoard 1.92++ r4 Baseline
?2000-2013 Acmlm, Emuz, Blades, Xkeeper, DarkSlaya*, Lord Alexandor*
*Unofficial Updates
Page rendered in 0.110 seconds.
0.037