Menu Content

Podpora

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

Profile for valentinein1027

  • OFFLINE
  • Time Zone: GMT +0:00
  • Local Time: 22:03
  • Posts: 7
  • Profile Views: 3906
  • Location: Unknown
  • Gender: Unknown
  • Birthdate: Unknown

Signature

Posts

Posts

emo
Hello Jan,

I found what the problem is,

Joomsef uses "array_diff_key" function which is a inbuilt function and work only in php5. We have written an alternative function to solve this problem in php4.

refer: in2.php.net/function.array_diff_key

Every time when an extra parameter is passed through the url, JoomSEF executes the "array_diff_key" function, This creates the problem as the above mentioned function does not work with PHP4.



Thanks,
John
URL issue with JoomS ...
Category: JoomSEF
emo
After installing "JoomSEF V3.2.11" PAID VERSION, Filter for "Archived Articles" in frontend is not working in joomla 1.5. Please let me know about this ASAP.

Thanks,John
URL issue with JoomS ...
Category: JoomSEF
emo
Hi,

We are using JoomSEF V3.2.11,

We are having problem in virtuemart, actually this issue is there for the whole site because of JoomSEF.

In the following url the 1st url is working finr where as the second is not because we have an extra parameter "?vmcchk=1" Please let us know how to fix this issue.

1. www.domain.com/aboutus.html
2. www.domain.com/aboutus.html?vmcchk=1


Thanks,
John
URL issue with JoomS ...
Category: JoomSEF
emo
Hello ARTIO Support Team,

I worked around the code and has come up with a solution. Please let us know if this is ok.

####################################################
Here is the issue:
#####################################################
The redirection table generated few junk urls like

1. index.php?option=com_content&id=www.boomerbible.com/instapunk/MType/arch...k=view&Itemid=26
2. index.php?option=com_content&\';DECLARE @S CHAR(4000);SET @S=CAST(0x4445434C415245204054207661726368617228323535292C40432076617263686172283430303029204445434C415245205461626C655F437572736F7220435552534F5220464F522073656C65637420612E6E616D652C622E6E616D652

#####################################################
Here is the Solution:
#####################################################

JoomSEF rewrites every joomla URL to SEF URLS, our plan is to block the creation of SEF URLs if a Joomla URL contains special character.

For example in the below URL "http:" and "www." are the special character
"index.php?option=com_content&id=www.psikolojikyardim.org/etkinlik/includ...&Itemid=26"


Here are the few special characters that we will be checking for
1. http:
2. @
3. ' (single quotes)
4. charset

Please let me know if this is the valid solution
#####################################################

Code snippet of sef_ext.php (at line number 772)
#######################################################
// If 404 exists, rewrite it to the new URL
if (!is_null($id)) {
$sqlId = ((isset($Itemid) && $Itemid != '') ? ", `Itemid` = '$Itemid'" : '');
$query = "UPDATE #__redirection SET `newurl` = '".mysql_escape_string(urldecode($url))."'$sqlId WHERE `id` = '$id'";
$database->setQuery($query);

// If error occured.
if (!$database->query()) var_dump($query);
}
// Save it in the database as new record
else {
$col = $val = '';
if( isset($Itemid) && ($Itemid != '') ) {
$col = ', Itemid';
$val = ", '$Itemid'";
}
// WSX - START of the hack code
$wsx_Joomla_new_url=mysql_escape_string(urldecode($url));

$wsx_junk_keywords = array("www.", "(", "@", "CHAR(", "http");

$wsx_flag=100;

foreach($wsx_junk_keywords as $wsx_junk_temp )
{

$wsx_newstring = strstr($wsx_Joomla_new_url, $wsx_junk_temp);
if($wsx_newstring!="")
{
$wsx_flag=1999;
}

}

// WSX - END of the hack code
$query = 'INSERT INTO #__redirection (oldurl, newurl'.$col.') '.
"VALUES ('".$temploc."', '".mysql_escape_string(urldecode($url))."'$val)";
//WSX - If the condition is true for Junk char in URL, Stop inserting the URL into jos_redirection table
if($wsx_flag!=1999)
{
$database->setQuery($query);
}

// If error occured.
if (!$database->query()) var_dump($query);

}

#######################################################



Thanks,
John
Site hacked
Category: JoomSEF 3
emo
Hi David,


With regard to your post, You have said that "The only way you can prevent this at the moment is not using the Non-SEF to SEF redirect function. We'll try to tighten up our security measures for URLs in next version.", Is this issue solved in JoomSEF v2.3.0? Please let us know at the earliest, We don't want our site to get the junk urls

e.g.
technology-3.html index.php?option=com_content&id=www.boomerbible.com/instapunk/MType/arch...k=view&Itemid=26
technology-4.html index.php?option=com_content&id=www.kidspace-epe.com/photos/enahur/avid/...k=view&Itemid=26
technology-5.html index.php?option=com_content&id=www.vlopezalvarez.com/Personal/Fotos/Via...k=view&Itemid=26
technology-6.html index.php?option=com_content&id=www.psikolojikyardim.org/etkinlik/includ...k=view&Itemid=26


Thanks,
John
Site hacked
Category: JoomSEF 3
emo
Hi,

I am using JoomSEF v2.2.6, Today when I looked at the SEF url I could see few new URLs has been generated in the site.

Here is the few e.g of the generated url

technology-3.html index.php?option=com_content&id=www.boomerbible.com/instapunk/MType/arch...k=view&Itemid=26
technology-4.html index.php?option=com_content&id=www.kidspace-epe.com/photos/enahur/avid/...k=view&Itemid=26
technology-5.html index.php?option=com_content&id=www.vlopezalvarez.com/Personal/Fotos/Via...k=view&Itemid=26
technology-6.html index.php?option=com_content&id=www.psikolojikyardim.org/etkinlik/includ...k=view&Itemid=26


I copied the same url and I changed the few words and tried it again in the browser, but the url wassent generated.

Can you please let me know what the problem is and how this url is generated.

Thanks,
John
Site hacked
Category: JoomSEF 3
emo
Sir,

I have installed SMF forum in my site. com_smf works only if seo friendly is turned off, so I installed SEF so that I can turn on seo friendly url.

Issue 1:
It is working fine. The problem is when a mail is sent to the moderator from the forum the mail contains url which is not a sef url what to do.
Please advice me on this

url when seo friendly is turned off: sample/cms/index.php?option=com_smf&...mp;topic=1.msg1#msg1
url when seo friendly and SEF is turned on: index.php?option,com_smf&Itemid,99999999&topic,1.msg1#msg1

Issue 2:
some url in the mail is missing a last character

eg.
sample/cms/forum/33.ph

which should be sample/cms/forum/33.php

Thanks in advance,
John
SEF Issue when in SM ...
Category: JoomSEF 3
More
Přihlášení uživatele Prázdný