From: Doyce T. <sm...@av...> - 2004-01-12 17:23:10
|
This looks like just the thing I need... Except, I don't see a php.ini in my wiki directory, so I'm assuming this is a server-side setting. I'm on a hosted server and I suppose I need to ask them to change this? (Which they might do, cuz they're cool like that, but I feel I should clarify first before asking.) What would you suggest setting these three resource limits to? Joby Walker wrote: > Sorry missed your earlier reply... > > You could try increasing your resource limits in php.ini: > > max_execution_time = ; Maximum execution time of each script, in seconds > max_input_time = ; Maximum amount of time each script may spend > parsing request data > memory_limit = ; Maximum amount of memory a script may consume (8MB) > > I don't use flatfile db's so I'm not too familiar with issues related > to them... Which db/version are you using? > > jbw > > Doyce Testerman wrote: > >> Okay, here's another hint: I almost always get these assertion >> errors when I try to save, view Diffs, or Page history on larger >> pages -- smaller pages almost always work -- is there some time limit >> I'm running into? >> >> Doyce Testerman wrote: >> >>> Pertinent info: I'm on a hosted account. The server is running >>> Linux, Apache version 1.3.29, PHP version 4.3.4, and I'm running >>> flatfile dbm (the default config). The wiki can be viewed at >>> http://www.average-bear.com/wiki/ >>> >>> ----- >>> >>> My problem: I'm consistently getting 'assertion failed' messages >>> while using phpwiki. Examples follow: >>> >>> EXAMPLE 1 >>> When saving a page I've been editing, I will often (not always) get >>> an error message when I hit save: a page will display: >>> >>> lib/WikiDB.php:787: Fatal[0]: <br >>> />/home/doyce/public_html/wiki/lib/WikiDB.php:787: : Assertion >>> failed <br /> >>> >>> * Note 1: this doesn't always happen -- usually I get this error >>> when I save a page to which I've added a WikiWord. The page DOES >>> still save... if I refresh from the error message page, the 'reload' >>> confirmation appears and the page loads correctly. >>> >>> * Note 2: the <br /> bits in the error message are not a result >>> of me Viewing the source of the page... they actually display that >>> way on the page. "View source" on this error message shows me that >>> the page is specifically showing me the special html characters >>> using ascii encoding. >>> >>> EXAMPLE 2 >>> The 'Diff' button on the bottom of each page fails intermittently >>> (about as often as I get the error message in Example 1, above, but >>> not on the same pages. The error message (very similar to Example >>> 1) reads: >>> >>> lib/WikiDB.php:787: Fatal[0]: <br >>> />/home/doyce/public_html/wiki/lib/WikiDB.php:787: : Assertion >>> failed <br /> >>> >>> EXAMPLE 3 >>> On most of the pages on which Diff doesn't work, Page History also >>> fails: >>> >>> lib/WikiDB.php (In template 'browse') (In template 'body') (In >>> template 'html'):787: Fatal[0]: <br >>> />/home/doyce/public_html/wiki/lib/WikiDB.php:787: : Assertion >>> failed <br /> >>> >>> EXAMPLE 4 >>> The RecentChanges page simple doesn't work at all. The error >>> message reads: >>> lib/WikiDB/backend/dumb/MostRecentIter.php (In template 'browse') >>> (In template 'body') (In template 'html'):28: Fatal[0]: <br >>> />/home/doyce/public_html/wiki/lib/WikiDB/backend/dumb/MostRecentIter.php:28: >>> : Assertion failed <br /> >>> >>> EXAMPLE 5 >>> RecentEdits also doesn't work at all. The error message is >>> suspiciously similar to the RecentChanges message: >>> >>> lib/WikiDB/backend/dumb/MostRecentIter.php (In template 'browse') >>> (In template 'body') (In template 'html'):28: Fatal[0]: <br >>> />/home/doyce/public_html/wiki/lib/WikiDB/backend/dumb/MostRecentIter.php:28: >>> : Assertion failed <br /> >>> >>> ----- >>> >>> I realize that most of these errors are probably connected to one or >>> two screw ups in configuration on my part, and I'm perfectly willing >>> to work through whatever I need to do to fix them -- I'm very >>> impressed with PHPWiki as a whole and I look forward to working with >>> it extensively in the future, so any help on these issues would be >>> much appreciated. Thanks. >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.net email is sponsored by: IBM Linux Tutorials. >>> Become an expert in LINUX or just sharpen your skills. Sign up for >>> IBM's >>> Free Linux Tutorials. Learn everything from the bash shell to sys >>> admin. >>> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click >>> _______________________________________________ >>> Phpwiki-talk mailing list >>> Php...@li... >>> https://lists.sourceforge.net/lists/listinfo/phpwiki-talk >>> >>> >>> >> > > > |