Members: 16,996
Threads: 38,846
Posts: 159,391
Online: 24

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 25.10.2004, 03:13   #21 (permalink)
Elite Mamber
 
twysm's Avatar
 
Join Date: Apr 2004
Location: /dev/peru/lima
Posts: 1,008
twysm can only hope to improve
Send a message via ICQ to twysm Send a message via MSN to twysm Send a message via Yahoo to twysm
Default Re: 404 Sef

Hi im confused a bit, look here:

www.ezwp.com

Why some blogcategories are with the rigth URLs and only one of them its not, eg. http://www.ezwp.com/ASP/page_2.ezwp it should be http://www.ezwp.com/ASP/ . Then all other blogcategories are ok. Im using the latest version (a4).
__________________
www.ezwp.com
www.diginetperu.com
twysm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 25.10.2004, 03:21   #22 (permalink)
Junior Mamber
 
Join Date: Oct 2004
Posts: 25
dcabbar is on a distinguished road
Default Re: 404 Sef

Another problem that I see is, when you type in
http://localhost/mambo/

What I see in the mainpage (mainbody) is: FILE NOT FOUND: /mambo/

However, if I type in http://localhost/mambo/index.php it works fine.

Any idea about this one?

Thanks!
dcabbar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 25.10.2004, 03:30   #23 (permalink)
m2k
Senior Mamber
 
m2k's Avatar
 
Join Date: Sep 2004
Posts: 221
m2k is on a distinguished road
Default Re: 404 Sef

Quote:
Originally Posted by twysm
Why some blogcategories are with the rigth URLs and only one of them its not, eg. http://www.ezwp.com/ASP/page_2.ezwp it should be http://www.ezwp.com/ASP/ . Then all other blogcategories are ok. Im using the latest version (a4).
Luck of the draw really, it process the urls is the order it finds them. If you look at the article Métodos y Propiedades de un RecordSet. Judging from the link, it appears to have found this one first. With phpMyAdmin, you should be able to swap them.
m2k is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 25.10.2004, 03:47   #24 (permalink)
m2k
Senior Mamber
 
m2k's Avatar
 
Join Date: Sep 2004
Posts: 221
m2k is on a distinguished road
Default Re: 404 Sef

Quote:
Originally Posted by dcabbar
Another problem that I see is, when you type in
http://localhost/mambo/

What I see in the mainpage (mainbody) is: FILE NOT FOUND: /mambo/

However, if I type in http://localhost/mambo/index.php it works fine.

Any idea about this one?

Thanks!
perhaps this change

