#3602 - After posting in the forum and trying to edit the post it's crashing

  • By
  • Added
  • 1 view
Identifier #3602
Issue type Major issue (breaks an entire feature)
Title After posting in the forum and trying to edit the post it's crashing
Status Closed (duplicate)
Handling member Chris Graham
Addon forum_blocks
Description If I go and make a post in the forum thread and then return it crashes and will not let any edits take place.
Steps to reproduce

post a new topic add text then save it then try to edit with new words and save edit and it will crash...

Additional information An error occurred on the 'topics' page
Sent 2:05 AM
An error occurred at:
http://rat-worx.com/forum/index.php?page=topics&type=_edit_post&redirect=http%3A%2F%2Frat-worx.com%2Fforum%2Findex.php%3Fpage%3Dtopicview%26id%3Dpersonal-and-hidden%252Fmodels-and-shit%252Fbetter-format%26topic_start%3D80%26post_id%3D229%26topic_id%3D28%26timestamp%3D1525154066%26redirected%3D1
Happened to IP address: ?.

The full error details follow:

PHP WARNING [2] json_encode() expects exactly 1 parameter, 2 given in sources/resource_fs.php on line 154 (version: 10.0.15, PHP version: 5.2.17, URL: /forum/index.php?page=topics&type=_edit_post&redirect=http%3A%2F%2Frat-worx.com%2Fforum%2Findex.php%3Fpage%3Dtopicview%26id%3Dpersonal-and-hidden%252Fmodels-and-shit%252Fbetter-format%26topic_start%3D80%26post_id%3D229%26topic_id%3D28%26timestamp%3D1525154066%26redirected%3D1)
Below is a stack trace revealing the state Composr was in when the error occurred. If this represents a bug in the unmodified software, you may want to check Composr website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information.
We apologise for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.

File '/home/bratrat/public_html/rat-worx.com/sources/failure.php'
Line 968
Function 'get_html_trace'
Args
File '/home/bratrat/public_html/rat-worx.com/sources/global2.php'
Line 1,019
Function '_fatal_exit'
Args
'PHP WARNING [2] json_encode() expects exactly 1 parameter, 2 given in sources/resource_fs.php on line 154'

File '/home/bratrat/public_html/rat-worx.com/sources/failure.php'
Line 286
Function 'fatal_exit'
Args
'PHP WARNING [2] json_encode() expects exactly 1 parameter, 2 given in sources/resource_fs.php on line 154'

File '/home/bratrat/public_html/rat-worx.com/sources/global2.php'
Line 888
Function '_composr_error_handler'
Args
'warning'

2

'json_encode() expects exactly 1 parameter, 2 given'

'sources/resource_fs.php'

154

4

Function 'composr_error_handler'
Args
2

'json_encode() expects exactly 1 parameter, 2 given'

'/home/bratrat/public_html/rat-worx.com/sources/resource_fs.php'

154

array

File '/home/bratrat/public_html/rat-worx.com/sources/resource_fs.php'
Line 154
Function 'json_encode'
Args
array

0

File '/home/bratrat/public_html/rat-worx.com/sources/revisions_engine_database.php'
Line 96
Function 'get_resource_fs_record'
Args
'post'

'229'

File '/home/bratrat/public_html/rat-worx.com/sources/cns_posts_action3.php'
Line 172
Function 'add_revision'
Class 'RevisionEngineDatabase'
Type '->'
Object O:22:"RevisionEngineDatabase":2:{s:5:"*db";O:17:"DatabaseConnector":8:{s:12:"table_prefix";s:4:"rwx_";s:15:"connection_read";a:2:{i:0;O:6:"mysqli":0:{}i:1;s:15:"bratrat_ratworx";}s:16:"connection_write";a:2:{i:0;r:5;i:1;s:15:"bratrat_ratworx";}s:26:"text_lookup_original_cache";a:0:{}s:17:"text_lookup_cache";a:0:{}s:18:"table_exists_cache";a:0:{}s:9:"static_ob";O:22:"Database_Static_mysqli":3:{s:8:"cache_db";a:1:{s:53:"a:2:{i:0;s:15:"bratrat_ratworx";i:1;s:9:"localhost";}";r:5;}s:14:"last_select_db";a:2:{i:0;r:5;i:1;s:15:"bratrat_ratworx";}s:16:"reconnected_once";b:0;}s:11:"dedupe_mode";b:0;}s:13:"*is_log_mod";b:1;}
Args
'post'

'229'

'28'

''

'I gave much thought to what you suggested... about the girl thing. Yea your probably right on coaching still she made it appear fishy lol. It was kiekee in the video ugly thing\n\nSo to say I swallowed my words and blamed it on running ragged last three days which is very true. No sleep today. Business issues and over night flight. \n\nHowever my anger with just an ass remains. Only because I see the maneuvering to keep his status he thinks he might have. \n\nThe more I think about stuff... i have her number a first real name to match what I have would put me in the trust area. This I love you crap is what bothers me mostly. If you love and want then be open and stick up for that love. So far the two arent mixing at all.\n\n'

