Hello,
I've installed phpWiki on a W2k-machine with Apache 2.0.43 and MySQL
4.0.6. The changes I've done to the index.php are the following:
if (!defined('WIKI_NAME')) define('WIKI_NAME', 'MyWiki');
if (!defined('ADMIN_USER')) define('ADMIN_USER', "Administrator");
if (!defined('ADMIN_PASSWD')) define('ADMIN_PASSWD', "1862187");
'dbtype' => 'SQL',
//'dbtype' => 'dba',
dsn' => 'mysql://wiki@localhost/wiki',
ini_set('session.save_path', 'tmp');
if (!defined('USE_PATH_INFO')) define('USE_PATH_INFO', false);
The I've created the tables and opend the /index.php.
So far everything worked as expected.
When I now go into the sandbox and click on edit, the edit page
appears, but ends with this invalid code fragment:
<script language="JavaScript1.3" type="text/javascript"></script>
--
function showOldMarkupRules(show) {
if (document.getElementById) {
if (!show) {
document.getElementById('newMarkup').style.display="block";
document.getElementById('oldMarkup').style.display="none";
} else {
document.getElementById('newMarkup').style.display="none";
document.getElementById('oldMarkup').sty
When I make any changes to the sandbox and want to save or preview, it
just displays the old content again and ignores my changes.
Where do I have to search for the problem, that causes this?
Greetings,
Tobias
PS: Is it possible to set USE_PATH_INFO to true for Apache 2? I couldn't
find any settings in httpd.conf that would allow this.
|