PHP Code:
if ($mosConfig_sef) {
      if (!(
eregi("index[0-9]*.php",$_SERVER['REQUEST_URI']))) {
          
$base str_replace($mosConfig_live_site,"",$_SERVER['PHP_SELF']);
          switch (
$_SERVER['REQUEST_URI']) {
               case 
$base:
               case 
str_replace("index.php","",$base):
                   break;
               case 
"":
                   die(
"Something strange has occured. This should not happen"); 
m2k is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 25.10.2004, 03:52   #25 (permalink)
Junior Mamber
 
Join Date: Oct 2004
Posts: 25
dcabbar is on a distinguished road
Default Re: 404 Sef

Worked like a charm
THANKS AGAIN!
dcabbar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 25.10.2004, 03:58   #26 (permalink)
m2k
Senior Mamber
 
m2k's Avatar
 
Join Date: Sep 2004
Posts: 221
m2k is on a distinguished road
Default Re: 404 Sef

Quote:
Originally Posted by dcabbar
Worked like a charm
THANKS AGAIN!
Ok, I reopened the bug report as reminder for myself. This will make the next release.

Thanks for the feedback!
m2k is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 25.10.2004, 05:10   #27 (permalink)
Baby Mamber
 
Join Date: Oct 2004
Posts: 3
limey is on a distinguished road
Default Re: 404 Sef

Quote:
Originally Posted by m2k
Details??? What specifically is not working?
Please post the sql in question.
PHP Code:
ERRORUnclosed quote 107
STR
'
SQL: CREATE TABLE `mos_redirection` (
  `id` int(11) NOT NULL auto_increment,
  `cpt` int(11) NOT NULL default \'0\',
  `oldurl` varchar(100) NOT NULL default \'\',
  `newurl` varchar(150) NOT NULL default \'\',
  `dateadd` date NOT NULL default \'0000-00-00\',
  PRIMARY KEY  (`id`)
)
TYPE=MyISAM;
SQL-query :  

CREATE TABLE `mos_redirection` ( `id` int(11) NOT NULL auto_increment, `cpt` int(11) NOT NULL default \'0\', `oldurl` varchar(100) NOT NULL default \'\', `newurl` varchar(150) NOT NULL default \'\', `dateadd` date NOT NULL default \'0000-00-00\', PRIMARY KEY (`id`) ) TYPE=MyISAM; 

MySQL said: 


#1064 - You have an error in your SQL syntax near ''0\',
  `oldurl` varchar(100) NOT NULL default \'\',
  `newurl` varchar(150) NO' 
at line 3 
I may need glasses because I don't see anything unclosed.
limey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 25.10.2004, 05:25   #28 (permalink)
Elite Mamber
 
twysm's Avatar
 
Join Date: Apr 2004
Location: /dev/peru/lima
Posts: 1,008
twysm can only hope to improve
Send a message via ICQ to twysm Send a message via MSN to twysm Send a message via Yahoo to twysm
Thumbs up Re: 404 Sef

Thanks m2k! Great addon! Is there a posibility to 'map' characters and not to replace by a '_'? because 'p_agina' is not the same as 'página' so it could be just 'pagina', hope you understand what im trying to say

Why not ask Arthur to make a little news about this great addon?
twysm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 25.10.2004, 07:20   #29 (permalink)
m2k
Senior Mamber
 
m2k's Avatar
 
Join Date: Sep 2004
Posts: 221
m2k is on a distinguished road
Default Re: 404 Sef

Quote:
Originally Posted by limey

I may need glasses because I don't see anything unclosed.
Here's another dump of the structure straight from phpMyAdmin.
I left off the quotes this time.

#
# Table structure for table `mos_redirection`
#

DROP TABLE IF EXISTS mos_redirection;
CREATE TABLE mos_redirection (
id int(11) NOT NULL auto_increment,
cpt int(11) NOT NULL default '0',
oldurl varchar(100) NOT NULL default '',
newurl varchar(150) NOT NULL default '',
dateadd date NOT NULL default '0000-00-00',
PRIMARY KEY (id)
) TYPE=MyISAM;
m2k is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 25.10.2004, 08:02   #30 (permalink)
m2k
Senior Mamber
 
m2k's Avatar
 
Join Date: Sep 2004
Posts: 221
m2k is on a distinguished road
Default Re: 404 Sef

Quote:
Originally Posted by twysm
Thanks m2k! Great addon! Is there a posibility to 'map' characters and not to replace by a '_'? because 'p_agina' is not the same as 'página' so it could be just 'pagina', hope you understand what im trying to say
Thank you! and thanks for the feedback!

Ok, here's something to try. If you need to make additions to the array, please let me know about them.

PHP Code:
function titleToLocation(&$title) {
    global 
$SEF_replacement;
    
    
$locales = array(
        
"á" => "a",
        
"é" => "e",
        
"í" => "i",
        
"ó" => "o",
        
"ú" => "u",
        
"ä" => "a",
        
"ë" => "e",
        
"ď" => "i",
        
"ü" => "u",
        
"ö" => "o",
        
"ń" => "n");
    return 
$title preg_replace(array("/'/","/[^a-zA-Z0-9\-!.,+()]+/","/(^_|_$)/"),array("",$SEF_replacement,""),strtr($title,$locales));

m2k is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SEF / Cloaking / Redirect / Custom 404 module idea mkoenigs Mambo 5.0 Wishlist 3 27.11.2004 02:47
Using AkoComment with SEF milek Mambo 4.5 'How Do I' Questions 0 17.08.2004 17:50
Sef alphanostrum Mamboreport Dokus & Tips 6 17.05.2004 07:39
SEF issues with Apache 1.3.27 danews Mambo 4.5 Bugs 8 25.04.2004 20:06


All times are GMT +2. The time now is 08:37.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.