View previous topic :: View next topic |
Author |
Message |
sandmanr -
Joined: 30 Nov 2003 Posts: 22
|
Posted: Mon Dec 01, 2003 10:04 pm Post subject: can some one help plz following tutorials! |
|
|
ok got so far installed everything all up and running Sql green light and server running..problem is now its saying this when i try and access my sql to edit phpmyadmin for sql server set up..
what will my url be ive treid it a million times and just get this:
Security Alert! The PHP CGI cannot be accessed directly.
This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive.
For more information as to why this behaviour exists, see the manual page for CGI security.
For more information about changing this behaviour or re-enabling this webserver, consult the installation file that came with this distribution, or visit the manual page.
can anyone help thx?
bhaforce@hotmail.com |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
|
Back to top |
|
 |
sandmanr -
Joined: 30 Nov 2003 Posts: 22
|
Posted: Tue Dec 02, 2003 8:05 am Post subject: |
|
|
thx for answering m8..it was the zip file..i had the installer:( but now i get this:
<?php
/* $Id: index.php,v 1.28.2.1 2002/06/26 21:46:34 rabus Exp $ */
/**
* Gets core libraries and defines some variables
*/
require('./libraries/grab_globals.lib.php');
require('./libraries/common.lib.php');
// Gets the default font sizes
PMA_setFontSizes();
// Gets the host name
// loic1 - 2001/25/11: use the new globals arrays defined with php 4.1+
if (empty($HTTP_HOST)) {
if (!empty($_ENV) && isset($_ENV['HTTP_HOST'])) {
$HTTP_HOST = $_ENV['HTTP_HOST'];
}
else if (!empty($HTTP_ENV_VARS) && isset($HTTP_ENV_VARS['HTTP_HOST'])) {
$HTTP_HOST = $HTTP_ENV_VARS['HTTP_HOST'];
}
else if (@getenv('HTTP_HOST')) {
$HTTP_HOST = getenv('HTTP_HOST');
}
else {
$HTTP_HOST = '';
}
}
/**
* Defines the frameset
*/
// loic1: If left light mode -> urldecode the db name
if (isset($lightm_db)) {
$db = urldecode($lightm_db);
unset($lightm_db);
}
$url_query = 'lang=' . $lang
. '&server=' . $server
. (empty($db) ? '' : '&db=' . urlencode($db));
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $available_languages[$lang][2]; ?>" lang="<?php echo $available_languages[$lang][2]; ?>" dir="<?php echo $text_dir; ?>">
<head>
<title>phpMyAdmin <?php echo PMA_VERSION; ?> - <?php echo $HTTP_HOST; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $charset; ?>" />
<style type="text/css">
<!--
body {font-family: <?php echo $right_font_family; ?>; font-size: <?php echo $font_size; ?>}
//-->
</style>
</head>
<frameset cols="<?php echo $cfgLeftWidth; ?>,*" rows="*">
<frame src="left.php?<?php echo $url_query; ?>" name="nav" frameborder="1" />
<frame src="<?php echo (empty($db)) ? 'main.php' : 'db_details.php'; ?>?<?php echo $url_query; ?>" name="phpmain" />
<noframes>
<body bgcolor="#FFFFFF">
<p><?php echo $strNoFrames; ?></p>
</body>
</noframes>
</frameset>
</html> |
|
Back to top |
|
 |
sandmanr -
Joined: 30 Nov 2003 Posts: 22
|
Posted: Tue Dec 02, 2003 8:22 am Post subject: |
|
|
it also says in sql driver 3.51 not found does this matter? thx
<?php
/* $Id: index.php,v 1.28.2.1 2002/06/26 21:46:34 rabus Exp $ */
/**
* Gets core libraries and defines some variables
*/
require('./libraries/grab_globals.lib.php');
require('./libraries/common.lib.php');
// Gets the default font sizes
PMA_setFontSizes();
// Gets the host name
// loic1 - 2001/25/11: use the new globals arrays defined with php 4.1+
if (empty($HTTP_HOST)) {
if (!empty($_ENV) && isset($_ENV['HTTP_HOST'])) {
$HTTP_HOST = $_ENV['HTTP_HOST'];
}
else if (!empty($HTTP_ENV_VARS) && isset($HTTP_ENV_VARS['HTTP_HOST'])) {
$HTTP_HOST = $HTTP_ENV_VARS['HTTP_HOST'];
}
else if (@getenv('HTTP_HOST')) {
$HTTP_HOST = getenv('HTTP_HOST');
}
else {
$HTTP_HOST = '';
}
}
/**
* Defines the frameset
*/
// loic1: If left light mode -> urldecode the db name
if (isset($lightm_db)) {
$db = urldecode($lightm_db);
unset($lightm_db);
}
$url_query = 'lang=' . $lang
. '&server=' . $server
. (empty($db) ? '' : '&db=' . urlencode($db));
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $available_languages[$lang][2]; ?>" lang="<?php echo $available_languages[$lang][2]; ?>" dir="<?php echo $text_dir; ?>">
<head>
<title>phpMyAdmin <?php echo PMA_VERSION; ?> - <?php echo $HTTP_HOST; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $charset; ?>" />
<style type="text/css">
<!--
body {font-family: <?php echo $right_font_family; ?>; font-size: <?php echo $font_size; ?>}
//-->
</style>
</head>
<frameset cols="<?php echo $cfgLeftWidth; ?>,*" rows="*">
<frame src="left.php?<?php echo $url_query; ?>" name="nav" frameborder="1" />
<frame src="<?php echo (empty($db)) ? 'main.php' : 'db_details.php'; ?>?<?php echo $url_query; ?>" name="phpmain" />
<noframes>
<body bgcolor="#FFFFFF">
<p><?php echo $strNoFrames; ?></p>
</body>
</noframes>
</frameset>
</html> |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Wed Dec 03, 2003 2:46 am Post subject: |
|
|
sandmanr,
What do you mean by "I get this"? Is the source code displayed in the web browser? Where is the "MySQL" error reported? Please be as accurate as possible when describing your problem to help us help you. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
sandmanr -
Joined: 30 Nov 2003 Posts: 22
|
Posted: Wed Dec 03, 2003 8:01 pm Post subject: |
|
|
very sorry..ok
abyss web serve running ok
sql green light have all folders in right place
phpmyadmin in script folder in root of program files abyss
php nuke folder in root also along side scripts
first of all i coudnt get a pass the secuirty issue which i posted above that was because of the myadmin php installer..the zip folder worked..
ok what im getting now when i try and access myadminphp from browser is the code u see above just wondering were ive gone wrong ive followed all the tutorials 3 times over but still seeing the code above rather than phpmyadminsql database edit |
|
Back to top |
|
 |
sandmanr -
Joined: 30 Nov 2003 Posts: 22
|
Posted: Wed Dec 03, 2003 9:30 pm Post subject: |
|
|
ok im trying ive added index.php me i browser like this http://localhost/phpmyadmin/index.php and it wants me to download it if i open it were it is it tells me there si 2 mistakes before opening in dreamweaver: invalid path in IE5\c1mb42ln temp interenet files
and content ie5\c1mb42ln\left.php does not exist |
|
Back to top |
|
 |
sandmanr -
Joined: 30 Nov 2003 Posts: 22
|
Posted: Thu Dec 04, 2003 8:16 am Post subject: |
|
|
ok ive got to the stage were my browser is just showing me the index of phpmyadmin..anyideas on why im not seeing the actual program? |
|
Back to top |
|
 |
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Thu Dec 04, 2003 2:59 pm Post subject: |
|
|
OK, double-check your cgi-interpreter (in console) and make sure it's
pointing to the correct path to PHP. The default is C:\PHP\php.exe.
Also, your phpnuke folder should be in your htdocs folder, not in the root.
(unless, you have an "alias" for it) :wink: |
|
Back to top |
|
 |
sandmanr -
Joined: 30 Nov 2003 Posts: 22
|
Posted: Thu Dec 04, 2003 11:39 pm Post subject: |
|
|
yep treble checked everything reinstalled 3 times..only showing the cide above now its like i dont have php installed or summit |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
|
Back to top |
|
 |
sandmanr -
Joined: 30 Nov 2003 Posts: 22
|
Posted: Fri Dec 05, 2003 7:30 am Post subject: |
|
|
thx m8.. got it up and running now:) i deleted everyting and downloaded and installed all the old php files like in the tutorial worked a treat..
thx for help m8 |
|
Back to top |
|
 |
sandmanr -
Joined: 30 Nov 2003 Posts: 22
|
Posted: Sat Dec 06, 2003 11:21 am Post subject: |
|
|
got the error 200 now while try to get php nuke up and running it says
error 200
OK
anyhelp would be good thx im not sure what to put in db name in config file to direct it to mysql database.. |
|
Back to top |
|
 |
|