Sheer Desperation

Host reinstalled Dolphin 6.1.6. Host put the root files in a subdirectory. He did this because I wanted to access all the work I had previously done (developing site content). When I type the root domain with the subdirectory, I get "Database Connect failed" error. I have a backup but it's of the database only. Can I retreive the data? If so, how do I reinstall (if that's proper) the backup database?

Please help on this. I'm really desperate. This is my 4th retry with Dolphin. I'm about ready to throw in the towel. That'll be hard with this outstanding social network!

Thank you for the help.

Quote · 2 Jun 2009

ok try this, open    inc/header.inc.php

look for

$site['url'] = "http://www.yourdomainname.com";

change to

$site['url'] = "http://www.yourdomainname.com/subfolder";

and further down look for

$dir['root']               = "/****/****/public_html/";

and change to

$dir['root']               = "/****/****/public_html/subfolder/";

edit in the relevent places save and upload.

Smile

Quote · 2 Jun 2009

ok try this, open    inc/header.inc.php

look for

$site['url'] = "http://www.yourdomainname.com";

change to

$site['url'] = "http://www.yourdomainname.com/subfolder";

and further down look for

$dir['root']               = "/****/****/public_html/";

and change to

$dir['root']               = "/****/****/public_html/subfolder/";

edit in the relevent places save and upload.

Smile

Kosmic,

Thank you for answering!! Now I get a totally blank screen.

Just on a hunch, I went to phpMyAdmin and I do not see a database for this subdirectory. *sigh*

Any idea now what to do? Or should I just forget it and start over. I'd done SO much work. *almost in tears here*

**************Edit****

I still had in another window the MySQL database error:

Array
(
[1] => Array
(
[file] => /home/xxxxxxx/public_html/inc/modules.inc.php
[line] => 22
[args] => Array
(
[0] => /home/xxxxxx/public_html/inc/db.inc.php
)

[function] => require_once
)

[2] => Array
(
[file] => /home/xxxxxxx/public_html/inc/admin.inc.php
[line] => 23
[args] => Array
(
[0] => /home/xxxxxx/public_html/inc/modules.inc.php
)

[function] => require_once
)

[3] => Array
(
[file] => /home/xxxxxx/public_html/inc/design.inc.php
[line] => 22
[args] => Array
(
[0] => /home/xxxxx/public_html/inc/admin.inc.php
)

[function] => require_once
)

[4] => Array
(
[file] => /home/xxxx/public_html/old_dolphin/index.php
[line] => 77
[args] => Array
(
[0] => /home/xxxxx/public_html/inc/design.inc.php
)

[function] => require_once
)

)

Called script: /subdomain/index.php
Request parameters:

Array
(
[memberPassword] => cxxxxxxx
[memberID] => 1
[profile_polls_question_2] => 1
[strSec] => 06144a6709da37173c28f115d0f111e5
[ZP_CAL] => \'fdow\':null,\'history\':\"2009/06/05/02/43\",\'sortOrder\':\"asc\",\'hsize\':9
[__utmc] => 48707746
[__utma] => 48707746.4009929665672363000.1243747253.1243948534.1243956316.18
[__utmz] => 48707746.1243747253.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
[adminID] => xxxxxxx
[adminPassword] => 7xxxxxxxxxx
[lang] => en
)

Does this help?

Thank you! *smile*

Quote · 2 Jun 2009

ok these are they only two places in the script to change the paths, maybe i had a typo...try the first one again...this is slightly different with a trailing / at the end...

$site['url'] = "http://www.yourdomainname.com";

change to

$site['url'] = "http://www.yourdomainname.com/subfolder/";

Quote · 2 Jun 2009

You connection Error has to due with the SQL settings in the inc/header.inc.php file

Putting your site in a sub directory can feed off an existing DB which you created.

If you reinstalled Dolphin from scratch in sub directory that new header was created on a new sqlDB.

 

I'm guessing here a little... I don't have enough more then "my guy" did this

 

Hopefully you did NOT destroy your orginal sqlDB as it holds all your work :) Probably still sittin there, lonely, missing you :) All the files (Jpg,Mp3,Vids,etc) are located in the media/folders :)

Check you sqlDB in MyPHPAdmin :)

Quote · 3 Jun 2009

The "sub directory" or "root" has nothing at all to do with the database  ..... the database doesn't move  .....  
When you go to phpMyAdmin your original database should be there. If it is not your ISP deleted it or something.

Go to the /inc/header.inc.php file and check that the info is correct, save it back to the server and try again:

Adding to what kosmic told you  ..... 

Particular points to verify:
24  $site['url']               = "http://www.yourdomainname.com/subfolder/";
56  $dir['root']               = "/****/****/public_html/subfolder/";
87  $db['user']                = 'account_dolphinuser';
88  $db['passwd']              = '***********';
89  $db['db']                  = 'account_dolphindatabase';

If all correct there's nothing to do in this file. If not edit and save back to server.


Try again report back  ..... 

HTH

.

Quote · 3 Jun 2009

ok these are they only two places in the script to change the paths, maybe i had a typo...try the first one again...this is slightly different with a trailing / at the end...

$site['url'] = "http://www.yourdomainname.com";

change to

$site['url'] = "http://www.yourdomainname.com/subfolder/";

Kosmic,

The trailing / was one of the major culprits AND restoring the old database. I was able to get that done, thanks to DosHawg who has the patience of Job!

