How can I import an existing local Joomla site into a new WebMatrix i...
Re: How can I import an existing local Joomla site into a new WebMatr...
Dec 02, 2010 10:23 AM|F/X|LINK
I hope you had a great Thanksgiving!
Thanks once more! I have to say - you're my hero :-). Once I had re-imported the database things looked much better, now I get the right content displayed.
However, now I have found another glitch in the site. Not sure if I should open a new thread on this, because I've no idea if that is related to the move of the site or a general problem with running the Joomla-based site on WebMatrix.. I try to describe
it now, and if you feel that should be a new thread, just let me know and I'll create one.
Once I fixed the problem with the database, the following happened: if I open the main page of the site (the "home" page), everything looks fine. But once I open another site through the site's menu structure, the new page gets loaded correctly from the
content perspective (the content is loaded and displayed), but the formatting is almost completely lost. IOW, the only formatting that "remains" is that the main menu structure of the site is displayed as a bulleted list, and that the formatting of the text
within the article that is shown is correct. Everything else (menu colors/graphics, site background and foreground color, text styles, etc.) is lost.
After looking a bit deeper into this I found, that there seems to be a problem "in" resp. "around" the index.php, and this happens although the file is identical to the one on C1 (copied it over to C2). This leads me to the assumption, that the real problem
is in some file(s) outside index.php, but I've no idea WHERE...
This is what happens: if I review the content of the HTML code generated by index.php for the main ("Home") page, the following is generated (just an excerpt out of the header):
<link rel="stylesheet" href="/templates/system/css/system.css" type="text/css" />
If I than click on one of the menus in the main menu (e.g. "Clubs"), which then leads to a incorrectly displayed page, and review the generated HTML code (the "source") of the page, I find the following (just the excerpt out of the header which relates to
the line shown above):
<link rel="stylesheet" href="/index.php/templates/system/css/system.css" type="text/css" />
The href text has been prefixed with "/index.php", and this isn't a valid path. This happens for all kind of URI's in the header (I can provide a complete example if that is needed). And, even more strange, if I then select another main menu item (e.g. "Cities")
on this incorrectly formatted page, I get this:
<link rel="stylesheet" href="/index.php/index.php/templates/system/css/system.css" type="text/css" />
Now, the href URI has been prefixed once more with "/index.php", which is an invalid path again, of course. Jumping back to the Home page through the main menu on this page also doesn't work, because of the same issue.
I have absolutely no clue what setting/configuration/etc. is causing this...
Do you have any idea what I can do to prevent this from happening?