From: Alfredo A. <alf...@li...> - 2006-03-06 23:03:11
|
On Thu, Mar 02, 2006 at 07:48:31AM +0000, Reini Urban wrote: >good point. thanks. >The correct way is to fix the config.ini DBAUTH SQL statements (the pref >tablename) for your prefix. > >We want to be independent and allow external prefs and auth (external >databases and hosts), but for prefs it would be the best that we add the >table prefix for the default setup. I will try your suggested solution later. Now I need to solve other problems :-( I have two PHP Warning but I don't know how to solve: /usr/local/share/phpwiki-1.3.12_rc2/lib/CachedMarkup.php:56: Warning: gzuncompress(): data error /usr/local/share/phpwiki-1.3.12_rc2/lib/CachedMarkup.php:57: Notice: unserialize(): Argument is not a string >> The second problem is very strange for me, and I cannot reproduce it :-( >> Sometime trying to modify a page, after giving "?action=edit" the >> browser receive a blank (empty) page. >> >Yes, this was a known problem some years ago. >Play with the redirect settings: DISABLE_HTTP_REDIRECT = true this setting doesn't help me. >Or try to mess with the redirect template as posted some weeks ago here >on this list. >This is server specific. Sorry, but I haven't understood. Can you give me some keys to grep on my archive? Here some additional info. I'm using the same settings of an old working wikifarm installation; for instance http://www.linuxfan.it/icoli/ - A separate startup script with specific settings for each wiki; for example: /var/www/MyTest (you can play on http://orion.linuxfan.it/MyTest) containing: define('DATABASE_PREFIX', 'italt_'); define('SCRIPT_NAME', '/MyTest'); define('VIRTUAL_PATH', '/MyTest'); include "phpwiki/index.php"; include "phpwiki/lib/main.php"; - A phpwiki installation on /usr/local/share/phpwiki-1.3.12_rc2 with a symlink -> /var/www/phpwiki - the following settings in config.ini DATA_PATH = /phpwiki PHPWIKI_DIR = /var/www/phpwiki USE_PATH_INFO = true I can not understand what is wrong. I still have a blank page trying to edit the wiki. Now I have a problem also on the main server. When I load a page from some host, I have the following fatal database error: /usr/local/share/phpwiki-20040514-italt/lib/WikiDB/backend/PearDB.php:778: Fatal[256]: wikidb_backend_pgsql: fatal database error * DB Error: unknown error * (UPDATE session SET sess_data='', sess_date=1141679681, sess_ip='2001:1418:13:b::3' WHERE sess_id='b821fd3e1832684425e923d2039c6ba5' [nativecode=ERROR: value too long for type character(15)]) * Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0 Is it an IPv6 related error? What can I do? Thank you for the great work. -- Bye, Alfredo |