When addiding links or cats via the admin panel I receive the following:
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'iscommon' was given in /home/couponsd/public_html/production/includes/templatefunctions.php on line 118
Query 8: SELECT `id`,`to`,`subject`,`message`,`headers`,`replacement`,`mime` FROM wsnlinks_email WHERE timesent=0 ORDER BY id ASC LIMIT 0,10
Number of rows is 0
Query 9: UNLOCK TABLES
Load time so far: 0.29 seconds.
Query 10: SELECT `id`,`type`,`objectid`,`filename`,`filetitle`,`filesize`,`width`,`height`,`memberid`,`time`,`deleted`,`field`,`downloads`,`validated`,`ownerip`,`catid` FROM wsnlinks_attachments WHERE type='link' AND objectid=0 AND memberid=1 AND ownerip='76.240.105.62' AND time>1190487011 ORDER BY time DESC
Number of rows is 0
Load time so far: 0.7 seconds.
Query 11: SELECT `id`,`memberid`,`location`,`time`,`ip`,`browser`,`starttime`,`catid`,`threadid`,`areaname`,`lastsearch`,`nopermission`,`inchat`,`name`,`isrobot`,`lastchat`,`groupnamestyle`,`acceptims`,`visibility`,`profileurl` FROM wsnlinks_sessions WHERE memberid=1
Number of rows is 1
Load time so far: 0.7 seconds.
Query 12: UPDATE wsnlinks_sessions SET starttime='1190501971', time='1190507011', location='http://xx.xx/production/suggest.php?action=addlink&customwrapper=admin-wrapper&redirectto=adminnew', catid='0', threadid='', areaname='Suggest New Link', nopermission='0', inchat='0', ip='76.240.105.62' WHERE id=103
Yes I am. The problem exists on three of the four installs that I have done. Note that the three problem sites are upgrades from 4.0.x..
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'iscommon' was given in /home/couponsf/public_html/includes/templatefunctions.php on line 118 {THEVERSION} Admin Panel + Add to common tasks Links Directory > Suggest New Category Suggest New Category Category Type: regularsitemapcategorycoupon
Can I provide any additional info which might help?
Well the iscommon function is needed in the admin panel, but this isn't in the admin panel. When you click 'add link' it should be showing you your user-side, like this: http://www.webmastersite.net/screenshots/9140.jpg . Does it look different for you?
Comments on Add Links
Experienced
Usergroup: Customer
Joined: Oct 02, 2003
Total Topics: 33
Total Comments: 97
When addiding links or cats via the admin panel I receive the following:
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'iscommon' was given in /home/couponsd/public_html/production/includes/templatefunctions.php on line 118
Query 8: SELECT `id`,`to`,`subject`,`message`,`headers`,`replacement`,`mime` FROM wsnlinks_email WHERE timesent=0 ORDER BY id ASC LIMIT 0,10
Number of rows is 0
Query 9: UNLOCK TABLES
Load time so far: 0.29 seconds.
Query 10: SELECT `id`,`type`,`objectid`,`filename`,`filetitle`,`filesize`,`width`,`height`,`memberid`,`time`,`deleted`,`field`,`downloads`,`validated`,`ownerip`,`catid` FROM wsnlinks_attachments WHERE type='link' AND objectid=0 AND memberid=1 AND ownerip='76.240.105.62' AND time>1190487011 ORDER BY time DESC
Number of rows is 0
Load time so far: 0.7 seconds.
Query 11: SELECT `id`,`memberid`,`location`,`time`,`ip`,`browser`,`starttime`,`catid`,`threadid`,`areaname`,`lastsearch`,`nopermission`,`inchat`,`name`,`isrobot`,`lastchat`,`groupnamestyle`,`acceptims`,`visibility`,`profileurl` FROM wsnlinks_sessions WHERE memberid=1
Number of rows is 1
Load time so far: 0.7 seconds.
Query 12: UPDATE wsnlinks_sessions SET starttime='1190501971', time='1190507011', location='http://xx.xx/production/suggest.php?action=addlink&customwrapper=admin-wrapper&redirectto=adminnew', catid='0', threadid='', areaname='Suggest New Link', nopermission='0', inchat='0', ip='76.240.105.62' WHERE id=103
{THEVERSION} Admin Panel
+ Add to common tasks
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Can't reproduce. You're clicking the two links I've highlighted here? http://www.webmastersite.net/screenshots/28181.jpg
Experienced
Usergroup: Customer
Joined: Oct 02, 2003
Total Topics: 33
Total Comments: 97
Yes I am. The problem exists on three of the four installs that I have done. Note that the three problem sites are upgrades from 4.0.x..
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'iscommon' was given in /home/couponsf/public_html/includes/templatefunctions.php on line 118 {THEVERSION} Admin Panel + Add to common tasks Links Directory > Suggest New Category Suggest New Category Category Type: regularsitemapcategorycoupon
Can I provide any additional info which might help?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Well the iscommon function is needed in the admin panel, but this isn't in the admin panel. When you click 'add link' it should be showing you your user-side, like this: http://www.webmastersite.net/screenshots/9140.jpg . Does it look different for you?
Experienced
Usergroup: Customer
Joined: Oct 02, 2003
Total Topics: 33
Total Comments: 97
See screenshot. Could the changes to the wrapper effect this? There are no problems elsewhere.
Attached Files:
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
You must have a different templates/admin/add.tpl from the default. Well I'll add handling so it can work with that template setup.