dotSilver Dating Partnership Network
Partner Home - Partner Sign-Up - Software - FAQ
Forum: Forums - Reply - Registration - Search

dotSilver Network Partner Support Forum / Dating Software Technical Support / Trying to install
Author Message
liammpease
Member

Posted: 16 Feb 2006 17:34:46


When i have uploaded the software to the server all i am getting is Error: You must set your correct database access info in `inc/header.inc.php`.

Can any one help?

.silver
Admin

Posted: 16 Feb 2006 21:24:15


You need to fill out four fields in "inc/header.inc.php" file. Create the database and fill out this file with the attributes from your database.

Read site set up manual, please.

liammpease
Member

Posted: 17 Feb 2006 06:58:28 - Edited by: liammpease


I had done that and it still said that. And this is my server info:

Server name srv1
WWW directory /home/liammp/public_html
Root directory /home/liammp
Path to PERL /usr/bin/perl
Perl modules Click to view
Path to sendmail /usr/sbin/sendmail
Apache version 1.3.33 (Unix)
MySQL version 4.0.25-standard
PostgreSQL version 7.3.10-RH
PHP version 4.3.11
PHP info Click to view
PERL version 5.8.6
Kernel version 2.6.11.7.dn4.64
Machine Type i686
cPanel version 10.8.1-RELEASE-113
cPanel Pro Version 1.0 (RC36)

raybman
Member

Posted: 17 Feb 2006 08:52:36


Make sure you maintained the file structure when you uploaded the site to your server.

According to your server info this is your root path:
/home/liammp/public_html

If you installed it in a subdirectory it might be something like this:
/home/liammp/public_html/datingsite


Either way, make sure all folders and files are uploaded relative to the directory folder in which it was uploaded into, and the path in the configs should have the same path.

liammpease
Member

Posted: 17 Feb 2006 15:04:40


yes that is the way i have done it.

Anonymous


Posted: 18 Feb 2006 04:29:01


Still not working. Can some one please help?

raybman
Member

Posted: 18 Feb 2006 10:45:37 - Edited by: raybman


There is a database problem, one or all of these are incorrect: username, password, database name, and maybe the priviledges setting for the username.

Keep in mind the password and names are case-sensitive.

liammpease
Member

Posted: 19 Feb 2006 06:47:06


Have have checked it 3 times and its still not working.

.silver
Admin

Posted: 20 Feb 2006 03:05:05


Could you give us the URL?

Dawn


Posted: 18 Apr 2006 23:44:26


I can not figure out where or how to get to MySqL to upload anything

reval8r


Posted: 20 Apr 2006 14:30:24


Dawn,
The header.inc.php is located in the inc directory. In a Cpanel enviroment the front of the header.inc.php file will look something like this...

<?php

// MySql database configuration

$db = array(
'host' => 'localhost' // MySql database host,
'user' => 'liammp_yourusername' // MySql database user name,
'pass' => 'mypassword' // MySql database user password,
'name' => 'liammp_databasename' // MySql database name

);

Also double check you mysql database in Cpanel and make sure you assigned a user to the database you created for dotsilver.

Hopefully this will help.

reval8r


Posted: 20 Apr 2006 14:39:05


I'm sorry I forgot to answer the rest of your question. To upload to your mysql you will need to go to phpMyAdmin from cpanel. In your the dotsilver database you need to click on the SQL button and at the bottom click the browse button and put the path to the database_dump.sql file in the main directory you installed for dotsilver. Click the go button and it should install at the databases for you. All of this should have been automatically during the install process.

Larry

Anonymous


Posted: 7 May 2006 22:04:03


sometimes in cPanel if you call the database say "dating" for example , it will automatically combine your username example "lisa" or partof with it .

So instead of being database name = dating , it becomes database name = " lisa_dating "

same as the username you choose , you might actually type in dating as a username for a database in the MySql fields area but it actually becomes database name = " lisa_dating "


if u check to make sure that in MYSQL you gave ALL PRIVILAGES to the user for the database and that the password is correct and in the right case then you should be ok to go.


If all this fails still , then please post us a copy of your header.inc file contents right here so we can see if there is anything that may have been missed .

It might also be a good idea to post the address to where this site is located , does it belong in a sub domain etc ?

Sometimes it can be something as minor as wrong password , a comma missing , a dot missing a letter missing and you just cant see it cause youve stared at it too long LOL

hope that helps ;-)





[b][/b]

Newbie!


Posted: 13 May 2006 03:02:41


Hi, I first got an error message:


Parse error: parse error, unexpected ',' in /home/www/myDomainName.com/inc/header.inc.php on line 6

This message is appearing online - I have no idea why it shows up as "/home/www/"

Is there something else which needs to be changed somewhere in the header.inc.php?

There were no instructions that I could find requesting the changes be made to the header.inc.php - I managed to change it to what I think are the right settings::

<?php // MySql database configuration $db = array( 'host' => 'myservername.com' // MySql database host
, 'user' => 'myUserName' // MySql database user name
, 'pass' => 'myPasswd' // MySql database user password
, 'name' => 'myDbaseName' // MySql database name
); // MySql database configuration END //

Any help greatly appreciated!!

.silver
Admin

Posted: 30 May 2006 10:49:12


You seem to have your site home directory set wrong in configs.php

Ask your hosting to know exactly what your home directory is.

Forum posts are closed
 » Name  » Password 
 


Powered by miniBB 2.0 RC2b © 2001-2009