From: Reini U. <ru...@x-...> - 2004-10-16 14:27:30
|
Arnaud Fontaine schrieb: > Le sam 09/10/2004 à 17:39, Reini Urban a écrit : > >>Arnaud Fontaine schrieb: >> >>>I was migrating a 1.3.4/gdbm running wiki using my own theme to a cvs >>>export version with MySQL as a backend. >> >>gdbm locking problems also? those php guys should be beaten! > > No. But a gdbm based wiki is VERY slow on RecentChanges, for exemple, > when you are around 1000 pages. Or you need a damned amount of RAM ... > Only have 1.5 GB on my server. hmm, I always test with about 1500 pages, with various databases. also db3 and gdbm. And I have only 500MB physical RAM. But this is on windows. >>local import would have been much faster. just give source=... to >>action=loadfile. anyway. >>upload is not very good. > > > Yes but how do you specify the admin login and password ?? > http://user:pass@site/ ?? what for? edit config/config.ini (define the DATABASE_TYPE and optionally the DATABASE_DSN) browse to http://mywiki/PhpWikiAdministration sign in as admin, scroll to [ Load File ] enter the local filesystem path to the saved pgsrc dir and click on [ Load File ]. or as shortcut, use http://mywiki/?action=loadfile&source=/home/user/phpwiki/pgsrc&overwrite=1 >>>I also noted that the UserPreferences looks to the list of themes in this >>>directory and not in the local themes directory ... >>For the themes loader see below: >>So either PHPWIKI_DIR is empty or wrong. NormalizeLocalFileName is in >>FileFinder.php, and adds PHPWIKI_DIR if defined. > > hmmm .... is PHPWIKI_DIR your wiki local dir or your phpwiki install dir > ??? I always have only one php source directory. with one themes directory. Just variosu starter scripts, and optionally various config.ini. > I might have misunderstood this since ... the very begining :) > > But well ... > > The real problem is : when I use my migrated theme, phpwiki ALWAYS > switches to the default theme. > > I tried with some other themes like sidebar, wordpress, crao, etc ... > they are all fine. And when I try wikilens theme ... it switches to the > default theme ... > > Did you change some fundamental stuffs in the theme API ?? Yes, I renamed $Theme to $WikiTheme. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |