Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Profile for xenous

  • OFFLINE
  • Time Zone: GMT +0:00
  • Local Time: 03:55
  • Posts: 3
  • Profile Views: 1682
  • Location: Unknown
  • Gender: Unknown
  • Birthdate: Unknown

Signature

Posts

Posts

emo
Ok...

Lets say our normal url for content is :
index.php?option=com_content&task=view&id=116&Itemid=21

which will be :
option,com_content/task,view/id,116/Itemid,21 in core sef

The content is in a category named cıntent under a section named content. So joomsef tries to have an url like :
/content/somecontent.html

but due to the if statement to get URL in sef.php (starting line 63) :


 if (strstr($_SERVER['REQUEST_URI'], 'index.php/content/')
|| strstr($_SERVER['REQUEST_URI'], '/content/')
|| strstr($_SERVER['REQUEST_URI'], 'index.php/component/option,')
|| strstr($_SERVER['REQUEST_URI'], '/component/option,')) {
require_once('functions.php');
decodeurls_mambo();
}


the section or category or anything named as content tried to be published as a directory messes all around and makes php to get url as index.php?option=com_content&task=somecontent.html and the site gives 404 for pages with artio joomsef. Open sef shouts restricted access for the same reason. Solution was to remove content including cases from if statement or to change the section and category names. I preferred second as i dont have time to read through all code and understand why it has that statement (for url having /content/ in it). But as my content writers did that mistake having a section or category named as content i can tell you many are doing so. So it may be considered as a bug or should be staeted in documentation to warn people.

May the force be with you :)
Weird problem help a ...
Category: JoomSEF 3
emo
Problem was due to the content writes of site were using the section and category names as content which yhe artio thinks as a component again.... I think it should be solved in next version. As i consider it as a bug.. Thanks for all trying to help ;)
Weird problem help a ...
Category: JoomSEF 3
emo
I am using joomsef on a subdomain and is not working. When i swicth bac ko joomla core SEF it works with no problems. I tried to see the requested url with

echo $_SERVER['REQUEST_URI'];

and it is giving correct url for core sef like
index.php?option=com_content&task=view&id=xxx&Itemid=xxx

however joomsef is giving

index.php?option=com_content&task=contact-us-2.html

any ideas on it?
joomla version : 1.0.12
Artio joomsef version :1.5.1
Weird problem help a ...
Category: JoomSEF 3
More
Přihlášení uživatele Prázdný