Thank YOU so very much. I finally feel like a Dolphin, other than a Miami Dolphin fan! (Florida's home) *big grin*

The site is UP and running! *happy dancing*

Quote · 3 Jun 2009

You connection Error has to due with the SQL settings in the inc/header.inc.php file

Putting your site in a sub directory can feed off an existing DB which you created.

If you reinstalled Dolphin from scratch in sub directory that new header was created on a new sqlDB.

I'm guessing here a little... I don't have enough more then "my guy" did this

Hopefully you did NOT destroy your orginal sqlDB as it holds all your work :) Probably still sittin there, lonely, missing you :) All the files (Jpg,Mp3,Vids,etc) are located in the media/folders :)

Check you sqlDB in MyPHPAdmin :)

Thanks, SombRIA, for responding. I had a copy of the database backed up on 5/31. Very little was lost. Somehow, the original database was not found in mypHpAdmin. The site's up and running now and I'm VERY happy! *big grin*

Quote · 3 Jun 2009

Yey good news!

Smile

Quote · 3 Jun 2009

The "sub directory" or "root" has nothing at all to do with the database  ..... the database doesn't move  .....  
When you go to phpMyAdmin your original database should be there. If it is not your ISP deleted it or something.

Go to the /inc/header.inc.php file and check that the info is correct, save it back to the server and try again:

Adding to what kosmic told you  ..... 

Particular points to verify:
24  $site['url']               = "http://www.yourdomainname.com/subfolder/";
56  $dir['root']               = "/****/****/public_html/subfolder/";
87  $db['user']                = 'account_dolphinuser';
88  $db['passwd']              = '***********';
89  $db['db']                  = 'account_dolphindatabase';

If all correct there's nothing to do in this file. If not edit and save back to server.


Try again report back  ..... 

HTH

.

HTH,

Those points well-taken as they were part of the major problem. My ISP must have deleted the orig database but fortunately I had a backup as recent as two days ago.

Thank you for your help. DosDawg was a tremendous help to get it all sorted as well.

*happy dancing*

Quote · 3 Jun 2009

The "sub directory" or "root" has nothing at all to do with the database  ..... the database doesn't move  .....  
When you go to phpMyAdmin your original database should be there. If it is not your ISP deleted it or something.

Go to the /inc/header.inc.php file and check that the info is correct, save it back to the server and try again:

Adding to what kosmic told you  ..... 

Particular points to verify:
24  $site['url']               = "http://www.yourdomainname.com/subfolder/";
56  $dir['root']               = "/****/****/public_html/subfolder/";
87  $db['user']                = 'account_dolphinuser';
88  $db['passwd']              = '***********';
89  $db['db']                  = 'account_dolphindatabase';

If all correct there's nothing to do in this file. If not edit and save back to server.


Try again report back  ..... 

HTH

.

HTH,

Those points well-taken as they were part of the major problem. My ISP must have deleted the orig database but fortunately I had a backup as recent as two days ago.

Thank you for your help. DosHawg was a tremendous help to get it all sorted as well.

*happy dancing*

Jhazzi,

DosDawg, hello, DosHawg sounds too much like that fat pudgy fella from Dukes of Hazard. :). yes you certainly received good help on here, i see these posts address each step that was taken to correct the problem.

Kosmic

Rumpy

Sombria

Good job to all, and much appreciated to see the assistance come to the rescue of a member who had clearly reached the end of her rope.

one think Jhazzi, in the future, even though this one got somebody's attention, a descriptive title for what you are looking for would have most likely proven beneficial. at any rate, glad your site is up and running.

Regards,

DosDawg

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 3 Jun 2009

Ooops, sorry DosDawg. I was overjoyed and goofed! Thanks for taking it in stride although, correcting me.

I humbly accept correction also on the title of this thread. I couldn't agree with you more on the help received. I was at my wits end and appreciate everyone's input. I couldn't have done it without all of you. Thank you for everything! Nothing was lost and all is well. *big silly grin*

Best regards,

Jhazzi

The "sub directory" or "root" has nothing at all to do with the database  ..... the database doesn't move  .....  
When you go to phpMyAdmin your original database should be there. If it is not your ISP deleted it or something.

Go to the /inc/header.inc.php file and check that the info is correct, save it back to the server and try again:

Adding to what kosmic told you  ..... 

Particular points to verify:
24  $site['url']               = "http://www.yourdomainname.com/subfolder/";
56  $dir['root']               = "/****/****/public_html/subfolder/";
87  $db['user']                = 'account_dolphinuser';
88  $db['passwd']              = '***********';
89  $db['db']                  = 'account_dolphindatabase';

If all correct there's nothing to do in this file. If not edit and save back to server.


Try again report back  ..... 

HTH

.

HTH,

Those points well-taken as they were part of the major problem. My ISP must have deleted the orig database but fortunately I had a backup as recent as two days ago.

Thank you for your help. DosHawg was a tremendous help to get it all sorted as well.

*happy dancing*

Jhazzi,

DosDawg, hello, DosHawg sounds too much like that fat pudgy fella from Dukes of Hazard. :). yes you certainly received good help on here, i see these posts address each step that was taken to correct the problem.

Kosmic

Rumpy

Sombria

Good job to all, and much appreciated to see the assistance come to the rescue of a member who had clearly reached the end of her rope.

one think Jhazzi, in the future, even though this one got somebody's attention, a descriptive title for what you are looking for would have most likely proven beneficial. at any rate, glad your site is up and running.

Regards,

DosDawg

Quote · 3 Jun 2009
 
 
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.