NVM i figured it out thank you anyway
NVM i figured it out thank you anyway
Hey guys yes i was testing my website u can make a game and website account correctly now but when i go to test a post it doesnt show up in the thread please tell me how to fix that
hi i need a help i have this things in the website :
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead in C:\AppServ\www\maincore.php on line 609
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead in C:\AppServ\www\maincore.php on line 607
at the game account i get this : arning: mysql_connect() [function.mysql-connect]: php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\AppServ\www\game_acc.php on line 39
Warning: mysql_connect() [function.mysql-connect]: [2002] php_network_getaddresses: getaddrinfo failed: No such host is kn (trying to connect via tcp://hostname:3306) in C:\AppServ\www\game_acc.php on line 39
Warning: mysql_connect() [function.mysql-connect]: php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\AppServ\www\game_acc.php on line 39
Error connecting to the mysql server!
when i want to modifi there date and time i get this :
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead in C:\AppServ\www\administration\settings_time.php on line 41
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead in C:\AppServ\www\administration\settings_time.php on line 42
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead in C:\AppServ\www\administration\settings_time.php on line 43
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead in C:\AppServ\www\administration\settings_time.php on line 44
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead in C:\AppServ\www\administration\settings_time.php on line 45
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead in C:\AppServ\www\administration\settings_time.php on line 46
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead in C:\AppServ\www\administration\settings_time.php on line 47
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead in C:\AppServ\www\administration\settings_time.php on line 48
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead in C:\AppServ\www\administration\settings_time.php on line 49
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead in C:\AppServ\www\administration\settings_time.php on line 50
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead in C:\AppServ\www\administration\settings_time.php on line 51
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead in C:\AppServ\www\administration\settings_time.php on line 52
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead in C:\AppServ\www\administration\settings_time.php on line 53
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead in C:\AppServ\www\administration\settings_time.php on line 54
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead in C:\AppServ\www\administration\settings_time.php on line 55
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead in C:\AppServ\www\administration\settings_time.php on line 56
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead in C:\AppServ\www\administration\settings_time.php on line 57
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead in C:\AppServ\www\administration\settings_time.php on line 58
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead in C:\AppServ\www\administration\settings_time.php on line 59
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead in C:\AppServ\www\administration\settings_time.php on line 60
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead in C:\AppServ\www\administration\settings_time.php on line 61
all error or something.
Strict Standards: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead in C:\AppServ\www\includes\phpmailer_include.php on line 1408
Strict Standards: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead in C:\AppServ\www\includes\phpmailer_include.php on line 1412
and u can say what is the admin pass ?
Thanks and good site
Last edited by gerike; 01-24-2009 at 05:27 AM.
Where do i put my vote link in to become the vote bars at the left site >.< ?
sry for the noobie question
i need some help
look
i cant fixitHTML Code:Table 'characters.fusion_settings' doesn't existTable 'characters.fusion_settings' doesn't exist Warning: include(locale//global.php) [function.include]: failed to open stream: No such file or directory in C:\AppServ\www\maincore.php on line 147 Warning: include() [function.include]: Failed opening 'locale//global.php' for inclusion (include_path='.;C:\php5\pear') in C:\AppServ\www\maincore.php on line 147 Table 'characters.fusion_blacklist' doesn't exist
please helpme
armory search dont work for me,Hi, for resolve this problem go to folder where have the CMS and search "register.php" delete or rename it whit other name,and after search "register2.php" and rename it as "register.php".
Sry for my bad english, i' m spanish xD
say:i have A CONF ok!Unable to connect to database server
bot... i cant fixit
Last edited by imperiowow; 02-02-2009 at 02:31 PM. Reason: help!!!!!!!!!
nice web
good night all I would like to know to how put 2 realm status on the site thank you to help me
PS: sorry for my bad english
Thank you!
Good ole PhP Fusion...I used to use fusion but it became more of a headache for me..
But the templates look nice, God job!
+Rep
As for realm status and adding more than one:
I'm not going into details here because it can get confusing-
This is sorta easy if you know how to code php, html and such..basically you would strip out all the reference in the main config that points to the said realm status php set. what i did was re-write a whole new config called "realmconf.php" and duplicated entries respectively for realm 1, 2, 3 and so on..filled in their login info accordingly and saved...
Now we went to he actual realm status indicator script fie and renames the include ref to "realmconf.php" or whatever its called, then added duplicate lines of tables and edited accordingly to match whats in the conf i wrote.
It sounds difficult but its really not. ArcEmu's website forums has several releases of realm status indicators out that are easy to mod and set up to just about any CMS.
This code is credited to: Ectrian of ArcEmu :
This is the HTML code that goes in the realm stats area on your website!!
This one is the inerts of the php ref file that gathers data from your databases::Code:<html> <table width="100%" border="0"> <!-- Realm 1 --> <tr> <td width="30%"><strong>Realm 1 Name</strong>: </td> <td width="70%"><img src="/realmstatus.php?realmid=1" /></td> </tr> <!-- Realm 2 --> <tr> <td><strong>Realm 2 name</strong>: </td> <td><img src="/realmstatus.php?realmid=2" /></td> </tr> <!-- Total Number of Players --> <tr> <td><strong>Total</strong>: </td> <td><img src="/realmstatus.php?total" /></td> </tr> </table> </html>
Or something like so....Code:<?php /* ##################################################################################################### # ArcEmu Realm Status Script by Ectrian <[email protected]> # # This is released under the terms of the GNU GPL License (http://www.gnu.org/copyleft/gpl.html) # ##################################################################################################### --------------------------------------------------------------------------------------------------------------------- Configuration: */ $realms = array ( // This is the number of realms you have. 'count' => '1', // This is the first realm. '1' => array ( // This is the name of the first realm. 'name' => 'Realm 1 name', // This is the IP of the server box. 'ip' => 'localhost', // This is the port the worldserver runs on. 'port' => '8129', // This is the MySQL Host IP 'sql_host' => 'localhost', // This is the MySQL Host Port 'sql_port' => '3306', // This is the MySQL Username 'sql_user' => 'sq username', // This is the corresponding MySQL Password 'sql_pass' => 'sql pass', // This is the name of your character database 'sql_char_db' => 'character db', // This is the max number of players for this realm. 'maxplayers' => '200', ), '2' => array ( // This is the name of the second realm. 'name' => 'Realm 2 Name', // This is the IP of the server box. 'ip' => '2nd realm server's LAN IP', // This is the port the worldserver runs on. 'port' => '8130', // This is the MySQL Host IP 'sql_host' => 'Sql servers IP', // This is the MySQL Host Port 'sql_port' => '3306', // This is the MySQL Username 'sql_user' => 'sql username', // This is the corresponding MySQL Password 'sql_pass' => 'sql pass', // This is the name of your character database 'sql_char_db' => 'realm2_characters', // This is the max number of players for this realm. 'maxplayers' => '200', ),//*/ ); $image = array ( // The width of the image. 'width' => '150', // The height of the image. 'height' => '20', ); $misc = array ( // This is the time the cache will refresh in seconds. 'recache' => '300', ); /* */ // Functions function file_root() { // This function returns the full filepath of the script. // Added this because non-fullpath file includes on FreeBSD were ****ing up. $root = $_SERVER['SCRIPT_FILENAME']; $root = str_replace('realmstatus.php','',$root); return($root); } function recursive_array_parse($varname,$array,$index="") { // This just recursively parses arrays into a writeable format for the cache file. $return = ''; foreach($array as $key => $value) { if(!is_array($value)) { if(empty($index)) { unset($append); } else { $append = $index; } $value = str_replace("'","\'",$value); $return .= "\$".$varname."".$append."['".$key."'] = '".$value."';\r\n"; } else { recursive_array_parse($varname,$value,"".$index."['".$key."']"); } } return($return); } function mod_mime($mimetype) { // This function modifies the mime type of the packet being sent. header("Content-type: {$mimetype}\r\n"); } function php_request_date() { // This function returns the date. $date = date("Y\-m\-d h:i:s A"); return($date); } function online_player_recache() { // Globalize global $realms, $misc; // Check for Data Directory if(!file_exists(''.file_root().'data')) { mkdir("".file_root()."data"); } // Check for Previous Cache File if(file_exists("".file_root()."data/online_player_cache.php")) { // This checks to see whether or not a recache is needed. require("".file_root()."data/online_player_cache.php"); if(empty($misc['recache'])) { $misc['recache'] = 120; } if((time() - $cachedata['last_recache']) < $misc['recache']) { return; } unset($cachedata); } // Define Constants $cachedata['last_recache'] = time(); $cachedata['total'] = 0; $current_realmid = 1; // Query by Realm while($current_realmid <= $realms['count']) { // Connect $host = $realms[$current_realmid]['sql_host']; $user = $realms[$current_realmid]['sql_user']; $pass = $realms[$current_realmid]['sql_pass']; $port = $realms[$current_realmid]['sql_port']; $database = $realms[$current_realmid]['sql_char_db']; $sql->thread1 = mysql_connect($host.":".$port,$user,$pass) or die("You did not configure this correctly! <!-- MySQL->Connect() failed. [User='".$user."'@'".$host.":".$port."'] (MySQL says: ".mysql_error().") -->"); $sql->thread2 = mysql_select_db($database,$sql->thread1); // Issue Query (Note the use of COUNT(*) to save bandwidth and processing time. $sql->query = mysql_query("SELECT COUNT(*) AS counter FROM `characters` WHERE `online` = '1';",$sql->thread1) or die('MySQL: A Query Error Occured! '.mysql_error()); $count = mysql_fetch_object($sql->query); $cachedata[$current_realmid] = $count->counter; $cachedata['total'] = $cachedata['total'] + $cachedata[$current_realmid]; // End Connection $sql->close = mysql_close($sql->thread1); $current_realmid++; } // Write to Cache File $filename = ''.file_root().'data/online_player_cache.php'; $handle = fopen($filename, 'w'); $somecontent = "<?php /* Summit Online Player Cache File Generated ".php_request_date()." by %SYSTEM% */ "; $somecontent .= recursive_array_parse('cachedata',$cachedata); $somecontent .= "?>"; fwrite($handle, $somecontent); } function realm_is_online($realmid) { // This function pings the server to see if it is online. global $realms; $fp = @fsockopen($realms[$realmid]['ip'],$realms[$realmid]['port'],$errno,$errstr, 0.2); if($fp) { return true; } else { return false; } @fclose($fp); } function online_player_image($realmid) { // Globalize global $realms, $image; // Load Cache require("".file_root()."data/online_player_cache.php"); $count = $cachedata[$realmid]; // Load Configuration Variables $total = $realms[$realmid]['maxplayers']; // Check Data for Realm if(realm_is_online($realmid)) { if(empty($count)) { $text_string = "0 / ".$total.""; } else { $text_string = "".$count." / ".$total.""; } } else { $text_string = 'Offline'; } // Check Data for Total if($realmid == 'total') { $total = 0; $i = 1; while($i<=$realms['count']) { $total = ($total + $realms[$i]['maxplayers']); $i++; } $count = $cachedata['total']; $text_string = "".$count." / ".$total.""; } // This is an image. (Modify the Header) mod_mime("image/png"); // Parse Width $width = ceil(($count * ($image['width'] - 2)) / $total); // Create Image and Colors $im = @imagecreate($image['width'], $image['height']); $background_color = imagecolorallocate($im, 100, 100, 100); $text_color = imagecolorallocate($im, 255, 255, 255); // This is the bar that shows based on percent of players / max. if($text_string != 'Offline') { $colorw = imagecolorallocate($im, 255, 0, 0); imagefilledrectangle($im, 1, 1, ($width - 1), ($image['height'] - 1), $colorw); } // Create the Border $green = imagecolorallocate($im, 132, 135, 28); imagerectangle($im, 0, 0, ($image['width'] - 1), ($image['height'] - 1), $green); // Write Text String to Image imagestring($im, 3, 40, 3, $text_string, $text_color); // Send the Image Packet imagepng($im); imagedestroy($im); // Close Packet die(); } // Check to see if the realm id is valid. if(isset($_GET['total'])) { // Create an Image for All Realms // Online Player Recreate Cache online_player_recache(); // Generate Image online_player_image('total'); } elseif(isset($_GET['debug']) && md5($_GET['hash']) == '58bbade40e370c5943c06ac2537354e4') { // This will allow me to help you fix problems. Remove this if you wish. It won't print your passwords or allow anyone to have insecure access. //die(); /* <----- Remove the two //s infront of the die(); to disable this section. */ echo 'Testing MySQL Connections...'; $i = "1"; while($i <= $realms['count']) { $host = $realms[$i]['sql_host']; $user = $realms[$i]['sql_user']; $pass = $realms[$i]['sql_pass']; $port = $realms[$i]['sql_port']; $database = $realms[$i]['sql_char_db']; $sql->thread1 = mysql_connect($host.":".$port,$user,$pass); if(!$sql->thread1) { echo 'MySQL Thread Connection to Realm '.$i.' FAILED!<br />'; } else { $sql->thread2 = mysql_select_db($database,$sql->thread1); if(!$sql->thread2) { echo 'MySQL Thread Connection to Realm '.$i.' Database FAILED, Connection PASSED!<br />'; } } $i++; } echo '<br /><br />'; $i = "1"; while($i <= $realms['count']) { $realms[$i]['sql_pass'] = 'FILTERED'; $i++; } echo 'Printing Realm Configuration...<br />'; print_r($realms); echo '<br /><br />'; echo 'Printing Image Configuration... <br />'; print_r($image); echo '<br /><br />'; echo 'Printing PHP Configuration... <br />'; phpinfo(); echo '<br /><br />'; } elseif(!is_numeric($_GET['realmid']) || empty($realms[$_GET['realmid']]['name'])) { // Invalid Realm ID, Display Status echo ' '; } else { // Create an Image for a Realm // Online Player Recreate Cache online_player_recache(); // Generate Image online_player_image($_GET['realmid']); } $version = 1000000014; ?>
so far this has been one of the easiest status scripts i seen in awhile.
For the official post of this script go here--> http://arcemu.org/forums/index.php?s...=server+status
it goes into better details of how to set it up and so forth.
Last edited by Peony; 02-27-2009 at 04:27 AM.
Wow looks like you need to re-edit some config.php files and update some sql tables.
whats happening here is its looking for tables and/or a database and not finding it.
It could be the address to the database is incorrect or the database you have is outdated and needs updating or even the sql version is not right...
Usually and armory page queries the character database so I would start there in the configs to make sure its pointing to the correct database.
Also make sure your sql server is booted and active, you would be surprised of how many people forget this step when setting up their ow website and game servers....
PhP fusion is one of those weird CMS's. its nice when its working but if you don't do it right you end up with a very messed up website.
My personal choice for web is wordpress... it may be just me but I like how it sets up and the add-ons are implemented.
thank you it's good
link doesn't work
"Il link al file che hai richiesto non è valido. "
Last edited by Kume; 03-23-2009 at 12:27 PM.
Could someone please post a mirror to the file?
thnx :-)