Loading...
 
Architecture / Installation

Architecture / Installation


Can't log into my Wiki site after a simple edit to HomePage

posts: 2

I was tasked with setting up a Wiki for my department. The constraints were that I had to install the site on a Windows 2000 Pro machine that already had IBM HTTP Server running on it (1.3.33), MySQL 4.1.11, and PHP 5.0.5.

I downloaded TikiWiki 1.8.6... at the time I didn't see anything documenting issues with PHP5 and TikiWiki 1.8... I didn't see that til I came to the forums. However, after banging on the software for a while (PHP documentation online seems to be pretty poor, IMO) I got the site to work.

I was able to set up several user accounts, some Forums, and a few other items. Then I started to work adding content to HomePage. I added 2 links to other Wiki pages and a little bit of text. I noticed, though, that the second link to a Wiki page (called ResettingPasswords) never gave a valid link. It just had a ? next to it even though I had edited and added content to that page.

I decided to recycle the machine and since then I've been getting this stupid tiki-error_simple.php page indicating the site is down for maintenance. Trying to log in just brought me back to the same page. I'm not finding any error log messages indicating what exactly the problem is.

To get it running, I just went into the DB, and blew away the "data" in the tiki_pages table for HomePage. That worked, until the next time I tried editing it. Now the trick I used in the DB doesn't let me back into the site.

Since I saw in the forums that there are problems using PHP5 with TikiWiki 1.8.6 (I also found this out on my own since I was getting an error in one of the php files complaining that I was trying to pass something by reference. I made the correction by pulling out the method call used in the assign_by_ref() arg list and then took the result of that method call "$page" and used it as the arg) I decided to downgrade PHP to 4.3.10.

After downgrading, however, I received an error in mysql_connect() complaining that I needed up upgrade my MySQL client. I'm not sure why I'm getting this error as I'm using PHP 4.3.10 and MySQL 4.1.9 on another machine and it works fine. So, unless something changed from MySQL 4.1.9 to 4.1.11, I'm not sure what would cause this issue.

Any ideas on how I can get this site functional again? Seems like at this point I may as well just start over from scratch.

Thanks
Curt

posts: 2
Somehow, the site_closed flag is getting set to 'y'. I'm the only one with admin access and I'm not checking this box. And it doesn't seem to explain how changing the data on the HomePage got around this cyclic redirect the first time. Seems like TikiWiki may have a bug here... possibly due to PHP5???


posts: 2881 United Kingdom

1.8.6 doesnt contain the ADODB layer that support MySQL 4.1 The latest database 1.8 supports is MySQL 4.0.x

You need to upgrade to 1.9.2 anyway as 1.8.x is insecure and can lead to the attacker gaining complete control of the server.

1.9.2 supports your mysql 4.1 and is geared better towards supporting PHP 5

Damian


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting