Loading...
 
Architecture / Installation

Architecture / Installation


install problems 1.8 rc3

posts: 61

Hi

i see some problems in the install script:

1 is the cache dir is not made so i get errors when i first go to the tiki-indax page. when i made the cache dir in tmp all was fine.

2 there are problems with the replace statemenst when creating the database.

statements like these:
REPLACE INTO tiki_modules VALUES ('application_menu','l',1,'P',,0,0,,'a:1:{i:0;s:9:\"Anonymous\";}');
REPLACE INTO tiki_modules VALUES ('login_box','r',1,'P',,0,0,,'a:1:{i:0;s:9:\"Anonymous\";}');

will not work because of the ;
see these lines in the tiki-install.,php:
lin 47:
$statements=split(";",$command);
it splits on ; so the replace statment will be broken hance the errors....


posts: 61


these are the problem inserts... you can enter them by hand

REPLACE INTO tiki_modules VALUES ('application_menu','l',1,'P',,0,0,,'a:1:{i:0;s:9:\"Anonymous\";}');

REPLACE INTO tiki_modules VALUES ('login_box','r',1,'P',,0,0,,'a:1:{i:0;s:9:\"Anonymous\";}');

REPLACE INTO tiki_preferences VALUES ('site_busy_msg','Server is currently too busy; please come back later.');

REPLACE INTO tiki_preferences VALUES ('site_closed_msg','Site is closed for maintainance; please come back later.');

posts: 2881 United Kingdom

RC3 is quite old now in terms of the development work that has come on in readyness for 1.8 final. I suggest you grab the latest CVS code and give that a try. you can also do this via anonymous pserver and instructions for this are on http://sourceforge.net/projects/tikiwiki

> tibi:
>
> these are the problem inserts... you can enter them by hand
>
> REPLACE INTO tiki_modules VALUES ('application_menu','l',1,'P',,0,0,,'a:1:{i:0;s:9:\"Anonymous\";}');
>
> REPLACE INTO tiki_modules VALUES ('login_box','r',1,'P',,0,0,,'a:1:{i:0;s:9:\"Anonymous\";}');
>
> REPLACE INTO tiki_preferences VALUES ('site_busy_msg','Server is currently too busy; please come back later.');
>
> REPLACE INTO tiki_preferences VALUES ('site_closed_msg','Site is closed for maintainance; please come back later.');

posts: 1 United States

> tibi:
>
> these are the problem inserts... you can enter them by hand
>
> REPLACE INTO tiki_modules VALUES ('application_menu','l',1,'P',,0,0,,'a:1:{i:0;s:9:\"Anonymous\";}');
>
> REPLACE INTO tiki_modules VALUES ('login_box','r',1,'P',,0,0,,'a:1:{i:0;s:9:\"Anonymous\";}');
>
> REPLACE INTO tiki_preferences VALUES ('site_busy_msg','Server is currently too busy; please come back later.');
>
> REPLACE INTO tiki_preferences VALUES ('site_closed_msg','Site is closed for maintainance; please come back later.');

Stupid question. How do you enter them by hand. Had a couple thoughts on it but don't wanna have to totally restart due to a brainfart :-)


posts: 2881 United Kingdom

RC3 is quite old now in terms of the development work that has come on in readyness for 1.8 final. I suggest you grab the latest CVS code and give that a try. you can also do this via anonymous pserver and instructions for this are on http://sourceforge.net/projects/tikiwiki

> tibi:
>
> these are the problem inserts... you can enter them by hand
>
> REPLACE INTO tiki_modules VALUES ('application_menu','l',1,'P',,0,0,,'a:1:{i:0;s:9:\"Anonymous\";}');
>
> REPLACE INTO tiki_modules VALUES ('login_box','r',1,'P',,0,0,,'a:1:{i:0;s:9:\"Anonymous\";}');
>
> REPLACE INTO tiki_preferences VALUES ('site_busy_msg','Server is currently too busy; please come back later.');
>
> REPLACE INTO tiki_preferences VALUES ('site_closed_msg','Site is closed for maintainance; please come back later.');


posts: 1 United States

> tibi:
>
> these are the problem inserts... you can enter them by hand
>
> REPLACE INTO tiki_modules VALUES ('application_menu','l',1,'P',,0,0,,'a:1:{i:0;s:9:\"Anonymous\";}');
>
> REPLACE INTO tiki_modules VALUES ('login_box','r',1,'P',,0,0,,'a:1:{i:0;s:9:\"Anonymous\";}');
>
> REPLACE INTO tiki_preferences VALUES ('site_busy_msg','Server is currently too busy; please come back later.');
>
> REPLACE INTO tiki_preferences VALUES ('site_closed_msg','Site is closed for maintainance; please come back later.');

Stupid question. How do you enter them by hand. Had a couple thoughts on it but don't wanna have to totally restart due to a brainfart :-)


posts: 1001 Canada

Dayylin, find the problematic statements in tiki.sql and replace them with posted ones.
Just use a text editor to do it.
Come on #tikiwiki if you still don't have it fully.


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