Webmastersite.net
Register Log In

Error at combined details and comments

Comments on Error at combined details and comments

peumus
Forum Regular

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile

Total Topics: 172
Total Comments: 462
peumus
Posted Dec 20, 2008 - 10:19 AM:

Paul,

After manually upgrading to ver. 5.0.26 the following error arises when visiting combined details and comments:


Query 20: SELECT COUNT(*) FROM wsnlinks_comments WHERE linkid=1883 AND deleted=1

Count is 0

An error occoured at www.mysite.cl/wsnlinks/comm...ctos_frescos_para_exportar on 2008-12-20 16:14:45. Please relay this data to support. Error #2: 'call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'onelink::regiones' was given' in /usr/home/site/public_html/wsnlinks/includes/objectfunctions .php on line 336.

An error occoured at www.mysite.cl/wsnlinks/comm...ctos_frescos_para_exportar on 2008-12-20 16:14:45. Please relay this data to support. Error #2: 'call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'onelink::regiones' was given' in /usr/home/site/public_htm/wsnlinks/includes/objectfunctions. php on line 336.


Please help me on this.

peumus
Forum Regular

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile

Total Topics: 172
Total Comments: 462
peumus
Posted Dec 20, 2008 - 11:31 AM:

Just to comment that the field "regiones" mentioned above on the error report, is one of my own link files.
It´s a multi-select combo box type, can it be that this is the difficulty ?
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 22, 2008 - 1:33 PM:

You have something in your template which is wrong. I need to see the template to know what.
peumus
Forum Regular

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile

Total Topics: 172
Total Comments: 462
peumus
Posted Dec 26, 2008 - 7:06 PM:

I have just emailed my template.

Await for your reply.
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 27, 2008 - 3:01 AM:

You have {LINKREGIONES[]} in your template. You can't pass an empty parameter, you can either put something between them or remove the [].
peumus
Forum Regular

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile

Total Topics: 172
Total Comments: 462
peumus
Posted Dec 27, 2008 - 9:00 AM:

Deleting {LINKREGIONES[]} corrected this error, thanks.

Now when displaying home.tpl the following error arises. It seems that I am missing a table:




Query 13: SELECT COUNT(id) FROM feedstable WHERE 1=1 AND (ownerid=17)

An error occoured at www.mysite.cl/wsnlinks/prof...hp?action=memberhome&id=17 on 2008-12-27 14:56:21. Please relay this data to support. Error #2: 'mysql_fetch_row(): supplied argument is not a valid MySQL result resource' in /usr/home/user/public_html/wsnlinks/databases/mysql.php on line 50. Debug info:
Count is


Query 14: SELECT `` FROM feedstable WHERE 1=1 AND (ownerid=17) ORDER BY time DESC LIMIT 0,20

Load time so far: 0.21 seconds.


Table 'name1_name2.feedstable' doesn't exist

An error occoured at www.mysite.cl/wsnlinks/prof...hp?action=memberhome&id=17 on 2008-12-27 14:56:21. Please relay this data to support. Error #2: 'mysql_num_rows(): supplied argument is not a valid MySQL result resource' in /usr/home/user/public_html/wsnlinks/databases/mysql.php on line 47. Debug info:


Number of rows is Table 'name1_name2.feedstable' doesn't exist

Load time so far: 0.21 seconds.


Table 'name1_name2.feedstable' doesn't exist


peumus
Forum Regular

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile

Total Topics: 172
Total Comments: 462
peumus
Posted Dec 27, 2008 - 3:19 PM:

At home.tpl I had:

<!-- BEGIN TOPLIST 5 -->
<CONFIG>xmlfeeds,time,20,descending,ownerid ={THISMEMBERID}</CONFIG>

In where you have:
<!-- BEGIN TOPLIST 5 -->
<CONFIG>feeds,time,20,descending,ownerid=&# 123;THISMEMBERID}</CONFIG>

This was causing the errors.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.