CodeConnect.Net Beta


   Explore    Entry   Register  Login  
windowsxp-general
access
windows-vista-mail
windows-vista-general
windowsupdate
windowsmedia-player
access-forms
windows-live-mail-desktop
windowsxp-help_and_support
access-queries
access-modulesdaovba
access-formscoding
windows-server-sbs
windows-server-general
access-reports
windows-vista-music_pictures_video
windowsce-platbuilder
windows-live-messenger
windows-terminal_services
windows-powershell
windows-server-active_directory
access-gettingstarted
windows-mediacenter
windowsxp-hardware
windowsxp-network_web
windows-64bit-general
windows-live-sync
windows-vista-hardware_devices
windows-inetexplorer-ie6_outlookexpress
windows-group_policy
windows-server-networking
windows-vista-installation_setup
windows-vista-networking_sharing
windowsxp-basics
access-tablesdbdesign
windowsxp-perform_maintain
windows-vista-performance_maintenance
windows-networking-wireless
windows-vista-file_management
windows-inetexplorer-ie6-browser
windows-server-dns
windows-server-update_services
windows-vista-security
windows-vista-administration_accounts_passwords
windows-vista-games
windows-file_system
windows-live-foldershare
windows-live-photogallery




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > starter_kits_and_source_projects.community_starter_kit Tags:
Item Type: Date Entered: 8/8/2003 6:48:16 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
9.00
XPoints: N/A Replies: 13 Views: 123 Favorited: 0 Favorite
14 Items, 1 Pages 1 |< << Go >> >|
"para7" <>
NewsGroup User
Suddently: "No community is configured for localhost. "8/8/2003 6:48:16 PM

1

I was doing some layout in Themes\Default\Skins\PageSkins and Themes\Default\Styles.
Then I refreshed the page and this is what i got:
"
No community is configured for localhost.

If this is the first page that you see after installation, then installation has failed. Here are some things to check:
The Community Starter Kit must be installed within its own virtual directory
Open the Internet Services Manager from Start, Settings, Control Panel, Administrative Tools, Internet Services Manager and confirm that there is a virtual directory configured for /gocms.dk/Default.aspx.


A community must be configured for the domain localhost
Click here to configure a community for localhost with the ISP Admin page.
Finally, if all else fails, rerun the Community Starter Kit Setup Wizard located at Start, Programs, ASP.NET Starter Kits, Community Starter Kit, Community Starter Kit Setup Wizard.
"

I have restarted my computer and remote site looks fine. I checked what the message told me to check.

Does anyone have any ideas?
I have installed a CSK in a directory: E:\Dokumens\Sites\goCMS\gocms.dk
Jørgen A.J.

"para7" <>
NewsGroup User
Re: Suddently: "No community is configured for localhost. "8/9/2003 12:45:37 PM

0

I tried to make an extra virtual directory pointing to the same CSK folder, but it didn't work.

SCK is useless locally.

Haven't anyone else experienced anything like this?


Jørgen A.J.

"wex" <>
NewsGroup User
Re: Suddently: "No community is configured for localhost. "8/9/2003 1:17:58 PM

0

You have some issue with community settings in database.

Check in your database in table Community_Communities, there must be at least one row (for one community). If you have data in that table, go to IspAdmin pages (communityroot/IspAdmin), log-in, and edit properties of your community like this:
Primary Domain = could be anything, if you have page on localhost, set this to 'localhost'
Community Domain = this is very important and must be set properly. eg. if url to your web is http://somepage.com, then value of this field will be sompage.com. If you have only one community, you can set this to *.
Community Subdomain = set to *.

Other settings aren't important for your issue.
Toxiclab.org -> Webmasters community
"para7" <>
NewsGroup User
Re: Suddently: &quot;No community is configured for localhost. &quot;8/9/2003 3:39:35 PM

0

Thanks for the tips.
But everything seems right.

My main community:
Community Name: goCMS
Primary Domain: gocms.dk
Community Domain: gocms.dk
Community Subdomain: *

I renamed the folder Gommunity1 to goCMS. I have a custom control there.
I tried making the Gommunity1 folder again, but that didn't help either.
Jørgen A.J.

"RRidge" <>
NewsGroup User
Re: Suddently: &quot;No community is configured for localhost. &quot;8/9/2003 4:27:21 PM

0

You could change the community domain from gocms.dk to * or you could set your hosts file locally such that gocms.dk points to 127.0.0.1.
"wex" <>
NewsGroup User
Re: Suddently: &quot;No community is configured for localhost. &quot;8/9/2003 6:50:42 PM

