[pmwiki-users] Searching on 2.0

DaveG pmwiki at solidgone.com
Fri Sep 2 16:50:43 CDT 2005


I deleted the entire Scripts directory and reloaded 2.0 files. Now 
everything works fine. I backed the directory up before deleting, so 
I'll check for diffs later tonight.

 ~ ~ David

Patrick R. Michaud wrote:

>Got the config.php; I'm looking at it now but I don't see
>anything obviously wrong.  This is just weird -- it's
>really as if the pagelist.php file isn't being loaded
>for some reason.
>
>Pm
>
>
>On Fri, Sep 02, 2005 at 03:44:29PM -0400, DaveG wrote:
>  
>
>>Current config.php attached. I tried reloading an older 'definiately 
>>working' copy of the config, but still got the same problem.
>>
>>~ ~ Dave
>>
>>Patrick R. Michaud wrote:
>>
>>    
>>
>>>On Fri, Sep 02, 2005 at 03:21:09PM -0400, DaveG wrote:
>>>
>>>
>>>      
>>>
>>>>Done.
>>>>  
>>>>
>>>>        
>>>>
>>>Hmm, that didn't give me many clues.  Can you send me your config.php?
>>>
>>>Pm
>>>
>>>
>>>
>>>
>>>      
>>>
>>>>Patrick R. Michaud wrote:
>>>>
>>>>  
>>>>
>>>>        
>>>>
>>>>>On Fri, Sep 02, 2005 at 03:14:04PM -0400, DaveG wrote:
>>>>>
>>>>>
>>>>>    
>>>>>
>>>>>          
>>>>>
>>>>>>I upgraded from b55 to 2.0, and now my Search bar no longer works, 
>>>>>>displaying the text below rather than the actual results. What did I 
>>>>>>mess up? (example at http://www.mr2wiki.com)
>>>>>>
>>>>>>
>>>>>>      
>>>>>>
>>>>>>            
>>>>>>
>>>>>Strange.  Can you set $EnableDiag=1; in your local/config.php file?
>>>>>It appears as if the pagelist markups aren't being loaded for 
>>>>>some reason.
>>>>>
>>>>>Pm
>>>>>
>>>>>
>>>>>
>>>>>    
>>>>>
>>>>>          
>>>>>
>>>
>>>      
>>>
>
>  
>
>>   [[',"/`?\\b([[:upper:]][[:upper:]]+s)\\b/e","Keep('$1')"); ##
>>   $DiffKeepDays specifies the minimum number of days to keep a page's ##
>>   revision history. The default is 3650 (approximately 10 years). #
>>   $DiffKeepDays=30; # keep page history at least 30 days ## The rss.php
>>   script enables ?action=rss and ?action=rdf, which ## provides RSS feeds
>>   for a site based on WikiTrails. See PmWiki.RSS. # if ($action == 'rss' ||
>>   $action == 'rdf') include_once('scripts/rss.php'); ## PmWiki allows a
>>   great deal of flexibility for creating custom markup. ## To add support
>>   for '*bold*' and '~italic~' markup (the single quotes ## are part of the
>>   markup), uncomment the following lines. ## (See PmWiki.CustomMarkup and
>>   the Cookbook for details and examples.) Markup("'~", "inline",
>>   "/'~(.*?)~'/", "$1"); # '~italic~' Markup("'*", "inline",
>>   "/'\\*(.*?)\\*'/", "$1"); # '*bold*' Markup('^Source:', 'directives',
>>   '/^Source:/', '%p source%Source:'); Markup('^Also see:', 'directives',
>>   '/^Also see:/', '%p source%Also see:'); ## If you want to have to approve
>>   links to external sites before they ## are turned into links, uncomment
>>   the line below. See PmWiki.UrlApprovals. ## Also, setting
>>   $UnapprovedLinkCountMax limits the number of unapproved ## links that are
>>   allowed in a page (useful to control wikispam).
>>   #include_once('scripts/urlapprove.php'); #$UnapprovedLinkCountMax = 10; #
>>   Mail on changes $EnableMailPosts=1; # to enable mailposts
>>   $MailPostsTo="mr2wiki at solidgone.com"; # where to send mail
>>   $MailPostsDelay=7200; # wait (1800) 30+ min after initial post
>>   $MailPostsSquelch=14400; # require (7200) 2+ hours between mails
>>   ini_set('SMTP','mail.solidgone.com'); $MailPostsMessage="Recent wiki
>>   posts:\n ($ScriptUrl?n=Main.AllRecentChanges)\n\n\$MailPostsList\n"; #
>>   Styles $WikiStyle['source']['color'] = 'blue';
>>   $WikiStyle['source']['font-size'] = '9px';
>>   $WikiStyle['source']['font-style'] = 'italic';
>>   $WikiStyle['source']['apply'] = 'block'; $SearchPatterns['default'][] =
>>   '!\\.(All)?Recent(Changes|Uploads)$!'; $SearchPatterns['default'][] =
>>   '!\\.Group(Print)?Header$!'; $SearchPatterns['default'][] = '!^Site\\.!';
>>   $UrlLinkFmt = "\$LinkText"; # include_once("cookbook/counter.php");
>>   include_once("cookbook/deletepage.php"); ## The refcount.php script
>>   enables ?action=refcount, which helps to ## find missing and orphaned
>>   pages. See PmWiki.RefCount. if ($action == 'refcount')
>>   include_once('scripts/refcount.php'); ## The following lines make
>>   additional editing buttons appear in the ## edit page for subheadings,
>>   lists, tables, etc. $GUIButtons['h2'] = array(400, '\\n!! ', '\\n',
>>   '$[Heading]', '$GUIButtonDirUrlFmt/h2.gif"$[Heading]"'); $GUIButtons['h3']
>>   = array(402, '\\n!!! ', '\\n', '$[Subheading]',
>>   '$GUIButtonDirUrlFmt/h3.gif"$[Subheading]"'); $GUIButtons['indent'] =
>>   array(500, '\\n->', '\\n', '$[Indented text]',
>>   '$GUIButtonDirUrlFmt/indent.gif"$[Indented text]"');
>>   $GUIButtons['outdent'] = array(510, '\\n-<', '\\n', '$[Hanging indent]',
>>   '$GUIButtonDirUrlFmt/outdent.gif"$[Hanging indent]"'); $GUIButtons['ol'] =
>>   array(520, '\\n# ', '\\n', '$[Ordered list]',
>>   '$GUIButtonDirUrlFmt/ol.gif"$[Ordered (numbered) list]"');
>>   $GUIButtons['ul'] = array(530, '\\n* ', '\\n', '$[Unordered list]',
>>   '$GUIButtonDirUrlFmt/ul.gif"$[Unordered (bullet) list]"');
>>   $GUIButtons['hr'] = array(540, '\\n----\\n', '', '',
>>   '$GUIButtonDirUrlFmt/hr.gif"$[Horizontal rule]"'); $GUIButtons['table'] =
>>   array(600, '||border=1 width=80%\\n||!Hdr ||!Hdr ||!Hdr ||\\n|| || ||
>>   ||\\n|| || || ||\\n', '', '', '$GUIButtonDirUrlFmt/table.gif"$[Table]"');
>>   ?>
>>    
>>
>
>
>  
>




More information about the pmwiki-users mailing list