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 8518707
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T06:03:24+00:00 2026-06-11T06:03:24+00:00

OK, weird problem. Hopefully it’s something easy and that I’m just missing it. I

  • 0

OK, weird problem. Hopefully it’s something easy and that I’m just missing it.

I have the beginnings of a new PHP page being developed in Dreamweaver. In it I make references to 3 include files, 2 of them being required_once.

DW recognizes the include code and list the files along the top after “source code”, however, when I try to view the code by clicking on their names at the top, I get “‘file’ is not on the local disk. Nor will DW recognize any code inside these include files.
And, yes, I have verified several times that the folders are spelled right and where the root directory is.

Also, it doesn’t happen on every page. Other pages in the same directory, with the exact same includes, work fine.

Any ideas?

<?php require_once('/connections/TECA_DB.php'); ?>
<?php require_once('/connections/temp.php'); ?>
<?php include("/includes/header.php"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
</body>
</html>
  • 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-11T06:03:26+00:00Added an answer on June 11, 2026 at 6:03 am

    it shouldn’t matter, but try adding “.” in front of your first slash, in case it isn’t specified in your include path.

    <?php require_once('./connections/TECA_DB.php'); ?> 
    <?php require_once('./connections/temp.php'); ?> 
    <?php include("./includes/header.php"); ?> 
    

    and ensure all files are saved so it knows where the relativity exists.

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

Sidebar

Related Questions

i'm having an weird problem, my project have a login page, that's working, but
I have a weird date rounding problem that hopefully someone can solve. My client
I'm having a weird problem, I have the following code in my page.php template
I have a weird problem with a Java Gregorian Calendar: SimpleDateFormat sdf = new
I have a really weird problem with /bin/bash and a script that uses printf
I have a weird problem. I develop my sites on localhost and after that
I have a weird problem. I have a script that loads images into the
so I encountered weird problem here. I have an array status=new Array() . Then
I have experienced a weird problem with javascript. The problem page uses some jQuery
I have a weird problem with Magento cache. I have an extension that have

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.