2013-12-18, 01:52 AM
{EDIT} Also, I just realized... I think this may be in the wrong board? Sorry... {/EDIT}
I'm going to ramble nonsense because I am a complete novice and editing php ... with that said, I've royally screwed something while trying to display some info on my board. So forgive me if what I'm saying makes no sense/isn't accurate...
What I was attempting:
I have newpoints, but for some reason the newpoints postbit doesn't display on the Private Message screen. I was trying to get it to display {$post['newpoints_postbit']} by adding a hook to global_start. I added the following to the file inc/plugins/newpoints/core/hooks.php
.... now I keep getting these messages across the top of the screen. Here's an example:
I had saved a backup of the hooks.php file and reuploaded it (I didn't save a backup of my entire databased because I'm dumb like that)... but the errors are still there and some pages won't display at all.
What I'm assuming happened... (but I could be wrong)
So... it changed global_start file (??? where is this) ... but I don't know how to remove what was added to it or where this file is located.
Help!
I'm going to ramble nonsense because I am a complete novice and editing php ... with that said, I've royally screwed something while trying to display some info on my board. So forgive me if what I'm saying makes no sense/isn't accurate...
What I was attempting:
I have newpoints, but for some reason the newpoints postbit doesn't display on the Private Message screen. I was trying to get it to display {$post['newpoints_postbit']} by adding a hook to global_start. I added the following to the file inc/plugins/newpoints/core/hooks.php
$plugins->add_hook('global_start', 'newpoints_postbit');
.... now I keep getting these messages across the top of the screen. Here's an example:
Warning [2] Cannot modify header information - headers already sent by (output started at /home3/readysg6/public_html/akrasia/inc/plugins/newpoints/core/hooks.php:1) - Line: 1701 - File: inc/functions.php PHP 5.2.17 (Linux)
I had saved a backup of the hooks.php file and reuploaded it (I didn't save a backup of my entire databased because I'm dumb like that)... but the errors are still there and some pages won't display at all.
What I'm assuming happened... (but I could be wrong)
So... it changed global_start file (??? where is this) ... but I don't know how to remove what was added to it or where this file is located.
Help!