new install, unable to connect

I have a fresh install. Ran through the install script without any problem. However once complete I'm unable to connect to the dolphin site. I've research for a couple hours and still no luck solving the problem. Sorry if this has been covered somewhere.

This is a development environment with other PHP websites. My other development site are working fine. Here are specifics on the environment.

PHP 5.2.11, MySQL 5.1.37, GD Library (no ImageMajick)

When I try to navigate to the site, I get "unable to connect". I've verified my general apache config is OK, because I can navigate to a html file (test.html) placed in the dolphin directory. Same hold true for a simply php file placed in the directory, info.php for example.  I believe the problem is the apache port. My dev environment is using port 8888 instead of port 80. If I use Safari as the web browse. I see the entered URL http://localhost:8888/dolphin get changed to http://localhost/dolphin.

I've checked the /inc/header.inc.php file and it contains $site['url'] = "http://localhost:8888/dolphin/";

Even tried renaming index.php to index_org.php and made a new index.php file that contained a phpinfo(). When I did that going to http://localhost:8888/dolphin worked but http://localhost:8888/dolphin/index_org.php failed. This leads me to believe it is the port.  I've got several other open source PHP projects (CakePHP & SugarCRM) loaded in this environment that work fine. CakePHP used mod_rewrite also. It is respecting my port definitions but D7 is not. I've also verified there is an .htaccess file in my dolphin directory.

Where can adjust the config so it runs on port 8888?

Thanks,

Tarun

Quote · 17 Apr 2010

The most common cause of this is incorrect DB Name & Password.  Especially if the unable to connect mentions that it's using the Password & the DB User name & so on.

 

You need to put it in like this:

 

database name:         user_name

For example:  if your logged in as tom on your cpanel when you created the DB and name it joe then it would be:

tom_joe

as the database name.

Next, let's say your logged into Cpanel again as tom and you created the user for the DB and name it greg.

Then the DB username would be:

tom_greg

Password is just the password.  Hope this helps out, as I've seen many have the problem when they're new to Dolphin.

Quote · 17 Apr 2010

Try this.

inc/header.inc.php at line 118

//check correct hostname
$aUrl = parse_url( $site['url'] );
if( isset($_SERVER['HTTP_HOST']) and 0 != strcasecmp($_SERVER['HTTP_HOST'], $aUrl['host']) and 0 != strcasecmp($_SERVER['HTTP_HOST'], $aUrl['host'] . ':80') )
{
header( "Location:http://{$aUrl['host']}{$_SERVER['REQUEST_URI']}" );
exit;
}


Change the :80 in that line to your actual port. See if that helps.

https://www.deanbassett.com
Quote · 17 Apr 2010

Deano... How about checking your PM's... I would really really appreciate it. 

Quote · 17 Apr 2010

Deano, Thanks! That fixed it.

FYI guys, this is the fix for the people stating D7 isn't working on MAMP. MAMP uses 8888 by default.

Quote · 17 Apr 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.