1 erock Jul 19, 2007 22:16
3 mar1985 Aug 01, 2007 00:23
I also get the same error message... Anyone does know how can we solvw it? This is a good plugin... if it works
4 yabba Aug 01, 2007 16:34
if you crack open the plugin, there's a bit ( probably somewhere really close to line 58 ) that looks something like :
function GetDefaultSettings( & $params )
Just delete the & $params bit and it should work ;)
¥
5 waltercruz Aug 07, 2007 00:00
The part that should be removed is just the & isn't?
6 afwas Aug 07, 2007 00:27
try removing & $params so you end up with:
function GetDefaultSettings()
This may or may not work according to other users. Please report back what it did for you.
Good luck.
7 karen Aug 07, 2007 10:34
hi afwas. i have the same error now. i had just checked the php fie and it is showing
PHP:
function GetDefaultSettings()
but still it doesnt work and im having that kind of error. pls help.
8 afwas Aug 07, 2007 10:49
¥åßßå is answering this question at [url=http://forums.b2evolution.net/viewtopic.php?t=12268&start=0&postdays=0&postorder=asc&highlight=][1.10.x] Adsense plugin doing nothing[/url].
9 karen Aug 07, 2007 10:57
thanks for your quick reply. but, do you know which code shoud be ammended and how?
10 afwas Aug 07, 2007 11:03
wrote in [url=http://forums.b2evolution.net/viewtopic.php?t=12268&start=0&postdays=0&postorder=asc&highlight=][1.10.x] Adsense plugin doing nothing[/url]
¥åßßå wrote:
Troy wrote:
I hate to say this, but still no luck. Should I change it back?
Leave it as it is for the moment and edit and re-save your original test post and see what happens.
¥
Good luck
11 karen Aug 07, 2007 11:36
hi afwas. that is ¥åßßå's reply for troy.
12 afwas Aug 07, 2007 11:51
and
¥åßßå wrote:
edit and re-save your original test post and see what happens.¥
is my answer to you. In fact ¥åßßå is answering the same question elswhere.
Good luck
13 karen Aug 07, 2007 11:58
hi afwas. thanks for your reply.
14 erock Oct 01, 2007 15:55
Hi, I had the same php errors as above...removing the param stopped the SAVE error. However...the ADSENSE button just gives...Errors on Page message bottom right corner.
Did another thread resolve this issue?
15 yabba Oct 01, 2007 16:07
A link to your blog where you're having this problem would be useful ;)
¥
16 erock Oct 01, 2007 16:14
http://trueparenting.co.uk/Blog/
Adsense down the right side is hardcoded in the main.php
17 yabba Oct 01, 2007 16:20
I don't get any js errors on your page, but the only ads I see are the ones in the right column?
¥
18 erock Oct 01, 2007 16:22
The 'Error on Page' is displayed in the bottom left corner, when I click the ADSENSE button when creating a blog entry. Sunsequently...there is no adsense code in any of the blog posts.
19 yabba Oct 01, 2007 16:31
Ahhh, now you make more sense :p
If you're using firefox then you might want to download the [url=https://addons.mozilla.org/en-US/firefox/addon/1843]firebug[/url] extension, it shows you all sorts of stuff including any js errors.
Without being able to see the error it's a tad tough to help
¥
20 erock Oct 02, 2007 13:42
I enable Javascript error on IE....
Line: 103
Char: 1
Error: Object expected
Code: 0
URL - B2 admin.php
This is line 103 from the source....
</span></span><div class="edit_toolbars"><div class="edit_toolbar"><input type="button" id="adsense_default" title="Insert AdSense block" class="quicktags" onclick="textarea_wrap_selection( b2evoCanvas, '[adsense:]', '', 1 );" value="AdSense" /></div>
21 erock Oct 09, 2007 16:58
bump...anybody seen this/solved this problem?
22 ppnsteve Oct 10, 2007 20:36
can't even load it in admin area.. get major errors (running 1.8.6):
when you 'edit' the plugin I get this error:
Plugin info
Name:
AdSense
Short desc:
No desc available
Plugin settings
Warning: Missing argument 1 for adsense_plugin::GetDefaultSettings(), called in /home/a4at/public_html/blog/inc/VIEW/settings/_set_plugins_editsettings.form.php on line 87 and defined in /home/a4at/public_html/blog/plugins/_adsense.plugin.php on line 58
An unexpected error has occured!
If this error persits, please report it to the administrator.
Go back to home page
Additional information about this error:
Unsupported type [html_textarea] from GetDefaultSettings()!
23 yabba Oct 11, 2007 11:47
¥åßßå wrote:
if you crack open the plugin, there's a bit ( probably somewhere really close to line 58 ) that looks something like :
function GetDefaultSettings( & $params )
Just delete the & $params bit and it should work ;)
¥
24 erock Oct 11, 2007 16:02
The amendment fixes the php errors on the post above, but I've already done this and now get
Posted: Tue Oct 02, 2007 7:42 Post subject:
--------------------------------------------------------------------------------
I enable Javascript error on IE....
Line: 103
Char: 1
Error: Object expected
Code: 0
URL - B2 admin.php
This is line 103 from the source....
</span></span><div class="edit_toolbars"><div class="edit_toolbar"><input type="button" id="adsense_default" title="Insert AdSense block" class="quicktags" onclick="textarea_wrap_selection( b2evoCanvas, '[adsense:]', '', 1 );" value="AdSense" /></div>
Got the same error message. The second part is clear: Headers cannot be sent after the error message was printed - but the irst part I cannot understand - Francois?