hi I have a problem with setting permalink Queries which were made for Rewriting: SELECT rewrite_name FROM fusion44293_permalinks_rewrites; SELECT r.rewrite_name, p.pattern_type, p.pattern_source, p.pattern_target, p.pattern_cat FROM fusion44293_permalinks_method p INNER JOIN fusion44293_permalinks_rewrites r WHERE r.rewrite_id=p.pattern_type AND r.rewrite_name IN('articles','blog','forums'Mrkat ORDER BY p.pattern_type; SELECT * FROM fusion44293_permalinks_alias WHERE alias_url='forum' LIMIT 1; Toggle Rewriting Debug Information Path to File: infusions/forum/index.php Request URI: forum Merged on Sep 26 2017 at 17:05:15: another test turn on permaline htaccess: <IfModule mod_rewrite.c> # Let PHP know mod_rewrite is enabled <IfModule mod_env.c> SetEnv MOD_REWRITE On </IfModule> RewriteEngine On RewriteBase /9/ # Fix Apache internal dummy connections from breaking [(site_url)] cache RewriteCond %{HTTP_USER_AGENT} ^.*internal\ dummy\ connection.*$ [NC] RewriteRule .* - [F,L] # Exclude /assets and /manager directories and images from rewrite rules RewriteRule ^(administration|themes)/*$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteCond %{REQUEST_URI} !^/(administration|config|index.php) RewriteRule ^(.*?)$ index.php [L] </IfModule> SELECT rewrite_name FROM fusion44293_permalinks_rewrites; SELECT r.rewrite_name, p.pattern_type, p.pattern_source, p.pattern_target, p.pattern_cat FROM fusion44293_permalinks_method p INNER JOIN fusion44293_permalinks_rewrites r WHERE r.rewrite_id=p.pattern_type AND r.rewrite_name IN('articles') ORDER BY p.pattern_type; SELECT * FROM fusion44293_permalinks_alias WHERE alias_url='articles' LIMIT 1; Toggle Rewriting Debug Information Path to File: infusions/articles/articles.php Request URI: articles 1. articles : No matching Alias found. 2. articles : No matching Alias Pattern found. Handlers Stack = Array ( [0] => articles ) ); Alias Patterns = Array ( ); Rewrite Codes = Array ( [articles] => Array ( [0] => %article_id% [1] => %c_start% [2] => %comment_id% [3] => %comment_cat% [4] => %rowstart% [5] => %article_title% [6] => %article_cat_id% [7] => %article_cat_name% [8] => %filter_type% [9] => %type% [10] => %stype% [11] => %hash_stop% ) ); Rewrite Replace = Array ( [articles] => Array ( [0] => ([0-9]+) [1] => ([0-9]+) [2] => ([0-9]+) [3] => ([0-9]+) [4] => ([0-9]+) [5] => ([0-9a-zA-Z._\W]+) [6] => ([0-9]+) [7] => ([0-9a-zA-Z._\W]+) [8] => ([0-9a-zA-Z]+) [9] => (A) [10] => (a) [11] => \#(?=\s*|) ) ); Pattern Search = Array ( [articles] => Array ( [0] => submit/%stype%/articles [1] => submit/%stype%/articles/submitted-and-thank-you [2] => articles/filter/%filter_type% [3] => print/%type%/%article_id%/%article_title% [4] => articles/comments-reply-%comment_cat%/%article_id%/%article_title% [5] => articles/comments-reply-%comment_cat%/%article_id%/%article_title%#c%comment_id% [6] => articles/comments-%c_start%/%article_id%/%article_title% [7] => articles/comments-%c_start%/%article_id%/%article_title%#%comment_id% [8] => articles/%article_id%/%article_title% [9] => articles/%article_id%-%rowstart%/%article_title% [10] => articles/category/%article_cat_id%/%article_cat_name% [11] => articles ) ); Pattern Replace = Array ( [articles] => Array ( [0] => submit.php?stype=%stype% [1] => submit.php?stype=%stype%&submitted=A [2] => infusions/articles/articles.php?type=%filter_type% [3] => print.php?type=%type%&item_id=%article_id% [4] => infusions/articles/articles.php?article_id=%article_id%&comment_reply=%comment_cat% [5] => infusions/articles/articles.php?article_id=%article_id%&comment_reply=%comment_cat%#c%comment_id% [6] => infusions/articles/articles.php?article_id=%article_id%&c_start=%c_start% [7] => infusions/articles/articles.php?article_id=%article_id%&c_start=%c_start%%hash_stop%#%comment_id% [8] => infusions/articles/articles.php?article_id=%article_id% [9] => infusions/articles/articles.php?article_id=%article_id%&rowstart=%rowstart% [10] => infusions/articles/articles.php?cat_id=%article_cat_id% [11] => infusions/articles/articles.php ) ); Pattern Regex = Array ( ); Module Property Information: articles rewrite module - %article_id% will be translated on fusion44293_articles WHERE article_id is equals to %article_id% - %article_cat_id% will be translated on fusion44293_article_cats WHERE article_cat_id is equals to %article_cat_id% ); Data Cache = Array ( ); $_GET Parameters = Array ( );
Edited by
balin on 26-09-2017 17:15,
7 y 0 replies