Results 1 to 5 of 5

Thread: My site category links are broken... any help please

  1. #1
    Join Date
    Jun 2002
    Location
    Bangalore
    Posts
    156

    Default My site category links are broken... any help please

    Hi,

    My site is Hostoholic.com - Complete Web Hosting & domain names Resource

    In the last 1 week or so, on my site the category links are not loading. I am gettign teh following error when I click on the category links...

    <error>
    Fatal error: Call to a member function on a non-object in /home/ayrxqbte/public_html/lib/category.class.php on line 336
    </error>

    My host is saying that the problem is with the .htaccess file.
    I am using v3.2

    Could you please help me fix this issue.

    Thanks
    - Raj
    Last edited by ideavirus; 07-26-2007 at 08:43 AM.
    Thru' the Unknown, We Shall find the New !
    DotGlum : My Online Identity
    DearSunShine :: A Beautiful Mind | MyBrandInc : Bitten By the StartUp Bug !?!
    InstallBot : Script Installation service ! | HostoHolic : WebHosting Directory !

  2. #2
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Post your .htaccess here so it can be checked out. That's likely where the issue is.

    However even URL's that aren't rewritten are showing as broken with the following error

    Fatal error: Call to a member function on a non-object in /home/ayrxqbte/public_html/detail.php on line 104

    Have you tried removing the .htacess file to see if that fixes anything?

  3. #3
    Join Date
    Jun 2002
    Location
    Bangalore
    Posts
    156

    Default

    Hi,

    I tried renaming the .htaccess to htaccess.bak and when i did that category pages never loaded at all.

    here is the content of my .htaccess...

    Code:
    RewriteEngine On 
    
    RewriteRule ^browse-(.*)-(.*)-(.*).html browse.php?cat=$2&pg_which=$3
    RewriteRule ^detail-(.*)-(.*).html detail.php?id=$2
    
    Options +FollowSymLinks
    RewriteEngine on
    RewriteBase /
    
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]*/)*index\.php? [NC]
    RewriteRule ^(([^/]*/)*)index\.php?$ http://www.hostoholic.com/$1 [R=301,L]
    
    RewriteCond %{HTTP_HOST} ^hostoholic\.com [NC]
    RewriteRule ^(.*)$ http://www.hostoholic.com/$1 [R=301,L]
    Thanks for any help.
    Thru' the Unknown, We Shall find the New !
    DotGlum : My Online Identity
    DearSunShine :: A Beautiful Mind | MyBrandInc : Bitten By the StartUp Bug !?!
    InstallBot : Script Installation service ! | HostoHolic : WebHosting Directory !

  4. #4
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    if you rename the .htaccess then you'll need to create a new one, then go into the admin panel and disable mod rewrite and then update your category paths.

    See if everything works properly after that. If so then it's an issue with the .htaccess you posted.
    Last edited by Bruceper; 07-27-2007 at 01:10 AM.

  5. #5
    Join Date
    Jun 2002
    Location
    Bangalore
    Posts
    156

    Default

    Could some check my .htaccess code and help me if something is wrong and what needs to be chnaged?

    Thanks
    Thru' the Unknown, We Shall find the New !
    DotGlum : My Online Identity
    DearSunShine :: A Beautiful Mind | MyBrandInc : Bitten By the StartUp Bug !?!
    InstallBot : Script Installation service ! | HostoHolic : WebHosting Directory !

Similar Threads

  1. Replies: 7
    Last Post: 12-27-2005, 07:54 PM
  2. Category Path Broken After Upgrade
    By hobartimus in forum v5.x
    Replies: 43
    Last Post: 12-31-2004, 07:14 PM
  3. dynamic category menu on every site
    By Frank71 in forum v3.2
    Replies: 3
    Last Post: 09-13-2003, 06:20 AM
  4. Replies: 0
    Last Post: 10-15-2002, 09:26 AM
  5. broken links report not working
    By Veg in forum v5.x
    Replies: 0
    Last Post: 05-20-2002, 11:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •