Some plugins redirect to home page when clicking certain links

I'm having a really annoying problem with all the ecommerce plugins including the market plugin, elgg social commerce plugin and classifieds plugin. After enabling any of these, when I want to view an ad/product I have created it just redirects back to the home page. The same thing happens when I click to view "friend's classifieds" with the classifieds plugin.

For example, I have a test site below:
http://boharia.com/pg/ad/default
(user:default, pass:default if you want to see for yourself)

If you click to view friends or click to view the test ad I made, it just redirects to the front page but it works fine if you click to view all classifieds or create a classified.
e.g. http://boharia.com/pg/ad/default/friends/
or http://boharia.com/pg/ad/default/read/4/test will both redirect to main page

This same behaviour happens with the other ecommerce plugins but I haven't seen this occur with any of the other plugins I have tried and I've tried about 20 others. I tried in Firefox 3.6 and Chrome 5, and noticed in Firefox that it gives a 302 Moved Temporarily status when it brings me to the front page.

I'm using Elgg 1.7.1 but I tried this on 1.7, 1.6.2 and 1.6.1 and the same thing happens in those. I've also tried it on another host and in my localhost and still this happens. I've also tried with Elgg installed in the root directory and in a subdirectory. I've set .htaccess as it tells me to in the wiki for installing Elgg, I've given the right value for RewriteBase too i.e. 'RewriteBase /' in this case and commented it out.

I don't understand how this i woking fine when I look at other people's websites but not in my cases. I've run out of ideas, please let me know if you have any suggestions.

  • @Jack moob, Sorry to tell you that, I was unable to replicate this problem for My plugin. I think there is some problem in your installation. Because i cant found any associated image corresponding to that classified in your site.

  • Thank you for checking it out, I'm also still not able to get it work, tried installing it many times. If anyone else has an idea please let me know.

  • Does this happen with the plugins provided with Elgg like blogs or pages?

  • I've just tried it out on the following plugins provided by Elgg and some others, including clicking on most of the links in these plugins, and they all work completely fine which is what makes this so strange: blog, bookmarks, groups, members, tidy pics photo gallery, the wire and izap_videos.

    I can't see any pattern why this is happening, for example you can see below how the links to viewing friend's blogs and friend's classifieds are almost identical but one works and the other doesn't:

    http://boharia.com/pg/blog/default/friends/ (works)

    http://boharia.com/pg/ad/default/friends/ (doesn't, redirects to dashboard)

    I'm running out of ideas on why this is happening, let me know if you need any more information too.

     

  • Anyone have any suggestions on this one? I've kept trying new installs and still no solution.

  • I just checked against 1.7.1 and there doesn't seem to be any problem with the stock htaccess redirects for /pg/ad/.  If you're ambitious, you could enable apache debug logging and see exactly what is being parsed by the .htaccess file.  That might help to shed some light on this problem.