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

  • Home
  • SEARCH
  • 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 6151453
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T19:46:15+00:00 2026-05-23T19:46:15+00:00

I have a simple database with a few tables and I want to write

  • 0

I have a simple database with a few tables and I want to write some php script to fetch that data to my app. I deploy it on a shared host. Everything works fine, until today, I cant fetch data anymore, it always return HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
After that, I write a test.php like this

<?php>
echo 'bla bla bla';
<?> 

And it dont run too. I mean I see a blank page.
After that, I try a test.html like this:

<html>
    <head>
    <title>PHP Test Page</title>
    </head>
    <body>
        PHP test page.
    <?php
      echo phpinfo();
    ?>
    </body>
    </html>

Only the “Php test page.” appears in screen.
I try byethost.com and oni.cc, the same problem appears. I dont see any .htaccess in htdocs folder.
Please give some guidance.
Thank you in advance for your time and assisstance.

  • 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-05-23T19:46:15+00:00Added an answer on May 23, 2026 at 7:46 pm

    I would check things like this:

    • are your .php files accessable by webserver
    • are there no messages in webserver’s error logs
    • are there no messages about server in system log
    • if you have apache: is .htaccess file empty
    • is webserver’s config correct

    Actually, in my experience, 500th error is mostly caused by endless loops or/and bad server config ( usually apache’s .htaccess )

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

Sidebar

Related Questions

I have two simple tables in my database. A card table that contains Id,
I have a simple app that uses an SQL Express 2005 database. When the
Some background: I have an database that I want to use linq-to-sql to update
I have a simple database with two tables. Users and Configurations. A user has
I have a requirement to create a simple database in Access to collect some
Say I have a few tables in the MSSQL database, each with about 5-10
I have a Entity Framework design with a few tables that define a graph.
I have a MySQL 5.0 database with a few tables containing over 50M rows.
I have a simple database table called Entries: class CreateEntries < ActiveRecord::Migration def self.up
I am writing a simple database with web access. I have previous experience with

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.