×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Lastest Comments module Problem

Lastest Comments module Problem 15 years 3 months ago #1988

  • Hermes Ojeda Ruiz
  • Hermes Ojeda Ruiz's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
Hi, first, i want to say "Thank you!" your component is really useful.

Excuse me, my english isn't good, but i'll try to explain my problem...

I've Joomla 1.5.8 (updated from 1.5.7) and !JoomlaComment 3.26 with Latest Comments 3.20 module.

The latest comment was working well, but since i use the SEF standard from joomla 1.5 it's not working. The link to the article with the comment isn't correct. I only obtain a 404 error.

This is the web page. On the left column say "Comentarios de Lectores-as"(Spanish) this is the "latest comments" module.
http://revolucionemosoaxaca.org

If you need more information about the problem, please only say it.


Thanks.

Lastest Comments module Problem 15 years 3 months ago #1999

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Happy new year!
Are you using joomla's cache?

Lastest Comments module Problem 15 years 3 months ago #2007

  • Hermes Ojeda Ruiz
  • Hermes Ojeda Ruiz's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
No, i'm not using Joomla Cache. It's necessary?

Lastest Comments module Problem 15 years 3 months ago #2008

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
In the demo version on our site we also use the same module - and we also use SEF URL, so we must track down the problem (that is why I was asking you).

Perhaps access to your web site will be helpful.

Lastest Comments module Problem 15 years 3 months ago #2009

  • Hermes Ojeda Ruiz
  • Hermes Ojeda Ruiz's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
May be a problem is that i didn't use the SEF url when i install the Latest Comment, when i active the SEF was the problem.

Do you need an account to my website? (if you need that, write me your mail and i'll send you an account)

Thanks for your help.

Lastest Comments module Problem 15 years 3 months ago #2010

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Nope, that has nothing to do with it.

Do you use 404SEF?

Yes super admin account to your web site would be helpful.

Lastest Comments module Problem 15 years 3 months ago #2022

  • Hermes Ojeda Ruiz
  • Hermes Ojeda Ruiz's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
I don't know what's the 404SEF.

I have activated on the global configuration: Friendly url, and mod_rewrite.
And the plugin System- SEF.


About your account, i'll send it to your e-mail.

Lastest Comments module Problem 15 years 3 months ago #2027

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I really don't understand why it is not working. In the module we use the same function that makes all other links on the front page.

The only difference I can find between your installation and mine is the Web Server to PHP interface: I'm using apache2handler and you the cgi-fcgi

But I don't have any idea if this has anything to do with the problem.
If anyone can give me a clue I will be very thankful.

Lastest Comments module Problem 15 years 3 months ago #2030

  • Hermes Ojeda Ruiz
  • Hermes Ojeda Ruiz's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
I'm really confuse.
The strange thing that i see is that the link use an option of the menu on the url. And, the admin section the link to the article is correct.
I don't know if the function to "build" the link is different on the admin section and on the latest comment module.

May be, i'll take a look to the source code.

Lastest Comments module Problem 15 years 3 months ago #2035

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
We always use function linkToContent to make the link in the content and in the module.
$url	= JRoute::_(ContentHelperRoute::getArticleRoute( ($this->_route_slug ? $this->_route_slug:$contentId) , $this->_route_catid, $this->_route_sectionid)
								. $add);
 

As you can see we use JRoute, so the link is made SEF from joomla, that is why I don't understand why it doesn't work in the module

Lastest Comments module Problem 15 years 3 months ago #2036

  • Hermes Ojeda Ruiz
  • Hermes Ojeda Ruiz's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
Yes, yesterday i'm looking the code, and i see that the way to "build" the link is using a Helper of Joomla. Now i need to finish a project before sunday, may be monday i'll take a look with more detail.

Something that's strange for me, is the use of sefRelToAbs, maybe is the problem, on the final of linkToContent function. Maybe the problem isn't of the module, and it's about SEF.

Lastest Comments module Problem 15 years 3 months ago #2041

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
where do we use sefRelToAbs?

Lastest Comments module Problem 15 years 3 months ago #2042

  • Hermes Ojeda Ruiz
  • Hermes Ojeda Ruiz's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
joomlacomment.3.26/plugin/com_content/josc_com_content.class.php

Line 206

Lastest Comments module Problem 15 years 3 months ago #2043

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hm, Ok. I'm working on the alpha version here and this is deleted.
remove the sefReltoAbs - this is legacy function and you don't need it if you run 1.5.

Lastest Comments module Problem 15 years 3 months ago #2044

  • Hermes Ojeda Ruiz
  • Hermes Ojeda Ruiz's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
Excuse me, I take a look to the source code without installation, only open the zip and read, and I don't know where is this file (/plugin/com_content/josc_com_content.class.php) on the directory structure of Joomla 1.5.

Thanks

Lastest Comments module Problem 15 years 3 months ago #2055

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
the file is in administrator/components/com_comment/plugin...

Lastest Comments module Problem 15 years 3 months ago #2077

  • Hermes Ojeda Ruiz
  • Hermes Ojeda Ruiz's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
Damn it!, I comment the line on the code, and don't work. This is only for the 1.0.x version. :(.

I'm really confusing. May be installing the alpha of 4.0 the problem will be solved, i don't know.

It's using the same tables? because a problem will be the past comments. The installation will delete the comments?

Lastest Comments module Problem 15 years 3 months ago #2078

  • Hermes Ojeda Ruiz
  • Hermes Ojeda Ruiz's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
I don't know what's happening, When I try to download the 4.0a version, I obtain this message: You do not have access to this Forum!

Lastest Comments module Problem 15 years 3 months ago #2095

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Hermes!
I will try to check the problem with the download section, but please don't use the 4.0a! It is not ready and there are still bugs that I'm fixing.

Lastest Comments module Problem 15 years 2 months ago #2681

  • Hermes Ojeda Ruiz
  • Hermes Ojeda Ruiz's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
I'm happy because the problem with de Lastest Comments is solved!

The solution was simple: Install Artio JoomSEF comments.
That's all.

I don't know why it works, but it works.

I found the solution because want to solve the problem with some URLs that show 404 Error.

I hope this helps someone.
  • Page:
  • 1
  • 2
Time to create page: 0.178 seconds