Xuups
Get an account!     Login

Utilities

Main menu

Who's Online

17 user(s) are online (2 user(s) are browsing Forum)

Members: 0
Guests: 17

more...

Get Xoops

Support Xuups Project


Browsing this Thread:   1 Anonymous Users





[BUG] Publisher and Tag modules : Fatal error : getVar()
Just popping in
Joined:
2010/7/24 13:52
From France
Group:
Registered Users
Posts: 2
Offline
I download Publisher and tag from your SVN everything works fine except when i click on tags in the cloud.

This doesn't happen each time but on a few tags

Quote:
Fatal error: Call to a member function getVar() on a non-object in /modules/publisher/include/plugin.tag.php on line 47


You can test here :
http://www.chtiland.com/v5/modules/tag/

Clicking on "Firefox" gives this error.

One think I must say, Publisher is really a very good Xoops' Modules !

Posted on: 2010/7/24 14:37
Transfer the post to other applications Transfer


Re: [BUG] Publisher and Tag modules : Fatal error : getVar()
Moderator
Joined:
2008/4/7 0:30
From Portugal
Group:
Webmasters
Registered Users
Posts: 303
Offline
Hi Fabrice, welcome to xuups!

Your article number 30 (itemid=30) is not visible. Can you tell me if you have deleted that item or if the article is present but not published?

Thanks.

Posted on: 2010/7/24 19:31
_________________
TDM
Transfer the post to other applications Transfer


Re: [BUG] Publisher and Tag modules : Fatal error : getVar()
Just popping in
Joined:
2010/7/24 13:52
From France
Group:
Registered Users
Posts: 2
Offline
This article is deleted, and one those tag was 'firefox'. (I remember it because I delete it by mistake).

In table xxxx_tag_tag
tag_id
tag_term
tag_status
tag_count
19
firefox
0
2


SELECT * FROM `xxxx_tag_link`WHERE tag_id = '19'

tl_idtag_id tag_modidtag_catidtag_itemidtag_time
28
19

40
0
30
 1279056208
57
19
40

0
34
 1279446704


tag_modid = 40 is publisher, but tag_itemid=30 doesn't exist anymore in publisher !

I tried to synchronize but nothing change. So i delete the record about this old publisher's article in xxxx_tag_link, and then it works fine.
I synchronize again, and count were corrected, and old entry about article 30 doesn't come back.

I don't know if it's publisher's job to update tag entries, or tag module to clean old entries, but one thing you must know about this deleted article id 30 :
This one was delete by mistake, but not directly. In fact I delete a category, and this article was in this category. And this article was deleted too.

Thanks for your answer, i was able to correct this "error", but it seems that a little bug is still present

I think it would be nice to have a little script in tag module to check for deleted entries and delete them.

Thanks again for your quick answer

Posted on: 2010/7/25 8:53
Transfer the post to other applications Transfer


Re: [BUG] Publisher and Tag modules : Fatal error : getVar()
Moderator
Joined:
2008/4/7 0:30
From Portugal
Group:
Webmasters
Registered Users
Posts: 303
Offline
That qualifies as a bug, publisher should delete tags along with the articles. Thanks for the report.

Posted on: 2010/7/25 14:23
_________________
TDM
Transfer the post to other applications Transfer


Re: [BUG] Publisher and Tag modules : Fatal error : getVar()
Moderator
Joined:
2008/4/7 0:30
From Portugal
Group:
Webmasters
Registered Users
Posts: 303
Offline
Bug fixed in SVN!

Posted on: 2010/7/25 15:03
_________________
TDM
Transfer the post to other applications Transfer


Re: [BUG] Publisher and Tag modules : Fatal error : getVar()
Just popping in
Joined:
2015/4/20 9:10
From Canada
Group:
Registered Users
Posts: 1
Offline
when an article edited from user side can it be redirect to the edited article page and not main page ?

Posted on: 2015/4/20 9:12
_________________
We provide guarantee to pass learnalanguage.com learn italian
Transfer the post to other applications Transfer






You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.

[Advanced Search]


 

Login

Username:

Password:

Remember me



Lost Password?

Register now!

Ajax Search


Advanced Search

Newest Posts