Trouble with fresh install

Support for IntegraMOD 141

Moderator: Integra Moderator

Trouble with fresh install

PostAuthor: Amarth » Fri Apr 20, 2007 5:17 pm

I did CMOD on the necessary files and ran install.php. I filled in the blanks and got this message:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'nimandir_amarth'@'localhost' (using password: YES) in /home/nimandir/public_html/forum/db/mysql4.php on line 54

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/nimandir/public_html/forum/db/mysql4.php on line 571

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/nimandir/public_html/forum/db/mysql4.php on line 572
phpBB : Critical Error

Could not connect to the database


This is what I filled into the blanks on the install page:

Default board language: English
Database Type: MySQL 4.x/5.x
Choose your installation method: Install

Database Server Hostname/DSN: localhost
Your Database Name: nimandir_forum
Database Username: nimandir_amarth
Database Password: **************
Prefix for tables in database: phpbb_

Admin Email Address: *********
Domain Name: imperialthrone.com
Server POrt: 80
Script Path: /forum/
Administrator Username: *********
Administrator password: *********

[*]Don't install Prillian
Last edited by Amarth on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Amarth
Members
Members
 
Posts: 32
Likes: 0 post
Liked in: 0 post
Joined: Fri Aug 04, 2006 9:28 pm
Cash on hand: 0.00

Re: Trouble with fresh install

PostAuthor: Amarth » Fri Apr 20, 2007 5:20 pm

Urg, asked too early, it was the localhost name. I had to use a different one listed on the MySQL database console.
Last edited by Amarth on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Amarth
Members
Members
 
Posts: 32
Likes: 0 post
Liked in: 0 post
Joined: Fri Aug 04, 2006 9:28 pm
Cash on hand: 0.00

Re: Trouble with fresh install

PostAuthor: Amarth » Fri Apr 20, 2007 5:31 pm

Er, got an error message I've never seen before. I just finished the install and deleted the install and Prillian install folders and I got this message:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1245184 bytes) in /home/nimandir/public_html/forum/profilcp/profilcp_privmsg.php on line 1492
Last edited by Amarth on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Amarth
Members
Members
 
Posts: 32
Likes: 0 post
Liked in: 0 post
Joined: Fri Aug 04, 2006 9:28 pm
Cash on hand: 0.00

Re: Trouble with fresh install

PostAuthor: Helter » Fri Apr 20, 2007 6:44 pm

do you have access to php.ini? if so find and increase the allowed amount of mem that a .script can use.

if not,

open your config.php

find

Code: Select all
define('PHPBB_INSTALLED', true);


after, add


Code: Select all
ini_set("memory_limit","32M");
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Trouble with fresh install

PostAuthor: Amarth » Fri Apr 20, 2007 6:48 pm

I think I may know the reason why I'm getting this new error I mentioned above. I did a search and found a reply to someone with a similar error and I went to edit the config.php file. When I went to edit it...there was nothing in it. I checked the filesize and it is just a blank file with nothing in it. I redownloaded the files and it still shows config.php filesize as "0b". I'm using 7-Zip if that matters.
Last edited by Amarth on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Amarth
Members
Members
 
Posts: 32
Likes: 0 post
Liked in: 0 post
Joined: Fri Aug 04, 2006 9:28 pm
Cash on hand: 0.00

Re: Trouble with fresh install

PostAuthor: Frost » Fri Apr 20, 2007 9:01 pm

Config.php is originally empty, it's populated by your board when you do an installation.

You have two options when installing

1. If config is chmod'd like it's supposed to be before you start the install, your board can/will write the necessary code for you and you shouldn't have to mess with it again.

2. If it is not chmod'd your board would have asked you to download the file yourself and upload it, or provide needed info to finish it.

So depending on what you are using as an ftp program (if any) there is a chance that when you looked at your config it showed empty because the program hadn't refreshed since the upload. This would make it appear to be empty and cause you to try reuploading a fresh one.

If you did that, then you will either have to make the config file yourself, or reinstall the whole thing.
I think if there were no config file to begin with, that memory error would have been the least of your worries. You wouldn't have even been able to connect to the site what-so-ever.

Related- HelterSkelter already told you what the second error you had meant. The error is because you ran out of memory and it needs to be raised. (You probably had the default of 8mb)
Last edited by Frost on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[size=99px]PhpBB3 Themes[/url] ]PhpBB3 Development Center[/url] [/size]

Frost
Sr Integra Member
Sr Integra Member
 
Posts: 776
Likes: 0 post
Liked in: 0 post
Joined: Wed Sep 13, 2006 2:04 am
Cash on hand: 0.00
Location: Photoshop CS3


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot], Majestic-12 [Bot]