0

Yes, but if your page is on computer from where you accessing it (localhost), then that walues are not true:
Community Name: goCMS
Primary Domain: localhost
Community Domain: *
Community Subdomain: *

Then it will work (I think)
Toxiclab.org -> Webmasters community
"para7" <>
NewsGroup User
Re: Suddently: &quot;No community is configured for localhost. &quot;8/10/2003 7:39:12 AM

0

RRidge:
Where can I find the "hostfile"?
Sorry, but I'm quite new to this.
Jørgen A.J.

"para7" <>
NewsGroup User
Re: Suddently: &amp;amp;amp;amp;amp;amp;amp;quot;No community is configured for localhost. &amp;amp;amp;amp;amp;amp;amp;quot;8/10/2003 7:55:10 AM

0

Thanks for the tips, but the situation is not so good.

Here is what I just did:

I sat the Community Domain to * locally and it ran, but without displaying the different background images, that I show from the uploaded images.

What puzzels me is that I thought the ispAdmin was set entirely in the database. But it had no effect on remote ispAdmin, when I looked there. (xml files?)

I tried to set it the same way remote and uploaded the same skin file. And now:
I also lost the background images remote and no subdomains are working!.

I sat it up remote like before and kept the Community Domain to * locally:
No background images and no subdomains are working!

I sat it up local ispAdmin like remote ispAdmin:
No background images and no subdomains are working (and of cause no local CSK)!

I created domain aliases im my hosts control panel for gocms.dk and now the subdomains work.

Ok for domains and subdomains.
Not OK for background images in background and tables yet.

I have called some of the background images from the .css file, but what again puzzels me is, that not all images is possible to display from .css for example background-image: url(background.jpg). And I'm talking about the uploaded ones.

Can somone help clear up some of the mystery of adding background images from the uploaded images.

And can someone tell me how to find the <body> of the skin file?
I have looked at the source of the page. It says:
"
<body marginheight="0" marginwidth="0" leftmargin="0" rightmargin="0" class="pageBody">
"
I have searched the site and code behind for the name "pageBody", but could not find it.

Is the CSK really that inconsistant?
I'm glad I chose CSK as a developement platform, but it has been a bit of a struggle to make things work and i would not reccommend the CSK to someone not really into setting things up. I would reccommend phpNuke.
Now it seems I can not just count on, that the CSK will continue to work, when I have made my sites. Or maybe I just need more experience...


Jørgen A.J.

"wex" <>
NewsGroup User
Re: Suddently: &amp;amp;amp;amp;amp;amp;quot;No community is configured for localhost. &amp;amp;amp;amp;amp;amp;quot;8/10/2003 9:45:25 AM

0

Do you use one sql server for both sites, or you have separate server for each one?
I really don't know what you could try next, except manualy checking your database (that everything is in order) and comparing both sql databases that they are the same.
Toxiclab.org -> Webmasters community
"wex" <>
NewsGroup User
Re: Suddently: &amp;amp;amp;amp;amp;amp;quot;No community is configured for localhost. &amp;amp;amp;amp;amp;amp;quot;8/10/2003 9:46:18 AM

0

One more thing;
write here all values from IspAdmin page.
Toxiclab.org -> Webmasters community
"para7" <>
NewsGroup User
Re: Suddently: &amp;amp;amp;amp;amp;amp;amp;amp;quot;No community is configured for localhost. &amp;amp;amp;amp;amp;amp;amp;amp;quot;8/10/2003 9:59:45 AM

0

Thanks wex.
Yes that is an important thing. I only use one database and it is the remote.

It looks like this now. And I can go on with this, if i can get my background images to show again:

My main community locally:
Community Name: goCMS
Primary Domain: gocms.dk
Community Domain: *
Community Subdomain: *

My main community remote:
Community Name: goCMS
Primary Domain: gocms.dk
Community Domain: gocms.dk
Community Subdomain: *

I have edited my previous post in the meantime. You may have to check it.

I would appreciate a little help getting my background images to show.

Jørgen A.J.

"wex" <>
NewsGroup User
Re: Suddently: &amp;amp;amp;amp;amp;amp;amp;amp;quot;No community is configured for localhost. &amp;amp;amp;amp;amp;amp;amp;amp;quot;8/10/2003 11:54:56 AM

0

Ok here it is,

I don't understand this, do you have two communities in database or yust one?
If you have one do this, if not go to STEP 2.

