Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CGI Error

Status
Not open for further replies.

dkjack

Technical User
Dec 15, 2004
6
US
Hi all,
I am NOT a progammer, and I don't know much about MySQL, and CGI. BUT, I am trying to install a free script that uses PHP/MySQL database. I am able to make a connection to the server as an administrator, and to access to the configuration page. From here, everything link will give me and error as shown below:

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.

I know that this will show how much I know. Please shine some light about this one.
Many thanks for any helps.
DKJack (Don't Know Jack)
 
What language are you using? PHP or Perl? If it is Perl, make sure that you send headers before printing any content. See forum219.

--Chessbot

There is a level of Hell reserved for probability theorists in which every monkey that types on a typewriter produces a Shakespearean sonnet.
 
Thanks many times Chessbot,
it is written in PHP, and i don't what else I can tell you. Please ask.
 
Can you copy and paste some of the code?

--Chessbot

There is a level of Hell reserved for probability theorists in which every monkey that types on a typewriter produces a Shakespearean sonnet.
 
This is the only file (site.xml) that I am required to modified in this scrip. here it is.

------------

<config upload="./upload/" path="../" url="../">

<formspath>./forms/</formspath>
<default_location>index.php</default_location>

<forms>
<adminpath>./forms/admin/</adminpath>
<userpath>./forms/user/</userpath>
<admintemplate>./templates/form.htm</admintemplate>
<sitepath>./forms/</sitepath>
<sitetemplate>./admin/templates/form.htm</sitetemplate>
</forms>

<database type="mysql">
<server>localhost</server>
<login>USER ID</login>
<password>password</password>
<default>database name</default>
</database>

<tables>
<table name="tasktype">site_task_types</table>
<table name="tasks">site_tasks</table>
<table name="vendors">site_vendors</table>
<table name="categories">site_cats</table>
<table name="users">site_users</table>
<table name="vars">site_vars</table>
<table name="types">site_types</table>
<table name="areas">site_areas</table>
<table name="schools">site_schools</table>
<table name="properties">site_properties</table>
<table name="states">states</table>
<table name="photos">site_photos</table>
</tables>

<templates path="./templates/">

<template name="layout">layout.html</template>
<template name="details">details.html</template>
<template name="list">list.html</template>
<template name="paging">paging.html</template>
<template name="error">error.html</template>
<template name="search">search.html</template>


<admin path="./templates/admin/">
<template name="login">login.htm</template>
<template name="layout">layout.htm</template>
</admin>
</templates>
</config>

------------

Thanks many times in advanced.
 
I see that you have reposted in the PHP forum. Let's let this thread die; that is a more appropriate place for this problem.

--Chessbot

There is a level of Hell reserved for probability theorists in which every monkey that types on a typewriter produces a Shakespearean sonnet.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top