nicolau
Jun 16 2008, 09:17 PM
Someone can help me, please.
Andrew
Jun 17 2008, 03:45 AM
We need more information than that. What is the exact error it is giving you? Also a link to your site or the install script might help too.
nicolau
Jun 17 2008, 06:36 PM
Hello,
the message is:
Galaxytool v4.3.2 - Installation check
Syntax: config.php failed
Syntax: attributes.php success
Owner dogos
Language spanish
Universe 41
MySQL connection success
Database existency success
MySQL version check 5.0.27
Check again
the file script is:
<?php
/**
* DO NOT EDIT THIS FILE WITH NOTEPAD - USE WORDPAD INSTEAD!
*/
// Database connection
$dbusername = "dogos_nico"; // database username
$dbpassword = "*******"; // database password
$dbname = "dogos_nico"; // database name
$dbhost = "localhost"; // host address of your mysql server
// Database tables
$dbtablename = "galaxy";
$utablename = "usertable";
$playertable = "players";
$allytable = "alliances";
$noticetable = "notices";
$reporttable = "reports";
$iptablename = "iptable";
$shouttable = "shoutbox";
$allyhistory = "alliances_history";
$playerhistory = "players_history";
/*
* Only required if you want to update from a version lower than 4.0
*/
/*
$old_dbname = "stoned_352";
$old_dbtablename = "tabelle"; // Tabellenname in der Datenbank für die Galaxiedaten (Tabelle wird autom. erzeugt!) | tablename for galaxy data - will be created!
$old_utablename = "tabelle2"; // Tabellenname in der Datenbank für die Benutzer | tablename for users - will be created
$old_pstablename = "tabelle3"; // Tabellenname für die Playerstats | tablename for playerstats
$old_astablename = "tabelle4"; // Tabellenname für die Allystats | tablename for allystats
$old_noticetable = "tabelle5"; // Tabellenname für Notizen | tablename for notices
$old_reporttable = "tabelle6"; // Tabellenname für Spios | tablename for espionage reports
$old_iptablename = "tabelle7"; // Tabellenname für die zu speichernden IP Adressen | tablename for ip addresses
$old_shouttable = "tabelle8"; // Tabellenname für die Shoutbox (aktuelle Nachrichten) | tablename for shoutbox
$old_allyhistory = "tabelle9"; // Tabellenname für Allyhistory | tablename for allyhistory
*/
/*
* Do not change anything below this line
*/
// Update last action time at DB
if (isset($_SESSION['s_userid']) && is_numeric($_SESSION['s_userid'])) {
$query = "UPDATE $utablename SET last_action=now() WHERE id='".$_SESSION['s_userid']."'";
mysql_connect($dbhost,$dbusername,$dbpassword);
mysql_select_db($dbname);
mysql_query($query);
}
?>
Thanks for any help
Brandon
Jun 17 2008, 08:39 PM
What is the error ? Please show us a print screen of the error.
Thank you.
Paradoks
Jun 17 2008, 08:50 PM
The failure is in the config.php, maybe your information isnt completly correct, try lookinginto the config.php and fix the errors. if there are still errors repost the new error.
nicolau
Jun 17 2008, 09:29 PM
Syntax: config.php failed
I guess there is something incorrect in the script, but I can't find it out.
Dave
Jun 17 2008, 09:34 PM
Re-upload that file.
When you edit the file use notepad (not a coding application, as sometimes they can put things in the code they shouldn't).
Brandon
Jun 17 2008, 09:39 PM
It seems to connect to the database fine .. maybe try CHMOD it
Paradoks
Jun 17 2008, 09:58 PM
the best bet is a error in ur config.php modify whats inside it.
nicolau
Jun 17 2008, 10:02 PM
Many Thanks to all,
I was using microsoft word for editing and one of the fields worked properly so I didn't figured, but I did it again with word pad, and all is going on.
Dave
Jun 17 2008, 10:05 PM
No problem. It's best to stick with notepad/wordpad when editing config.php files in future.
Paradoks
Jun 17 2008, 10:07 PM
yeah but some times note pad doesnt help you out with syntaxes, and I told you the problem was in config.php, nic
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.