Site gone into HTTP 500 error after modifying plugin PHP file
-
I have WordPress and BBPress installed, and I added the Cartpauj PM plugin to have a private messaging system on the site. The plugin installed successfully, but I found an unwanted reply form on the botton of the private messages page on the website. So I tried to delete this from one of the PM-CLASS.PHP file of the plugin by removing these lines:
//SHOW THE REPLY FORM
$threadOut .= “</table>
<p>“.__(“Add Reply”, “cartpaujpm”).”:</p>
<form name=’message’ action='”.$this->actionURL.”checkmessage’ method=’post’>”.
$this->get_form_buttons().”
<textarea name=’message_content’></textarea>
<input type=’hidden’ name=’message_to’ value='”.$this->convertToUser($to).”‘ />
<input type=’hidden’ name=’message_title’ value='”.$re.$message_title.”‘ />
<input type=’hidden’ name=’message_from’ value='”.$user_ID.”‘ />
<input type=’hidden’ name=’message_date’ value='”.current_time(‘mysql’, $gmt = 1).”‘ />
<input type=’hidden’ name=’parent_id’ value='”.$pID.”‘ />
<input type=’submit’ onClick=’this.disabled=true;this.form.submit();’ value='”.__(“Send Message”, “cartpaujpm”).”‘ />
</form>”;Now the whole site is gone, that is odd, because even the admin dashboard is unaccessible. I wonder how this is possible when the PM messages plugin only adds a separate page in my website, it doesn’t even add to the frontpage, but even the dashboard is gone.
- The topic ‘Site gone into HTTP 500 error after modifying plugin PHP file’ is closed to new replies.