Loading...
 
Architecture / Installation

Architecture / Installation


Errors when installing

posts: 4

I went to get the latest stable version, 1.7.8 (although i don't know why i bothered.. unstable versions are better documented) and i'm having trouble.
(I tried to follow the 1.7.2 installation tutorial)

I tried going to tiki-index.php and got the no permission error. The tutorial seemed to know i would and directed me to a useless link about a completely different problem. The next thing it said was tiki-admin.php and thats no permission as well.
I found something about tiki-install.php so headed to that.. and it can't find my database. I filled out all the details again and i just get warnings and then fatal errors when i try to do anything.
It orignally said it couldn't find my db when i first visited tiki-index.php, but i fixed that until it showed the No permissions page.

Have i missed something obvious? The exact errors are shown below.


After submitting my db details again on tiki-install
Warning: fopen(db/local.php): failed to open stream: Permission denied in /home/phoenix/public_html/wiki/tiki-install.php on line 306

Warning: fwrite(): supplied argument is not a valid stream resource in /home/phoenix/public_html/wiki/tiki-install.php on line 307

Warning: fclose(): supplied argument is not a valid stream resource in /home/phoenix/public_html/wiki/tiki-install.php on line 308

Warning: main(db/local.php): failed to open stream: No such file or directory in /home/phoenix/public_html/wiki/tiki-install.php on line 309

Warning: main(): Failed opening 'db/local.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:lib/pear') in /home/phoenix/public_html/wiki/tiki-install.php on line 309


If i ignore them and try to update the db anyway

Fatal error: Call to a member function on a non-object in /home/phoenix/public_html/wiki/tiki-install.php on line 27


Hope someone can help. Seems to me this version isn't quite stable...


Edit: Fixed some weird lines that got put in and got rid of the titles

posts: 2881 United Kingdom

Sounds to me like file and directory permissions are seriously messed up:

Warning: fopen(db/local.php): failed to open stream: Permission denied in /home/phoenix/public_html/wiki/tiki-install.php on line 306

Means that the installer cannot write to the db/local.php file. Probably because db/ is not writable by apache, or your PHP is running with openbasedir or safe mode on.

Im afraid to say that its not a fault of TikiWiki but your actual apache/php configuration

Happy CHMODing

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