Changes between Version 29 and Version 30 of GenDolTShooter


Ignore:
Timestamp:
Jul 15, 2008, 9:36:25 AM (16 years ago)
Author:
IgorL
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GenDolTShooter

    v29 v30  
    33'''[http://www.boonex.com/trac/dolphin/wiki/GenDolTShooter#Iseethiserroronsomeofmysitespages:Calltoundefinedfunction:mb_ereg_replaceinpath_to_dolphinincutils.inc.phponline120 I see this error on some of my site's pages: "Call to undefined function: mb_ereg_replace() in /path_to_dolphin/inc/utils.inc.php on line 120"]''' 
    44 
    5 '''[http://www.boonex.com/trac/dolphin/wiki/GenDolTShooter#WhenItrytoopensomebodysprofileIgetthispage:NotFound When I try to open somebody's profile, I get this page: "Not Found"]''' 
     5'''[http://www.boonex.com/trac/dolphin/wiki/GenDolTShooter#WhenItrytoopenaNavigationMenulinkorsomebodysprofileIgetthispage:NotFound When I try to open a Navigation Menu link or somebody's profile, I get this page: "Not Found"]''' 
    66 
    77'''[http://www.boonex.com/trac/dolphin/wiki/GenDolTShooter#IseethiserrorwhenIopenmysite:Warning:Missingargument1forTopMenuDesigncalledin...templatestmpl_...scriptsBxTemplMenu.phponline45anddefinedin...incmenu.inc.phponline250 I see this error when I open my site: "Warning: Missing argument 1 for TopMenuDesign(), called in ...templates\tmpl_...\scripts\BxTemplMenu.php on line 45 and defined in ...inc\menu.inc.php on line 250"]''' 
     
    4242---- 
    4343 
    44         == When I try to open somebody's profile, I get this page: ''Not Found'' == 
    45  
    46 The problem is that your Apache server is not compiled with rewrite module or you don't have rewrite instructions in your Dolphin's root .htaccess file. These instructions should be as follows: 
    47         {{{ 
    48         <IfModule mod_rewrite.c> 
    49             RewriteEngine on 
    50             RewriteCond %{REQUEST_FILENAME} -f [OR] 
    51             RewriteCond %{REQUEST_FILENAME} -d 
    52             RewriteRule .+ - [L] 
    53             RewriteRule ^([A-Za-z0-9_-]+)$ profile.php?ID=$1 [QSA,L] 
    54         </IfModule> 
    55         }}} 
     44        == When I try to open a Navigation Menu link or somebody's profile, I get this page: ''Not Found'' == 
     45 
     46The problem is that your Apache server is not compiled with '''mod_rewrite''' module or you don't have rewrite instructions in your Dolphin's root .htaccess file. These instructions should be as follows: 
     47    {{{ 
     48<IfModule mod_rewrite.c> 
     49RewriteEngine on 
     50 
     51RewriteRule ^articles/{0,1}$   articles.php [QSA,L] 
     52RewriteRule ^articles/entry/([^/.]+)/{0,1}$   articles.php?action=viewarticle&articleUri=$1 [QSA,L] 
     53RewriteRule ^articles/entry/{0,1}$   articles.php?action=viewarticle&articleUri=$1 [QSA,L] 
     54RewriteRule ^articles/category/([^/.]+)/{0,1}$   articles.php?action=viewcategory&articleCatUri=$1 [QSA,L] 
     55 
     56RewriteRule ^news/{0,1}$  news.php [QSA,L] 
     57RewriteRule ^news/([^/.]+)/{0,1}$  news.php?newsUri=$1 [QSA,L] 
     58 
     59RewriteRule ^blogs/{0,1}$   blogs.php [QSA,L] 
     60RewriteRule ^blogs/all/([0-9]+)/([0-9]+)/{0,1}$  blogs.php?page=$2&per_page=$1  [QSA,L] 
     61RewriteRule ^blogs/top/{0,1}$   blogs.php?action=top_blogs [QSA,L] 
     62RewriteRule ^blogs/top/([0-9]+)/([0-9]+)/{0,1}$   blogs.php?action=top_blogs&page=$2&per_page=$1 [QSA,L] 
     63RewriteRule ^blogs/top_posts/{0,1}$   blogs.php?action=top_posts [QSA,L] 
     64RewriteRule ^blogs/tag/([^/.]+)/{0,1}$   blogs.php?action=search_by_tag&tagKey=$1 [QSA,L] 
     65RewriteRule ^blogs/tag/{0,1}$   blogs.php?action=search_by_tag&tagKey= [QSA,L] 
     66RewriteRule ^blogs/posts/([^/.]+)/tag/([^/.]+)/{0,1}$   blogs.php?action=search_by_tag&tagKey=$2&ownerName=$1 [QSA,L] 
     67RewriteRule ^blogs/posts/([^/.]+)/category/([^/.]+)/{0,1}$   blogs.php?action=show_member_blog&ownerName=$1&categoryUri=$2 [QSA,L] 
     68RewriteRule ^blogs/entry/([^/.]+)/{0,1}$   blogs.php?action=show_member_post&postUri=$1 [QSA,L] 
     69RewriteRule ^blogs/entry/{0,1}$    blogs.php?action=show_member_post&postUri= [QSA,L] 
     70RewriteRule ^blogs/posts/([^/.]+)/{0,1}$   blogs.php?action=show_member_blog&ownerName=$1 [QSA,L] 
     71RewriteRule ^blogs/posts/{0,1}$   blogs.php?action=show_member_blog&ownerName= [QSA,L] 
     72RewriteRule ^blogs/posts/([^/.]+)/([0-9]+)/([0-9]+)/{0,1}$   blogs.php?action=show_member_blog&ownerName=$1&page=$3&per_page=$2 [QSA,L] 
     73RewriteRule ^blogs/posts/([^/.]+)/category/([^/.]+)/([0-9]+)/([0-9]+)/{0,1}$   blogs.php?action=show_member_blog&ownerName=$1&categoryUri=$2&page=$4&per_page=$3 [QSA,L] 
     74 
     75RewriteRule ^events/{0,1}$  events.php?show_events=all&action=show [QSA,L] 
     76RewriteRule ^events/all/([0-9]+)/([0-9]+)/{0,1}$  events.php?show_events=all&action=show&page=$2&per_page=$1  [QSA,L] 
     77RewriteRule ^events/part/{0,1}$  events.php?show_events=all&action=show [QSA,L] 
     78RewriteRule ^events/search/{0,1}$  events.php?action=search [QSA,L] 
     79RewriteRule ^events/search/([^/.]+)/{0,1}$  events.php?action=search_by_tag&tagKey=$1 [QSA,L] 
     80RewriteRule ^events/my/{0,1}$  events.php?action=show&show_events=my [QSA,L] 
     81RewriteRule ^events/new/{0,1}$  events.php?action=new [QSA,L] 
     82RewriteRule ^events/entry/([^/.]+)/{0,1}$  events.php?action=show_info&eventUri=$1 [QSA,L] 
     83RewriteRule ^events/part/([^/.]+)/{0,1}$  events.php?action=show_part&eventUri=$1 [QSA,L] 
     84 
     85RewriteRule ^ads/{0,1}$  classifieds.php?Browse=1 [QSA,L] 
     86RewriteRule ^ads/search/{0,1}$  classifieds.php?SearchForm=1 [QSA,L] 
     87RewriteRule ^ads/my/{0,1}$  classifiedsmy.php?MyAds=1 [QSA,L] 
     88RewriteRule ^ads/new/{0,1}$  classifiedsmy.php?PostAd=1 [QSA,L] 
     89RewriteRule ^ads/cat/([^/.]+)/{0,1}$  classifieds.php?catUri=$1 [QSA,L] 
     90RewriteRule ^ads/all/cat/([0-9]+)/([0-9]+)/([^/.]+)/{0,1}$  classifieds.php?catUri=$3&page=$2&per_page=$1 [QSA,L] 
     91RewriteRule ^ads/subcat/([^/.]+)/{0,1}$  classifieds.php?scatUri=$1 [QSA,L] 
     92RewriteRule ^ads/all/subcat/([0-9]+)/([0-9]+)/([^/.]+)/{0,1}$  classifieds.php?scatUri=$3&page=$2&per_page=$1 [QSA,L] 
     93RewriteRule ^ads/entry/([^/.]+)/{0,1}$  classifieds.php?entryUri=$1 [QSA,L] 
     94RewriteRule ^ads/tag/([^/.]+)/{0,1}$  classifieds_tags.php?tag=$1 [QSA,L] 
     95 
     96RewriteRule ^photo/all/([0-9]+)/([0-9]+)/{0,1}$   browsePhoto.php?page=$2&per_page=$1 [QSA,L] 
     97RewriteRule ^photo/gallery_top/{0,1}$  browsePhoto.php?rate=top [QSA,L] 
     98RewriteRule ^photo/gallery_top/([0-9]+)/([0-9]+)/{0,1}$  browsePhoto.php?rate=top&page=$2&per_page=$1 [QSA,L] 
     99RewriteRule ^photo/gallery_top/([0-9]+)/([0-9]+)/{0,1}$  browsePhoto.php?rate=top&page=$2&per_page=$1 [QSA,L] 
     100RewriteRule ^photo/gallery_tag/([^/.]+)/([0-9]+)/([0-9]+)/{0,1}$  browsePhoto.php?tag=$1&page=$3&per_page=$2 [QSA,L] 
     101RewriteRule ^photo/gallery_tag/([^/.]+)/([0-9]+)/([0-9]+)/$  browsePhoto.php?tag=$1&page=$3&per_page=$2 [QSA,L] 
     102RewriteRule ^photo/gallery_tag/([^/.]+)/{0,1}$  browsePhoto.php?tag=$1 [QSA,L] 
     103RewriteRule ^photo/gallery/all/([^/.]+)/([0-9]+)/([0-9]+)$  browsePhoto.php?ownerName=$1&page=$3&per_page=$2 [QSA,L] 
     104RewriteRule ^photo/gallery/all/([^/.]+)/([0-9]+)/([0-9]+)/$  browsePhoto.php?ownerName=$1&page=$3&per_page=$2 [QSA,L] 
     105RewriteRule ^photo/gallery/all/([^/.]+)/{0,1}$  browsePhoto.php?ownerName=$1 [QSA,L] 
     106RewriteRule ^photo/gallery/([^/.]+)/{0,1}$  viewPhoto.php?fileUri=$1 [QSA,L] 
     107RewriteRule ^photo/gallery/{0,1}$  viewPhoto.php?fileUri=$1 [QSA,L] 
     108 
     109RewriteRule ^music/all/([0-9]+)/([0-9]+)/{0,1}$  browseMusic.php?page=$2&per_page=$1 [QSA,L] 
     110RewriteRule ^music/gallery_top/{0,1}$  browseMusic.php?rate=top [QSA,L] 
     111RewriteRule ^music/gallery_top/([0-9]+)/([0-9]+)/{0,1}$  browseMusic.php?rate=top&page=$2&per_page=$1 [QSA,L] 
     112RewriteRule ^music/gallery_top/([0-9]+)/([0-9]+)/{0,1}$  browseMusic.php?rate=top&page=$2&per_page=$1 [QSA,L] 
     113RewriteRule ^music/gallery_tag/([^/.]+)/([0-9]+)/([0-9]+)/{0,1}$  browseMusic.php?tag=$1&page=$3&per_page=$2 [QSA,L] 
     114RewriteRule ^music/gallery_tag/([^/.]+)/([0-9]+)/([0-9]+)/$  browseMusic.php?tag=$1&page=$3&per_page=$2 [QSA,L] 
     115RewriteRule ^music/gallery_tag/([^/.]+)/{0,1}$  browseMusic.php?tag=$1 [QSA,L] 
     116RewriteRule ^music/gallery/all/([^/.]+)/([0-9]+)/([0-9]+)$  browseMusic.php?ownerName=$1&page=$3&per_page=$2 [QSA,L] 
     117RewriteRule ^music/gallery/all/([^/.]+)/([0-9]+)/([0-9]+)/$  browseMusic.php?ownerName=$1&page=$3&per_page=$2 [QSA,L] 
     118RewriteRule ^music/gallery/all/([^/.]+)/{0,1}$  browseMusic.php?ownerName=$1 [QSA,L] 
     119RewriteRule ^music/gallery/([^/.]+)/{0,1}$  viewMusic.php?fileUri=$1 [QSA,L] 
     120RewriteRule ^music/gallery/{0,1}$  viewMusic.php?fileUri=$1 [QSA,L] 
     121 
     122RewriteRule ^video/all/([0-9]+)/([0-9]+)/{0,1}$  browseVideo.php?page=$2&per_page=$1 [QSA,L] 
     123RewriteRule ^video/gallery_top/{0,1}$  browseVideo.php?rate=top [QSA,L] 
     124RewriteRule ^video/gallery_top/([0-9]+)/([0-9]+)/{0,1}$  browseVideo.php?rate=top&page=$2&per_page=$1 [QSA,L] 
     125RewriteRule ^video/gallery_top/([0-9]+)/([0-9]+)/{0,1}$  browseVideo.php?rate=top&page=$2&per_page=$1 [QSA,L] 
     126RewriteRule ^video/gallery_tag/([^/.]+)/([0-9]+)/([0-9]+)/{0,1}$  browseVideo.php?tag=$1&page=$3&per_page=$2 [QSA,L] 
     127RewriteRule ^video/gallery_tag/([^/.]+)/([0-9]+)/([0-9]+)/$  browseVideo.php?tag=$1&page=$3&per_page=$2 [QSA,L] 
     128RewriteRule ^video/gallery_tag/([^/.]+)/{0,1}$  browseVideo.php?tag=$1 [QSA,L] 
     129RewriteRule ^video/gallery/all/([^/.]+)/([0-9]+)/([0-9]+)$  browseVideo.php?ownerName=$1&page=$3&per_page=$2 [QSA,L] 
     130RewriteRule ^video/gallery/all/([^/.]+)/([0-9]+)/([0-9]+)/$  browseVideo.php?ownerName=$1&page=$3&per_page=$2 [QSA,L] 
     131RewriteRule ^video/gallery/all/([^/.]+)/{0,1}$  browseVideo.php?ownerName=$1 [QSA,L] 
     132RewriteRule ^video/gallery/([^/.]+)/{0,1}$  viewVideo.php?fileUri=$1 [QSA,L] 
     133RewriteRule ^video/gallery/{0,1}$  viewVideo.php?fileUri=$1 [QSA,L] 
     134 
     135RewriteRule ^groups/all/{0,1}$ grp.php [QSA,L] 
     136RewriteRule ^groups/entry/([^/.]+)/{0,1}$       grp.php?action=group&groupUri=$1        [QSA,L] 
     137RewriteRule ^groups/category/([^/.]+)/{0,1}$            grp.php?action=categ&categUri=$1        [QSA,L] 
     138RewriteRule ^groups/keyword/([^/.]+)/{0,1}$             grp.php?action=categ&keyword=$1 [QSA,L] 
     139 
     140RewriteRule ^search/tag/([^/.]+)/{0,1}$  search.php?Tags=$1 [QSA,L] 
     141 
     142RewriteRule ^New\sPage$  viewPage.php?ID=New+Page [QSA,L] 
     143 
     144RewriteCond %{REQUEST_FILENAME} -f [OR] 
     145RewriteCond %{REQUEST_FILENAME} -d 
     146RewriteRule .+ - [L] 
     147RewriteRule ^([A-Za-z0-9_-]+)$ profile.php?ID=$1 [QSA,L] 
     148 
     149</IfModule> 
     150    }}} 
    56151 
    57152    If you can't solve these problems, you can disable '''Friendly profile permalinks''' in '''Settings -> Permalinks'''. 
    58153 
    59     '''NB''': In '''Dolphin 6.1''' you can apply the same solution for the other permalinks, such as articles, news, blogs, classifieds, groups and galleries. 
    60          
    61154    After disabling permalinks you need to recompile Navigation Menu Builder in '''Admin Panel -> Builders -> Navigation Menu Builder''' by moving any block here. 
    62155 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
Fork me on GitHub