1 fugfuggy Nov 25, 2008 22:59
3 fugfuggy Nov 26, 2008 17:13
I commented out 108 and added your code to 109 and this is the result:
Parse error: parse error, unexpected T_OBJECT_OPERATOR in /home/gsgboo5/public_html/blog/plugins/am_extra_comment_plugin/_am_extra_comment.plugin.php on line 109
4 yabba Nov 26, 2008 17:21
:P at least it's a different error :P
Try changing it to the long winded version :
$BlogCache = get_Cache( 'BlogCache' );
$the_blog = $BlogCache->get_by_ID( $the_Item->blog_ID );
As untested as the first solution I'm afraid, as I don't have anywhere with this plugin installed :P
¥
5 fugfuggy Nov 26, 2008 17:24
I will try that. I left 108 commented out and it seems to work now. Not sure what this line is doing anyway.
6 yabba Nov 26, 2008 17:28
That lines used as part of the checks for "comments visible/answerable by members/editors/admins" .... if you don't use those statuses then it's no great loss.
Hopefully the above line will cure it though .... if not, then I guess I need to get off my arse, install it, and fix it properly :P
¥
7 fugfuggy Nov 26, 2008 17:31
it looks like that fixed it. That was my last little pain in the arse error to fix and now I have a fully functional blog site with no errors!!!!!!!!! Hooray!
Thanks for the quick response!
Cheers!
8 yabba Nov 26, 2008 17:34
Yay ... guess now I need to create a new zip and actually add the plugin to BOPIT :D
Thanks for finding the error ;)
¥
9 fugfuggy Nov 26, 2008 17:36
if only I could get BOPIT to work with my site :P
10 yabba Nov 26, 2008 17:47
:| bopit doesn't work with your site? 8|
¥
11 fugfuggy Nov 26, 2008 17:55
not sure if this is the right thread but here is the error from the BOPIT tab:
Fatal error: Cannot instantiate non-existent class: plugins_no_db in /home/gsgboo5/public_html/blog/plugins/am_bopit_plugin/_am_bopit.plugin.php on line 114
12 yabba Nov 26, 2008 17:59
Hmmmm. can you crack open the bopit file and tell me what the version number is? ( somewhere around line 24 )
¥
13 fugfuggy Nov 26, 2008 18:01
1.01
If only there were a plugin that would track such things :P
14 yabba Nov 26, 2008 18:03
:P
Urm, the current version of BOPIT is 2.5 ;) Can you download it ( [url=http://downloads.astonishme.co.uk/version-2-x/am_bopit_2_5.zip]bopit 2.5[/url] ) and see if that makes your admin turn all sorts of tacky colours?
¥
*edit*
Where on earth did you find version 1.0.1 btw?
15 fugfuggy Nov 26, 2008 18:41
jeez, so simple. How many problems can you solve for me today!?!?! My car is making a funny sound, can you fix that too? :p
Not sure where I got that version but it all works great now! Thanks for all of your help!
Damn it's been ages since I coded that :P
Try changing line 108 to read :
¥