Article dashboard script

Discussion in 'Programming' started by SEOTeam, Aug 25, 2006.

  1. #1
    I just recently setup an article dashboard script. I even spoke to jason over there at article dashboard.

    the setup works but the only thing that is wierd is that when I click on a catagory it goes to a 404 page

    http://www.articlewhore.com/Category/Football/35

    it says its looking for a folder called /articlewhore/index.php

    Why??

    I installed this on the root server not in an additional folder called articlewhore

    Please help.
     
    SEOTeam, Aug 25, 2006 IP
  2. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #2
    check the .htaccess. It is probably using some Mod Rewrite calls (or not using them and expecting them) - which modifies the URL to anything else. Essentially it seems like it probably points to a folder called articlewhore/index.php?var1=category&var2=footbal&var3=35. Actually because it's appending 35 at the end - (which is probably the categoryID) i would venture to guess that it's looking for /articlewhore/index.php?category_id=35 :) or somethign of that nature. Look up modwrite and do some tests.
     
    ccoonen, Aug 25, 2006 IP
  3. sachin410

    sachin410 Illustrious Member

    Messages:
    6,422
    Likes Received:
    573
    Best Answers:
    0
    Trophy Points:
    410
    #3
    Check your setup.php and make sure all the paths are correct.

    Did you try a reinstall?
     
    sachin410, Aug 25, 2006 IP
  4. SEOTeam

    SEOTeam Peon

    Messages:
    236
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I did try a re install. Thats what jason said to do as well. Its still not resolved.. Here is my htaccess file

    # -FrontPage-

    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>

    # php_flag session.use_trans_sid off

    RewriteEngine on

    RewriteCond %{HTTP_HOST} .
    RewriteCond %{HTTP_HOST} !^www\. [NC]
    RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R,L]

    RewriteRule ^profile\/([^\/]+)/([0-9]+) publicprofile.php?name=$1&id=$2
    RewriteRule ^Category\/[^\/]+/([0-9]+) index.php?catid=$1&mode=category
    RewriteRule ^Article/[^\/]+/([0-9]+)/?(.*) article.php?id=$1&act=$2
    RewriteRule ^rss/[^\/]+/([0-9]+) rssarticle.php?id=$1
    RewriteRule ^myarticles/(.*)$ index.php?mode=myarticles

    RewriteRule ^(.*)topauthorslist/ topauthors.php?orderby=$1&ordertype=$2&namelike=$3&page=$4
    RewriteRule ^(.*)popularlist/ populararticles.php?page=$2
    RewriteRule ^(.*)searchresult/ indexser.php?page=$2
     
    SEOTeam, Aug 25, 2006 IP
  5. SEOTeam

    SEOTeam Peon

    Messages:
    236
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Im sure that the setup file is correct
     
    SEOTeam, Aug 25, 2006 IP