Looks like I messed something up. Any idea what would cause this error?
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION
or T_VAR or '}' in /home/drsecret/public_html/wiki/includes/Exception.php on line
139
I copied the code you posted and replaced my index.html file with that. I then tested
the page and it redirected me perfectly. Then I deleted all the files and folders that
were associated with the old website. Then I checked again and instead of the redirect I
got this error code. Other then the fact that I'm getting an error code after
deleting stuff, I was certain that nothing I deleted was related to the wiki.
Any ideas?
Thanks
Mike
Jan Steinman <Jan(a)Bytesmiths.com> wrote:
From: Mike
I have an old website which was written in MS Frontpage, and I
created the wiki inside the main directory, and made a link to it
from the home page. Now that I have the wiki, the old site is
pointless. How would I go about removing the old site and setting
the wiki as the home page?
Re-direct your home page to your wiki home using HTML. Here's
index.php from
http://www.EcoReality.org , for example. You may be
able to use this verbatim.
:::: God told me to strike at Al Qaeda and I struck them. And then
he instructed me to strike at Saddam, which I did. With the might of
God on our side we will triumph. -- George W. Bush
:::: I believe that I am acting in accordance with the will of the
Almighty Creator. -- Adolf Hitler
:::: Never forget that everything Hitler did in Germany was legal. --
Dr. Martin Luther King
:::: Jan Steinman
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
---------------------------------
No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.