Help installing Sendy
Hi,
I'm trying to install sendy but I'm stuck......
I'm running on Ubuntu 12.04 lts, LAMP is installed.
I've copied the sendy files to var/www/sendy
I created a database named sendy via phpmyadmin
I've edited includes/config.php, currently it looks like this.....(details changed obvs....)
<?php
//==================================================================================//
// Configuration
//==================================================================================//
//path to your Sendy installation (without the trailing slash)
define('APP_PATH', 'http://192.168.0.19/sendy');
//database connection credentials
$dbHost = '192.168.0.19'; //mySQL sendy
$dbUser = ''; //mySQL root
$dbPass = ''; //mySQL mypassword
$dbName = ''; //mySQL sendy
//domain of cookie (99.99% chance you don't need to edit this)
define('COOKIE_DOMAIN', '');
//==================================================================================//
?>
However when I browse to http://192.168.0.19/sendy I get a message saying "cannot connect to database."
I'm not sure if I should be connecting as root or if I also need to create tables in the sendy database.
Please help, I have very little experience with php,sql or apache.
Thanks.
I'm trying to install sendy but I'm stuck......
I'm running on Ubuntu 12.04 lts, LAMP is installed.
I've copied the sendy files to var/www/sendy
I created a database named sendy via phpmyadmin
I've edited includes/config.php, currently it looks like this.....(details changed obvs....)
<?php
//==================================================================================//
// Configuration
//==================================================================================//
//path to your Sendy installation (without the trailing slash)
define('APP_PATH', 'http://192.168.0.19/sendy');
//database connection credentials
$dbHost = '192.168.0.19'; //mySQL sendy
$dbUser = ''; //mySQL root
$dbPass = ''; //mySQL mypassword
$dbName = ''; //mySQL sendy
//domain of cookie (99.99% chance you don't need to edit this)
define('COOKIE_DOMAIN', '');
//==================================================================================//
?>
However when I browse to http://192.168.0.19/sendy I get a message saying "cannot connect to database."
I'm not sure if I should be connecting as root or if I also need to create tables in the sendy database.
Please help, I have very little experience with php,sql or apache.
Thanks.
This discussion has been closed.
Comments
<?php
//==================================================================================//
// Configuration
//==================================================================================//
//path to your Sendy installation (without the trailing slash)
define('APP_PATH', 'http://192.168.0.19/sendy');
//database connection credentials
$dbHost = '192.168.0.19'; //mySQL Hostname
$dbUser = 'root'; //mySQL Username
$dbPass = 'mypassword'; //mySQL Password
$dbName = 'sendy'; //mySQL Database Name
//domain of cookie (99.99% chance you don't need to edit this)
define('COOKIE_DOMAIN', '');
//==================================================================================//
?>
192.168.0.19/sendy
as your APP_PATH. You should use your domain name that you purchased Sendy for instead of the IP address.I managed to get it working... I ran the following script to test the connection to mysql :
<?php
mysql_connect("localhost", "root", "mypassword") or die(mysql_error());
echo "Connected to MySQL<br />";
mysql_select_db("sendy") or die(mysql_error());
echo "Connected to Database";
?>
It connected ok and the next time I browsed to http://192.168.0.19/sendy I got to the installation screen.
If I now change the app path to use the domain I registered with I get a 404 error. I assume I need to setup a local hosts entry to direct my domain to the local ip address? If so can I change the domain as I've given you our real world domain and I think it's going to cause problems.
Looks like I had my config.php wrong, I had the ip address listed instead of the domain I'd registered at purchase. So that's fixed, I can browse to the sendy install screen all server compatibility tests pass.
However when I enter my details nothing happens, the status bar says waiting for sendy but after a while all the fields go blank and I'm left on the install screen as if nothing happened.
I'm not sure about the email address and password, I don't remember settign up an account at purchase so I assume the email and password can be anything I chose at this stage?
Thanks.
Do you have access to error logs?
sendy.hgl.lan resolves correctly via our dns server.
Right now, your issue is 'not being able to install'. Are you running Sendy offline? If Sendy is not able to check your license, it's not going to be able to install.
If so can you please change it to hgluk.com, and I'll make sure it's accessible.
sorry for all the hassle.
I understand that during the install process the installer checks the registered domain, I assume it connects to a server of yours at this point. We have a proxy server on our network that requires authentication for outgoing connections, is there any facility for that within the installer?
I might try putting it on a broadband line just for the install, to get the proxy server out of the way.
Update: SMTP support is now available.