Webmastersite.net
Register Log In

Add Links

Comments on Add Links

mrkarron
Experienced

Usergroup: Customer
Joined: Oct 02, 2003

Total Topics: 33
Total Comments: 97
Posted Sep 22, 2007 - 7:28 PM:

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

Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Sep 24, 2007 - 10:30 AM:

Can't reproduce. You're clicking the two links I've highlighted here? http://www.webmastersite.net/screenshots/28181.jpg
mrkarron
Experienced

Usergroup: Customer
Joined: Oct 02, 2003

Total Topics: 33
Total Comments: 97
Posted Sep 24, 2007 - 5:14 PM:

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?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Sep 25, 2007 - 1:59 PM:

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?
mrkarron
Experienced

Usergroup: Customer
Joined: Oct 02, 2003

Total Topics: 33
Total Comments: 97
Posted Sep 25, 2007 - 8:12 PM:

See screenshot. Could the changes to the wrapper effect this? There are no problems elsewhere.

Attached Files:
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Sep 26, 2007 - 10:38 AM:

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.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.