Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7943877
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T00:23:57+00:00 2026-06-04T00:23:57+00:00

The site was working properly but after I modified a code file. the site

  • 0

The site was working properly but after I modified a code file. the site stopped working. I have checked the error log and also tried other debugging solution but the site does not work at all. It shows a blank page. The error log displays nothing. The directory index is set to index.php. Please help me.[Note: the error reporting is turned on, Also its a plain php code file, When I echo something it does not display anything.]

<?php
  include_once('../../includes/SiteSetting.php');
  include_once('../../includes/classes/class.forum.php');

  $forumObj = new Forum();

  #--------GEtting Forum List-------------
  $categories = $forumObj->getCategories();
  if(!empty($categories) && count($categories)>0)
  {
    $i=0;
    foreach($categories as $category)
    {
      $forums = $forumObj->getForums($_GET['search'], $category['categoryid']);
      $ForumArray[$i] =  $category;
      $ForumArray[$i]['forums'] = $forums;
      $i++;
    }
  }
  else
  {
    $ForumArray[$i]['forums'] ="";
  }
  $smarty->assign("forumarray", $ForumArray);
?>

Here is the htaccess
Options +FollowSymLinks +ExecCGI

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T00:23:59+00:00Added an answer on June 4, 2026 at 12:23 am

    What do you see in error log? if you cannot figure out then check if other pages are working properly. You can also try to create a new file with the same code and delete the existing file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have used Facebook Connect in my site but it is not working properly.
This site was working properly before I started encountering an error after entering some
I have site I am working on and the images take forever to load,
I have google analytics set on a site I'm working on, It has a
I've implemented the following code on the site I'm working on which works great,
I have to add a password protected zone to a site I am working
I have to make some mods to an existing (and working) magento site. So
I have a website that is working properly.I dont know when I do Domain-name.com/images
I'm working on a web site project that is currently tracked in svn but
SOLVED: Error in template file I have Smarty setup like this: require_once 'smarty/Smarty.class.php'; $smarty

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.