|
|
Rank: Newbie
Joined: 8/14/2008 Posts: 8 Location: UK
|
Greetings, I've installed the trial version of storefront: everything is behaving on the admin / sql side. However, when viewing the site from the 'store theme' page, i get the following 'theme not found' error screen. This occurs whichever theme i select. THe themes are present online, under D2StoreFront / App_Themes so I'm not sure whats wrong. Can you advise? Chris.
============================
Server Error in '/' Application. Theme 'SLDefaultBlack' cannot be found in the application or global theme directories. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Theme 'SLDefaultBlack' cannot be found in the application or global theme directories.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[HttpException (0x80004005): Theme 'SLDefaultBlack' cannot be found in the application or global theme directories.] System.Web.Compilation.ThemeDirectoryCompiler.GetThemeBuildResultType(String themeName) +1026 System.Web.Compilation.ThemeDirectoryCompiler.GetThemeBuildResultType(HttpContext context, String themeName) +68 System.Web.UI.Page.InitializeThemes() +2074091 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +674 ===========================
|
|
 Rank: Administration
Joined: 9/6/2007 Posts: 152
|
Hi, not seen that one before but i guess its because the app_themes folder isnt in the root of the application. The D2Storefront directory must be configured as an application within IIS. Although saying that, if it wasnt, i'd expect you to see a few more issues too. What is your directory layout, is Storefront part of a larger site?
Paul
|
|
Rank: Newbie
Joined: 8/14/2008 Posts: 8 Location: UK
|
Hi Paul, thanx for the response. Well, based on the 'IIS Application' suggestion I tried all sorts of options, and the configuration that now works fine is: set root as IIS app (which it already was in the above error), set D2StoreFront as an IIS app as well, (which it wasnt previously), and move the /bin and web.config files back again to the D2StoreFront directory. Seems to work fine except the /bin & config are not in the recommended location. Hope this makes sense to you, and now all is okay & i can see templates etc.
FYI and related Q: the hosting setup (via macrodomains.biz) includes a single MSSQL database shareable amongst up to 50 domains. I can create more DBusers, but no more seperate databases unless I pay more. This implies I can only use D2 with one of my domains unless we can use different table names for additional domains/installs. I've seen some mysql apps that allow the user to add a user-defined 'prefix' to table names during db installation to allow multiple instances of db apps on a single db. Is anything like this possible with D2?
thanks again Chris
|
|
 Rank: Administration
Joined: 9/6/2007 Posts: 152
|
Hi, yes it assumes it will be its own little application although you could have maybe resolved it by just moving the app_themes folder to the root but the way you have done it sounds best.
As for the DB naming, know what you mean, various forum apps use that although D2 StoreFront doesnt, it currently requires a DB per store instance. Saying that though, 10 mins with a copy of the source code and a text editor using Find/Replace on all the table names would create a copy that would sit alongside a standard copy.
If you are planning multiple stores then it is better to go with a dedicated, virtualised or semi-dedicated hosting package that will allow you to install the free SQL Express and create as many DB's as you want.
Paul
|
|
|
Guest |