STEP 1:
First of all, create another community in your database.
That should be your local community (on your comp.)
Set values like this:
Community Name: goCMSLocal (can enter something else, as long as it is different from 1. community)
Primary Domain: localhost
Community Domain: *
Community Subdomain: *
Other values don't matter.


STEP 2:
Concerning problem with you bg images - you can't point to images in database from .css file.
Css file always search for files in file system or url, but not from database.
If you set this declaration in css:
background-image: url(background.jpg)
then file background.jpg from file system will be used, an you can't do anything about it.
Only solution is to place file background.jpg in directory where your css file is located (or somwhere else, but you must point to that file in css declaration).

STEP 3:
body tag of ALL files in CSK is created dinamicaly from code files.
That line of code is located in 'communityDefault' class.
File is named 'communityDefault.aspx' or 'communityDefault.aspx.vb' and is located in root of your CSK.
Search for this line:
objBuilder.Append(vbLf + "</head>" + vbLf + "<body marginheight=""0"" marginwidth=""0"" leftmargin=""0"" rightmargin=""0"" class=""pageBody"">" + vbLf)

pageBody is css class and it is not declared anywhere in CSK, you must enter it manualy in css file. Try to enter something like this in css file that your community uses and you will see what i'm talking about:

..pageBody
{
background-color: Red;
}


Hope that helps.
Toxiclab.org -> Webmasters community
"para7" <>
NewsGroup User
Re: Suddently: &amp;amp;amp;amp;amp;amp;amp;amp;quot;No community is configured for localhost. &amp;amp;amp;amp;amp;amp;amp;amp;quot;8/10/2003 2:25:59 PM

0

Many thanks again wex. Now everything seem to fall in place.

At the moment I have:
A CSK locally and remotely, exactly the same files looking at the same database remote.
The main domain is gocms.dk
The second domain 7d.dk is pointing at hte CSK.
Some subdomain communities; a test, a demo and an other company.

Only difference is, that I have Community Domain: * in the local CSKand Community Domain: gocms on the remote.
But i DON'T understand why I can have theese two configurations. One locally and another remote. I find no .xml fil for that.

I added background=""behind-background.gif"" to communityDefault.aspx.vb. And it is working fine. Thanks for that tip.

If you would like to se the site and tell me what you think, here it is gocms.dk

Jørgen
Jørgen A.J.

"wex" <>
NewsGroup User
Re: Suddently: &amp;amp;amp;amp;amp;amp;amp;amp;quot;No community is configured for localhost. &amp;amp;amp;amp;amp;amp;amp;amp;quot;8/10/2003 3:15:46 PM

0

You can have as many communities as you like, in yust one database.
That's because csk performs partitioning of data in database based on community id.
Your first community probably have id value 1 and second id value 2, so when you access some posts, downloads, books etc., csk only takes those that have community_id value 1 or 2 depending of current community.
There is no xml files.
Check Community_Communities table in your database and you will se that there is more than one record; one for each community.

Next, I think that is easier to add pageBody class in your css rather than putting background image value inside code. That way you can easily change complete style of your page, not yust background image.
Toxiclab.org -> Webmasters community
14 Items, 1 Pages 1 |< << Go >> >|







Similar:

separate app in virtual directory

problems with the images.

site renovation

where is community_namedpages and community_page ?

commerce add on for community

can't load community kit (vbvs)

font size and style on bottom menu bar

help on how to link .resx file to assembly (freetexthtml mod) without vs

i was going to develop an site for a church using the portal...

question about the menu navigation

new to building forums

form posting error

assist on understanding how skins are pulled..

display user name

just time or date portion of date/time field: somebody pls

2 websites

asp.net community starter kit installation problems

modify user information / user profile

csk future and competitors

borders around links

signature file

adding third party controls...

section images

who is online & statistics for cskdotnet 1.1

error getting a website running on a hosted site.

help with article section

parentpage mod...

has something important disappeared from the community starter kit?

how to open community starter kit in vs.net for vb.net?

default users view

problem with submit buttons

problem running the code nullreferenceexception

how do i limit only certain group of users to certain section ?

i want pageing the search result, but it's diffculty.

how to paste user defined image into htmltextbox (like emotions) ?

there is not enough space on the disk

how to add a new advertisement in the web boxs

more on specific themes

store more files under downloads

tears before bedtime ...

community_getnewcontent sp modification

code article: gridview composite skinned control with modal popup

how can i do this under downloads

image based navbar (section menu)

someone please help

dns error when downloading files

edit web box services

problem with images at webpage

mailing list mod

discussion module table too wide - how do i shrink it down?

   
  Privacy | Contact Us
All Times Are GMT