Skip to main content
Participating Frequently
January 21, 2025
Question

Dynamically related files could not be resolved because the site definition is not correct

  • January 21, 2025
  • 2 replies
  • 920 views

I have a php/mysql website running on Win11 xampp localhost server and it displays fine in browsers using http://localhost/sitename

 

And it loads dynamic content in live mode but still gives the site definition error.

 

But in design mode dynamic content is not displayed due to "site definition not correct".

 

If the site definition is incorrect why does it work in everything except design mode?

 

Does anyone know how to fix this?

 

 

    2 replies

    Community Expert
    January 23, 2025

    @joe_8368 , I have three questions,

    1. What version of Apache are you using ?
    2. Since your root folder seams outside xampp's original scope (c:/), have you created an alias ?
    3. And as you're working with a virtual folder, Windows may sometimes not understand the path (so imagine Dreamweaver)In that case, have you mapped this folder ?
    joe_8368Author
    Participating Frequently
    January 23, 2025

    1.  Apache ver. 2.4.58 

    2.  I moved xampp directly to c:/xampp and that did not change anything

    3.  No but if it's Windows that's not understanding the path then why does the site run perfectly in browers on localhost?

    Nancy OShea
    Community Expert
    Community Expert
    January 21, 2025

    Is your local site folder pointing to your testing server?

    C:\xampp\htdocs\YourSiteName\

     

     

     

    Nancy O'Shea— Product User & Community Expert
    joe_8368Author
    Participating Frequently
    January 21, 2025

    Yes. C:\VMShared\xampp\htdocs\sitename\

    Nancy OShea
    Community Expert
    Community Expert
    January 21, 2025

    What's VMShared?  Is that your computer's primary hard drive or a network/cloud drive?

     

     

    Nancy O'Shea— Product User & Community Expert