Loading...
 
Architecture / Installation

Architecture / Installation


Here's the answer to a weird install problem...

posts: 12 United States

If you're having an install problem that generates the following errors
or similar errors:

Warning: fopen(db/local.php): failed to open stream: Permission
denied in /home/your-user-name/public_html/tiki/tiki-install.php on
line 300

Warning: fwrite(): supplied argument is not a valid stream
resource in /home/your-user-name/public_html/tiki/tiki-install.php on
line 301

Warning: fclose(): supplied argument is not a valid stream
resource in /home/your-user-name/public_html/tiki/tiki-install.php on
line 302

Warning: main(db/local.php): failed to open stream: No such file
or directory in /home/your-user-name/public_html/tiki/tiki-install.php
on line 303

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

and you:

1) are on a shared hosting account on a Linux box

2) have the most recent PHP and MySQL on your server

3) don't have a Pear problem

4) have CHMOD to 777 the list of directories mentioned in the documentation

5) use Cpanel to administrate your site

7) have created an MySQL database named tiki

8) have used PHPadmin and the tiki.sql file in your "db" folder to create the database tables

9) have used the "edit file" tool within Cpanel>File Manager to add your database info to tiki-db.php by hand


Here's the solution to your problem:

The "edit file" tool will add an extra blank line or two to the bottom of your
tiki-db.php file. That extra blank line will cause the errors you have received.


Simply open your tiki-db.php file (use "edit file" if you like) and erase
the extra lines. Re-save the file. Go to www.your-site/tiki/tiki-index.php
That's it.

I hope this helps you. I spent many hours losing my mind, giving up on Tiki,
trying other CMS solutions and fortunately, I finally found this simple solution.

Many thanks to theweb for taking the time to answer my cry for help. Without
that input, I doubt I would have found the answer.

Don

posts: 224 Ireland

Good info Don, thanks for that. I think we should stick this onto a Wiki page somewhere :-)

Regards,

Pat.


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