Webmastersite.net
Register Log In

local install search problem

Comments on local install search problem

sertan6
Experienced

Usergroup: Customer
Joined: Feb 22, 2004

Total Topics: 47
Total Comments: 88
sertan6
Posted Jan 08, 2007 - 1:24 PM:

This problem happens only on my local install (easyPHP), online it works fine.
When i go to:
http://127.0.0.1/wsnforum2/search.php

it gives:
-----------
Notice: Undefined variable: inadmindir in d:\easyphp1-8\www\wsnforum2\search.php on line 9

Notice: Undefined variable: inadmindir in d:\easyphp1-8\www\wsnforum2\searchstart.php on line 5

Warning: Cannot modify header information - headers already sent by (output started at d:\easyphp1-8\www\wsnforum2\search.php:9) in d:\easyphp1-8\www\wsnforum2\end.php on line 145
----------------------------------------------------------

in search.php, i tried to uncomment the "$inadmindir = true;" but it also
gives an error.

then i set it to false and it seems to be working, but i don't know if this
effects anything else.



output with debug=1:
----------------------
Notice: Undefined variable: inadmindir in d:\easyphp1-8\www\wsnforum2\search.php on line 9

Notice: Undefined variable: inadmindir in d:\easyphp1-8\www\wsnforum2\searchstart.php on line 5

Load time so far: 0.14 seconds.

Query: SELECT `name`,`content` FROM wsnforum_settings WHERE id>0 ORDER BY id ASC

Load time so far: 0.16 seconds.

Query: SELECT `id` FROM wsnforum_categories WHERE validated=1 AND hide=0 AND isalbum=0 ORDER BY id DESC LIMIT 0,1

Number of rows is 1 for Resource id #23

Load time so far: 0.16 seconds.

Query: UPDATE wsnforum_settings SET content='9' WHERE name='highestcatindex'

Load time so far: 0.18 seconds.

Query: SELECT `name`,`value` FROM wsnforum_switches WHERE id>0

Number of rows is 73 for Resource id #24

Query: SHOW COLUMNS FROM wsnforum_links

Getting field list for table wsnforum_links: id,title,description,rating,votes,validated,catid,sumofvotes,time,hits,numcomments,hide,ownerid,voterips,voterids,lastedit,type,notify,pendingedit,alias,expire,ip,inalbum,typeorder,hitsoutips,lastcomment,related,inhidden,viewers,threadviewers,hitsouttemp,origtype,importance,parentids,timesemailed,message,lastposterid,lastpostername,sticky,threadclosed,ownername,threadposters,deleted,downloads,funds,deletionreason,movedto,pollid,deletedby,posticon,timevalidated,savedby,email,suspect,suspended,hitsin,hitsinips,hitsintemp,filefield,validatedemail,unpaid,effectivetime,wysihtml,pa,ma,fe,tr,le,po,ca,n_1,n_2,n_3,n_4,k_1,k_2,test_multiple

Load time so far: 0.19 seconds.

Query: SHOW COLUMNS FROM wsnforum_categories

Getting field list for table wsnforum_categories: id,name,parent,validated,description,time,parentnames,parentids,numlinks,hide,lastlinktime,custom,lastedit,moderators,headerinfo,related,numsub,type,permissions,subscribers,mixtypes,isalbum,orderlinks,totalcomments,alias,catcols,sponsorlinks,views,customwrap,deleted,reqlinks,reqcoms,reqlinksdelay,priority,levelsdeep,lastposterid,lastpostername,lastcommenttime,lastthreadid,lastthreadtitle,linkshere,unvalidatedlinks,unvalidatedcomments,actaslink,countposts,subcatshtml,opwords,subscriber,ulsearchmax,ulsearchquery,ulsearchadult,linkcols,dmozpath,linksperpage,wysihtml,numonline

Load time so far: 0.19 seconds.

Query: SHOW COLUMNS FROM wsnforum_members

Getting field list for table wsnforum_members: id,name,time,usergroup,password,ip,totalhits,email,validated,template,language,lastattempt,allowemail,signature,avatarname,stylesheet,allowuseremail,albumid,failedattempts,totalbytes,funds,notifyoflinks,lastvisit,timezone,rating,pmfolders,notifyofpms,acceptpms,cookieduration,banned,topics,posts,location,homepage,occupation,bio,aim,icq,msn,yahoo,inactive,timeonline,totalpms,buddies,ignored,isonline,acceptims,adminpermissions,referrer,groupreverttime,grouprevertto,moderationpm,secondarygroups,linksperpage,commentsperpage,shouts,customtitle,shoutban,topicbans,forumbans,visibility,birthdate,lastsession,interests,posteditor,forumaccess,pmpopup,pmnotify,modnotes,guestnotes,salt,lastmodnote,newpms,imflag,orderalbums,lastguestnote,autosubscribe,notifymethod,showavatars,showsigs,warninglevel,chatcolor,autosubscribepost,validatedemail,totalhitsin,traderrating,invitessent,newemail,calsub,macros,blogrss,blogcache,watched

Load time so far: 0.19 seconds.

Query: SHOW COLUMNS FROM wsnforum_membergroups

Getting field list for table wsnforum_membergroups: id,title,caneditown,caneditall,canvote,isadmin,canpost,canemail,validatecats,validatecomments,validatelinks,validateedits,cansubmitlinks,cansubmitcategories,cansubmitcomments,caneditownlinks,caneditowncategories,caneditowncomments,caneditownprofile,caneditalllinks,caneditallcategories,caneditallcomments,caneditallprofiles,candownloadfiles,canupload,canviewip,limitlinks,canemailmembers,canusehtml,limitlinksdaily,canalias,candeleteown,candeleteall,candofulledit,candeletecategories,candeletecomments,candeleteowncategories,candeleteowncomments,candeletemembers,candeleteownmembers,canaliascategories,canviewpages,caneditvotes,numaliases,canviewvotes,canhideownlinks,canhideowncategories,canhideowncomments,canhidealllinks,canhideallcategories,canhideallcomments,canratecomments,bytespermem,canpm,canim,canharddelete,limitpms,limitpmsdaily,canviewdeleted,cansubmitpolls,candeletepolls,candeleteownpolls,caneditpolls,caneditownpolls,attachperpost,attachperpm,canviewshouts,caneditshouts,caneditownshouts,candeleteshouts,candeleteownshouts,cansubmitshouts,canpollvote,customtitle,canviewinvisible,namestyle,canpmimportant,canviewmodlog,isleader,cansubmitquotes,validatequotes,candeletequotes,candeleteownquotes,canreport,canusesearch,validateattachments,caneditownquotes,caneditallquotes,canviewchat,caneditownevents,caneditallevents,candeleteownevents,candeleteevents,cansubmitevents,validateevents,bulkpms,issupermod,cansuggestban,shoutsperday,cancopy,attachperlink,numinv,allowugspec,validateemails,validatesponsorlinks

Load time so far: 0.19 seconds.

Query: SHOW COLUMNS FROM wsnforum_email

Getting field list for table wsnforum_email: id,to,subject,message,headers,timesent,ip,replacement,mime

Load time so far: 0.19 seconds.

Query: SHOW COLUMNS FROM wsnforum_sessions

Getting field list for table wsnforum_sessions: id,memberid,location,time,ip,browser,starttime,catid,threadid,areaname,lastsearch,nopermission,inchat,name,isrobot,lastchat,groupnamestyle,acceptims,visibility

Load time so far: 0.19 seconds.

Query: SHOW COLUMNS FROM wsnforum_ratings

Getting field list for table wsnforum_ratings: id,votevalue,time,memberid,ip,custom,linkid

Load time so far: 0.19 seconds.

Query: SHOW COLUMNS FROM wsnforum_markup

Getting field list for table wsnforum_markup: id,type,original,replacement,description,originalclose,replacementclose,sortorder

Load time so far: 0.19 seconds.

Query: SHOW COLUMNS FROM wsnforum_modlog

Getting field list for table wsnforum_modlog: id,topicid,postid,type,nature,reason,moderatorid,source,destination,time,catid,memberid

Load time so far: 0.19 seconds.

Query: SHOW COLUMNS FROM wsnforum_crons

Getting field list for table wsnforum_crons: id,frequency,nextrun,filename,native

Load time so far: 0.2 seconds.

Query: SHOW COLUMNS FROM wsnforum_helpcategory

Getting field list for table wsnforum_helpcategory: id,name,numsubjects,priority

Load time so far: 0.2 seconds.

Query: SHOW COLUMNS FROM wsnforum_helpitem

Getting field list for table wsnforum_helpitem: id,subject,helptext,priority,category

Load time so far: 0.2 seconds.

Query: SHOW COLUMNS FROM wsnforum_quotes

Getting field list for table wsnforum_quotes: content,author,id,source,ownerid,ownername,validated

Load time so far: 0.2 seconds.

Query: SHOW COLUMNS FROM wsnforum_searches

Getting field list for table wsnforum_searches: id,value,memberid,catid,time

Load time so far: 0.2 seconds.

Query: SHOW COLUMNS FROM wsnforum_comments

Getting field list for table wsnforum_comments: id,linkid,postername,message,time,linkname,validated,ip,ownerid,lastedit,type,approved,votes,hide,typeorder,lasteditby,catid,editreason,preventedit,inhidden,deleted,deletionreason,usernoteon,modnote,filefield,title,deletedby,parentids,disablesmilies,disablesig,icon,originalmessage,disablehtml,disablewsn,flagged,wysihtml

Load time so far: 0.2 seconds.

Query: SHOW COLUMNS FROM wsnforum_polls

Getting field list for table wsnforum_polls: id,topicid,catid,question,options,time,endtime,deleted,multi,public,totals

Load time so far: 0.2 seconds.

Query: SHOW COLUMNS FROM wsnforum_pollvotes

Getting field list for table wsnforum_pollvotes: id,pollid,vote,memberid,ip,deleted,membername,time

Load time so far: 0.2 seconds.

Query: SHOW COLUMNS FROM wsnforum_attachments

Getting field list for table wsnforum_attachments: id,type,objectid,filename,filetitle,filesize,width,height,memberid,time,deleted,field,downloads,validated,ownerip

Load time so far: 0.2 seconds.

Load time so far: 0.2 seconds.

Query: SELECT `id`,`title`,`caneditown`,`caneditall`,`canvote`,`isadmin`,`canpost`,`canemail`,`validatecats`,`validatecomments`,`validatelinks`,`validateedits`,`cansubmitlinks`,`cansubmitcategories`,`cansubmitcomments`,`caneditownlinks`,`caneditowncategories`,`caneditowncomments`,`caneditownprofile`,`caneditalllinks`,`caneditallcategories`,`caneditallcomments`,`caneditallprofiles`,`candownloadfiles`,`canupload`,`canviewip`,`limitlinks`,`canemailmembers`,`canusehtml`,`limitlinksdaily`,`canalias`,`candeleteown`,`candeleteall`,`candofulledit`,`candeletecategories`,`candeletecomments`,`candeleteowncategories`,`candeleteowncomments`,`candeletemembers`,`candeleteownmembers`,`canaliascategories`,`canviewpages`,`caneditvotes`,`numaliases`,`canviewvotes`,`canhideownlinks`,`canhideowncategories`,`canhideowncomments`,`canhidealllinks`,`canhideallcategories`,`canhideallcomments`,`canratecomments`,`bytespermem`,`canpm`,`canim`,`canharddelete`,`limitpms`,`limitpmsdaily`,`canviewdeleted`,`cansubmitpolls`,`candeletepolls`,`candeleteownpolls`,`caneditpolls`,`caneditownpolls`,`attachperpost`,`attachperpm`,`canviewshouts`,`caneditshouts`,`caneditownshouts`,`candeleteshouts`,`candeleteownshouts`,`cansubmitshouts`,`canpollvote`,`customtitle`,`canviewinvisible`,`namestyle`,`canpmimportant`,`canviewmodlog`,`isleader`,`cansubmitquotes`,`validatequotes`,`candeletequotes`,`candeleteownquotes`,`canreport`,`canusesearch`,`validateattachments`,`caneditownquotes`,`caneditallquotes`,`canviewchat`,`caneditownevents`,`caneditallevents`,`candeleteownevents`,`candeleteevents`,`cansubmitevents`,`validateevents`,`bulkpms`,`issupermod`,`cansuggestban`,`shoutsperday`,`cancopy`,`attachperlink`,`numinv`,`allowugspec`,`validateemails`,`validatesponsorlinks` FROM wsnforum_membergroups WHERE id>0

Load time so far: 0,22 seconds.

Query: SELECT `original`,`replacement`,`description`,`id`,`sortorder` FROM wsnforum_markup WHERE type='smilie' ORDER BY sortorder

Number of rows is 14 for Resource id #50

Load time so far: 0,22 seconds.

Query: SELECT `id`,`name`,`parent`,`validated`,`description`,`time`,`parentnames`,`parentids`,`numlinks`,`hide`,`lastlinktime`,`custom`,`lastedit`,`moderators`,`headerinfo`,`related`,`numsub`,`type`,`permissions`,`subscribers`,`mixtypes`,`isalbum`,`orderlinks`,`totalcomments`,`alias`,`catcols`,`sponsorlinks`,`views`,`customwrap`,`deleted`,`reqlinks`,`reqcoms`,`reqlinksdelay`,`priority`,`levelsdeep`,`lastposterid`,`lastpostername`,`lastcommenttime`,`lastthreadid`,`lastthreadtitle`,`linkshere`,`unvalidatedlinks`,`unvalidatedcomments`,`actaslink`,`countposts`,`subcatshtml`,`opwords`,`subscriber`,`ulsearchmax`,`ulsearchquery`,`ulsearchadult`,`linkcols`,`dmozpath`,`linksperpage`,`wysihtml`,`numonline` FROM wsnforum_categories WHERE validated=1 AND deleted=0 AND hide=0

Number of rows is 9 for Resource id #52

Query: LOCK TABLES wsnforum_email WRITE, wsnforum_links WRITE, wsnforum_categories WRITE, wsnforum_members WRITE

Load time so far: 0,23 seconds.

Query: SELECT `id`,`to`,`subject`,`message`,`headers`,`replacement`,`mime` FROM wsnforum_email WHERE timesent=0 ORDER BY id ASC LIMIT 0,10

Number of rows is 0 for Resource id #53

Query: UNLOCK TABLES

Warning: Cannot modify header information - headers already sent by (output started at d:\easyphp1-8\www\wsnforum2\search.php:9) in d:\easyphp1-8\www\wsnforum2\end.php on line 145
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 08, 2007 - 11:23 PM:

Read www.wsnforum.com/wsnmanual/...ndefined-variable-238.html
sertan6
Experienced

Usergroup: Customer
Joined: Feb 22, 2004

Total Topics: 47
Total Comments: 88
sertan6
Posted Jan 09, 2007 - 1:50 AM:

thanks Paul
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.