2

1,525,154,679

11

File '/home/bratrat/public_html/rat-worx.com/forum/pages/modules/topics.php'
Line 3,371
Function 'cns_edit_post'
Args
229

1

''

'I gave much thought to what you suggested... about the girl thing. Yea your probably right on coaching still she made it appear fishy lol. It was kiekee in the video ugly thing\n\nSo to say I swallowed my words and blamed it on running ragged last three days which is very true. No sleep today. Business issues and over night flight. \n\nHowever my anger with just an ass remains. Only because I see the maneuvering to keep his status he thinks he might have or does not sure. \n\nThe more I think about stuff... i have her number a first real name to match what I have would put me in the trust area. This I love you crap is what bothers me mostly. If you love and want then be open and stick up for that love. So far the two arent mixing at all.\n\n'

0

0

NULL

false

false

''

true

1,525,154,700

1,525,154,640

2

true

true

NULL

Function '_edit_post'
Class 'Module_topics'
Type '->'
Object O:13:"Module_topics":1:{s:5:"title";N;}
Args
File '/home/bratrat/public_html/rat-worx.com/forum/pages/modules/topics.php'
Line 221
Function 'call_user_func'
Args
a:2:{i:0;O:13:"Module_topics":1:{s:5:"title";N;}i:1;s:10:"_edit_post";}

File '/home/bratrat/public_html/rat-worx.com/sources/zones.php'
Line 800
Function 'run'
Class 'Module_topics'
Type '->'
Object O:13:"Module_topics":1:{s:5:"title";N;}
Args
File '/home/bratrat/public_html/rat-worx.com/sources/site.php'
Line 1,211
Function 'load_module_page'
Args
'forum/pages/modules/topics.php'

'topics'

Tempcode -> ...

File '/home/bratrat/public_html/rat-worx.com/sources/site.php'
Line 921
Function 'request_page'
Args
'topics'

true

NULL

NULL

false

false

Tempcode -> ...

File '/home/bratrat/public_html/rat-worx.com/forum/index.php'
Line 59
Function 'do_site'
Args
Parameters
csrf_token
4930af79b9a06
label_for__reason
Reason
reason
require__reason
0
label_for__post
Your message
comcode__post
1
from_url
http://rat-worx.com/forum/index.php?page=topics&type=edit_post&id=229&redirect=http%3A%2F%2Frat-worx.com%2Fforum%2Findex.php%3Fpage%3Dtopicview%26id%3Dpersonal-and-hidden%252Fmodels-and-shit%252Fbetter-format%26topic_start%3D80%26post_id%3D229%26topic_id%3D28%26timestamp%3D1525154066%26redirected%3D1
post_id
229
MAX_FILE_SIZE
1073741824
f_face
/
f_size
f_colour
post
I gave much thought to what you suggested... about the girl thing. Yea your probably right on coaching still she made it appear fishy lol. It was kiekee in the video ugly thing So to say I swallowed my words and blamed it on running ragged last three days which is very true. No sleep today. Business issues and over night flight. However my anger with just an ass remains. Only because I see the maneuvering to keep his status he thinks he might have or does not sure. The more I think about stuff... i have her number a first real name to match what I have would put me in the trust area. This I love you crap is what bothers me mostly. If you love and want then be open and stick up for that love. So far the two arent mixing at all.
txtFileName_file1
hidFileID_file1
-1
posting_ref_id
1612562931
label_for__meta_submitter
Owner
meta_submitter
Master Rat
require__meta_submitter
1
label_for__meta_add_time
Add date/time
meta_add_time
2018-05-01
meta_add_time_time
02:04
require__meta_add_time
1
label_for__meta_edit_time
Edit date/time
meta_edit_time
2018-05-01
meta_edit_time_time
02:05
require__meta_edit_time
0
label_for__is_emphasised
Emphasised
tick_on_form__is_emphasised
0
validated
1
label_for__validated
Validated
tick_on_form__validated
0
label_for__mark_as_unread
Mark as unread
tick_on_form__mark_as_unread
0
label_for__show_as_edited
Show as edited
tick_on_form__show_as_edited
0
label_for__delete
Delete
tick_on_form__delete
0
require__delete
0
http_referer
http://rat-worx.com/forum/index.php?page=topics&type=edit_post&id=229&redirect=http%3A%2F%2Frat-worx.com%2Fforum%2Findex.php%3Fpage%3Dtopicview%26id%3Dpersonal-and-hidden%252Fmodels-and-shit%252Fbetter-format%26topic_start%3D80%26post_id%3D229%26topic_id%3D28%26timestamp%3D1525154066%26redirected%3D1
Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated