htaccess \index php help

I am having an issue with the address on my newly installed community.

I have a records (host) pointing to my server IP.

I have the folder set up as a subdomain.

I am unable to access the website via outdoorsonline.forhuntersbyhunters.com

I can however acces via: forhuntersbyhunters.com/outdoorsonline

My host tells me that this is an htaccess issue that needs redirected. 

Can anyone guide me in the correct direction to get the site visible as subdomain?

Please advide adn thanks!

Quote · 16 Jan 2012

I have no problem accessing via outdoorsonline.forhuntersbyhunters.com

It however redirects to forhuntersbyhunters.com which indicates the subdomain part is missing from the url in inc\header.inc.php

If you cannot access it via outdoorsonline.forhuntersbyhunters.com if the subdomain entry is a new DNS entry it may need time to propagate. I however did not have a problem getting to the url with the subdomain. It worked fine.


https://www.deanbassett.com
Quote · 16 Jan 2012

 

I have no problem accessing via outdoorsonline.forhuntersbyhunters.com

It however redirects to forhuntersbyhunters.com which indicates the subdomain part is missing from the url in inc\header.inc.php

If you cannot access it via outdoorsonline.forhuntersbyhunters.com if the subdomain entry is a new DNS entry it may need time to propagate. I however did not have a problem getting to the url with the subdomain. It worked fine.

 $site['ver']               = '7.0';

$site['build']             = '8';

$site['url']               = "http://forhuntersbyhunters.com/outdoorsonline";

$admin_dir                 = "administration";

$iAdminPage= 0;

$site['url_admin']         = "{$site['url']}$admin_dir/";

Thank you for your quick response.

I opended the header and the only FIND I could match was 

If I change the site url (I assume this is a database issue) I can go to outdoorsonline.forhuntersbyhunters.com but I have a white screen with links. I assume that the site url is wrong in the database?

Right now it is forwarding to my wordpress blog forhuntersbyhunters.com in the root.

Any ideas? I couldnt find any reference to forhuntersbyhunters.com wiith a missing subdomain.

Quote · 17 Jan 2012

No. That would be caused by the dolphin caching.

Turn off all of dolphins caching options. Then clear the cache. Then change the header file. Do not turn caching back on until issue is resolved.

https://www.deanbassett.com
Quote · 17 Jan 2012

So should I change the site url to:

outdoorsonline.forhuntersbyhunters.com

from forhuntersbyhunters.com/onlineoutdoors ?

I know of only one caching option in Dolphin in the ACP- Are there more?

Oh, boy- I am unable now to see the menu (and am not fmiliar with it enough to find the cache option in ACP)

Is there a easy way to get the site to render?

Quote · 17 Jan 2012

 Stress,,,ahah!

Any of the links I click redirect to the main domain- so I am unable to change any options. This is really strange. What to do?

So should I change the site url to:

outdoorsonline.forhuntersbyhunters.com

from forhuntersbyhunters.com/onlineoutdoors ?

I know of only one caching option in Dolphin in the ACP- Are there more?

Oh, boy- I am unable now to see the menu (and am not fmiliar with it enough to find the cache option in ACP)

Is there a easy way to get the site to render?

 

Quote · 17 Jan 2012

Yes. You change it to the url you want it to be which is http://outdoorsonline.forhuntersbyhunters.com

Yes, there are many caching options in dolphin.

In admin->Settings->Advanced Settings->Other

Enable DB cache: and Enable page blocks cache:

Then in admin->Settings->Advanced Settings->Template

Enable cache for HTML files:
Enable cache for CSS files:
Enable cache for JS files:
Enable compression for JS/CSS files(cache should be enabled):

All of them off.

Then on the admin dashboard click ALL in the clear cache section.

If that does not work. Then after the change to header.inc.php just clear the cache manually. You do that by removing all files in the cache folder except for the .htaccess file. That way you don't have to touch the caching options.


https://www.deanbassett.com
Quote · 17 Jan 2012

Dr. Deano!

You DA MAN! 

Thank you!

I am sure I will be a regular here and will be asking for assistance- hopefully someday I will know enough to help out- but again, I really appreciate the assistance!

If you are in zip (92964) it must be nice!

It actually corrected the problem right after I did another manual cache removal\cleaning- I never got to disabling the default cache setttings, so I will just leave 'em alone! Thanks again!

Quote · 17 Jan 2012

No. That is not my zip code. It's my DOB

My zip is 01340. Cold, snow tonight, changing to freezing rain then rain tomorrow. Sloppy, icy and miserable.

https://www.deanbassett.com
Quote · 17 Jan 2012

same here, Ice, freezing rain and hints of snow- the ground is a sheet of ice...bummer...keep warm bro!

Quote · 17 Jan 2012

Uh , Huston, we have a problem...

Ok- now I realized that my page links (most but not all) are now defaulting to the main page vs. thier respective links.

I can go into page builder and preview a block I made and copy the address but when it opens, it displays the main page from the page builder screen (Home).

THis wasn't the case before I changed the address in the header file.

Is there something else I need to update?

Quote · 17 Jan 2012

Provide a URL where this problem exists.

The change you made should change everything. It's standard procedure.

You may have to clear the cache_public and tmp folders also. And clear your browsers cache as well.

I am not seeing anything wrong. But it is taking me a while to go through your links. The site is slower than molasses in January.




https://www.deanbassett.com
Quote · 17 Jan 2012

Ok. Found a possible problem with the photos. The HTMLpurifier cache is also messed up. Follow this procedure.

Go to the following folder on your server.

plugins\htmlpurifier\standalone\HTMLPurifier\DefinitionCache\Serializer

In that folder you will see 4 other folders.

CSS
HTML
Test
URI

Make sure all of those folders are writable. Mode 777

Then go into each of those 4 folders and delete any files found in them.

Then empty your dolphin cache again and see if that corrects anything.

https://www.deanbassett.com
Quote · 17 Jan 2012

Cleared 2 tmp folders cache 

Cleared Cache\public cache

Cleared browser cache

Example links:

http://outdoorsonline.forhuntersbyhunters.com/page/704Outdoors

http://outdoorsonline.forhuntersbyhunters.com/page/foranglersbyanglers

http://outdoorsonline.forhuntersbyhunters.com/m/sites/browse/admin

Quote · 17 Jan 2012

Read my last post. I think you missed it.

https://www.deanbassett.com
Quote · 17 Jan 2012

 

Ok. Found a possible problem with the photos. The HTMLpurifier cache is also messed up. Follow this procedure.

Go to the following folder on your server.

plugins\htmlpurifier\standalone\HTMLPurifier\DefinitionCache\Serializer

In that folder you will see 4 other folders.

CSS
HTML
Test
URI

Make sure all of those folders are writable. Mode 777

Then go into each of those 4 folders and delete any files found in them.

Then empty your dolphin cache again and see if that corrects anything.

 No Luck with this Kimosabe...

I changed permissions, deleted cache and public cache \browser and clicked on admin sites...no-go.

Quote · 17 Jan 2012

There is more to that then just changing permissions. Did you also clear the files within those 4 folders.

And also. Shut off all of dolphins caching for now. It's just making this problem more difficult to solve.

https://www.deanbassett.com
Quote · 17 Jan 2012

I am also closing up shop for the night. So i will not be back until morning. Perhaps there are some night owls here that can continue resolving this.

https://www.deanbassett.com
Quote · 17 Jan 2012

Alright...

I did clear out the 4 files (there was only 1 file in 1 folder)

I also had only the first 2 cache boxes enabled- the others were not checked (now none are enabled- all unchecked)

If there aren't any night owls, I'll be around in the am...thanks again.

Quote · 17 Jan 2012

Last suggestion and i am out for the night.

It seems like all of the problem links are links that are suppose to be rewritten by the htaccess file.

Have you made or attempted to make any changes to the .htaccess file?

Try restoring a copy of the .htaccess file from the origional dolphin zip file.

This is totally strange. I have never seen anything like this happen before.

https://www.deanbassett.com
Quote · 17 Jan 2012

Ok, I reinstalled to the root  subdomain folder (/onlineoutdoors) (this isn't in the root but subdomain in root but in main folder (ie: forhuntersbyhunters.onlineoutdoors - as I am sure you can gather witht he url's) .htaccess

Nope, I never modified the htaccess ffile.

Ok, Did that - nothing changed...

Seems like I am in area 51 maybe!

Quote · 17 Jan 2012

Strange- now recetnly added sites and public photos don't appear now...

Public photos are avatars but the avatars show u for profiles)...

WHat the hey!

Quote · 17 Jan 2012

Deano, you awake? Frost bitten?

It is just the recently added sites pictures- the sites are there.

Quote · 17 Jan 2012

I have no idea what is causing this. I tried to replicate it at my end, and could not reproduce that problem.

I am out of ideas. Perhaps DosDawg or dolphin_jay both members here might have a clue. I think both of them do this kind of site url changes all the time.

https://www.deanbassett.com
Quote · 17 Jan 2012

I sent messages to both. Hopfully someone can come up with a solution.

https://www.deanbassett.com
Quote · 17 Jan 2012

 DosDawg was right on it...

Seems like getting rid of Godaddy was the solution....

I sent messages to both. Hopfully someone can come up with a solution.

 Dawg uploaded it locally and the problems were gone.

Now Dosdawg has a new customer. I read that Godaddy could be the cause of these "Area51" problems, now I have seen it first hand with less than 48 hours into Dolphin.

Thank you for such awesome support. I think I am going to have fun with Dolphin

 

Quote · 18 Jan 2012
 
 
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.