Menu Content

Podpora

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

Weird problem help appreciated!! URGENT
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: Weird problem help appreciated!! URGENT

Weird problem help appreciated!! URGENT 17 years, 4 months ago #2492

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

Re:Weird problem help appreciated!! URGENT 17 years, 4 months ago #2498

  • dajo
  • OFFLINE
  • Posts: 5069
Hi Onur,

try to buy our Support time at http://www.artio.cz/en/downloadable-software/support-services so we can help you with your specific problem.

Best regards,
David
ARTIO Support Team

FIXED:Weird problem help appreciated!! URGENT 17 years, 4 months ago #2502

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 ;)

Re:FIXED:Weird problem help appreciated!! URGENT 17 years, 4 months ago #2504

  • dajo
  • OFFLINE
  • Posts: 5069
I don't quite understand what the problem was. Could you please post some example urls? Thank you
ARTIO Support Team

Re:FIXED:Weird problem help appreciated!! URGENT 17 years, 4 months ago #2507

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 :)
  • Page:
  • 1
Přihlášení uživatele Prázdný