Loading...
 
Architecture / Installation

Architecture / Installation


blank tiki-install.php result

posts: 3

I'm having real problems running the tiki-install.php page.

My system configuration is as follows:
Mandrake linux 10.1
Apache 2.0.50
PHP 4.3.8
MySQL 4.0.20
Tiki 1.9.0

Every time I run the tiki-install.php, I get a blank result.
I've verified that PHP is able to write the session files (playing with permissions gets me a Warning Session_start()... error on screen, which also verifies to me that I can get errors displayed back in the browser.)
As a backup, I also have PHP writing errors out to a log file. Results there are identical to browser errors.

I've changed the PHP mem limit to 32MB

I've added the following lines to tiki-install.php and Smarty.class.php to help in display of errors.

Image
ini_set('display_errors','1');
error_reporting (E_ALL);


MySQL setup:

Image
[user@host tmp]# mysqlshow
+-----------+
| Databases |
+-----------+
| mysql     |
| test      |
| tiki      |
| tmp       |
+-----------+
[user@host tmp]# mysqlshow tiki
Database: tiki
+--------+
| Tables |
+--------+
+--------+
mysql> select host, db, user from db;
+-----------+---------+----------+
| host      | db      | user     |
+-----------+---------+----------+
| %         | test    |          |
| %         | test\_% |          |
| %         | tiki    | tikiwiki |
| localhost | tiki    | tikiwiki |
+-----------+---------+----------+
4 rows in set (0.00 sec)


Any assistance would be much appreciated.

I do have the capability of root access on the box, so any changes needed are possible.

Note: edited to add tiki version. That info could be slightly helpful.

posts: 1550 Canada

> I'm having real problems running the tiki-install.php page.
>
> My system configuration is as follows:
> Mandrake linux 10.1
> Apache 2.0.50
> PHP 4.3.8
> MySQL 4.0.20
> Tiki 1.9.0
>

I don't see why that wouldn't work.


Please try running tiki.sql manually and then tiki_1.8to1.9.sql

mysql -u dbuser -p tikidb < db/tiki.sql
mysql -f -u dbuser -p tikidb < db/tiki_1.8to1.9.sql

Best regards,

M ;-)

posts: 3


> I don't see why that wouldn't work.
>
>
> Please try running tiki.sql manually and then tiki_1.8to1.9.sql
>
> mysql -u dbuser -p tikidb < db/tiki.sql
> mysql -f -u dbuser -p tikidb < db/tiki_1.8to1.9.sql
>
> Best regards,
>
> M ;-)
>

Ok, I 'successfully' ran the scripts. The 1.8to1.9 script gave errors, but I assume by the -f that this result is expected.

That still doesn't solve my problem. It appears now that I've done some brute force debugging with echo statements that the error lies in adodb.inc.php.

When it's trying to get the connection to the db, it just stops. No error returned, no echo statements afterward executed.

in ADOConnection.Connect() ->

Image
if ($rez=$this->_connect($this->host, $this->user, $this->password, $thi
s->database))  return true;


I've never really coded in PHP before, though, so I have no idea where to go from there.

posts: 1

Hi,

I'm having exactly the same symptoms, but on a different set of versions:
Debian Woody (3.0)
Apache 1.3.26
Mysql 3.23.49
PHP 4.1.2
Tiki 1.9.0

I've increased the php memory limit in php.ini to 32M, played with file permissions, added the php error output code to tiki-install.php and the two Smart*class.php files also. I even tried the manual database creation suggestion above (and got errors as telescan did above).

I also tried running setup.sh with some virtual host info with no change in behavior (my host is using multiple IP addresses for virtual hosts, so I don't think this should be necessary, but I tried it anyway).

So far the tiki-install.php script always behaves the same. On first access it asks for the database name,user,password, and then returns a blank page (no errors - ever). Re-nagivating to the install gives a file not found error, a second reload gives the original page asking for the database info again, and this loops and loops. I also tried entering the db info for the virtual hosts, but that behaves identically.

Essentially nothing I've done affects the behavior of the system frown

Any help welcome.


posts: 3

> Try turning off the SELINUX ?
>
> Damian
> http://tikihost.net
>

I don't think I even have it installed. A quick google search for disabling it led to file locations that were non-existant on my system.