Loading...
 
Architecture / Installation

Architecture / Installation


[solved] blank page after edit forum post

posts: 4

I hosted tiki wiki application on my own lighttpd server
My phpinfo it is as recomended:
max_execution_time 60
max_input_time 60
memory_limit 128M

When I create new topic post, it is successfully stored
But if I decide to edit it, I receive blank page
How to get this trouble done?

PS. sorry for my bad english

posts: 4
blog and wiki edit pages go without errors

posts: 1001 Canada
Make sure PHP error_reporting and display_error are enabled to see what's wrong. Which Tiki version do you use?
posts: 4
Philippe Cloutier wrote:
Make sure PHP error_reporting and display_error are enabled to see what's wrong. Which Tiki version do you use?


With php options below enabled it show no errors, only blank screen

error_reporting = E_ALL & ~ E_NOTICE
display_error = On

Tiki version 7.0

This only happens when I am editing forum post and click the button to post. Preview works great.


posts: 1
Philippe Cloutier wrote:
Try applying the Debug Mode Enabled profile. See http://tiki.org/ReleaseNotes7.0#Known_Issues



I fixed it on my install.

Here is what I added.

For the following error:

Fatal error: Call to a member function numRows() on a non-object in ...lib/comments/commentslib.php on line 2101

I added these lines to the update_comment function in commentslib.php:
--------------

Line 2099:
//ripped this from the remove_comment function in //commentslib.php (line 2354) and changed threadOrParent to //existingThread
$result = $comments->fetchAll($comments->all(), array(
'threadId' => $existingThread,
));

Line 2106 (formerly 2101):
//removed ->numRows(), which only seems to apply to query //results, and it worked
// if exactly same title and data comment does not already exist, and is not the current thread
if (!$result || in_array($threadId, $existingThread))

--------------

The rest of the file is the same.

Hope this helps out!

Dave

posts: 4

thanks, dkline03 smile

my problem solved