Jump to content
  • 0

[help] Web ERROR PHP


Question

Posted

i just made my website and i have few php scripts..... for top pvp/pk/ clan.... and ACM

 

so problem is this...  when i try looking  at TOP pvp/pk/clan or ACM i got error as my browser cannot connect..  in my database design for table Characters/Accounts for acces level is   "acceslevel" and in php script is "acces_Level"

 

so i got error to connect to site when i change in PHP script "acces_Level" into "acceslevel"

 

i try design my table - so i design my table in acces_level but i got error too

 

so when in php script acces_level is same as in database i get error  " cannot connect to website "  is the error as when you try to connect to a webpage and u dont have internet.....

 

anyone can help me ?   i really dont know what to do :<

 

i host the site on my computer i using WAMPSERVER

9 answers to this question

Recommended Posts

  • 0
Posted

this is page for TOP 10 PLAYERS

 

 

scripts for TOP players/pvp/pk and account manager i took from this forum

 

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="eng" xml:lang="eng">
<head>

<title>Lineage ][ World</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<meta name="description" content="L2 World" />

<meta name="keywords" content="L2, Lineage, Epilogue, World, PvP" />
<meta name="generator" content="DataLife Engine (http://l2world.no-ip.info/)" />
<meta name="robots" content="all" />
<meta name="revisit-after" content="1 days" />
<link rel="search" type="application/opensearchdescription+xml" href="engine/opensearch.php" title=".:L2 World:. - Private Lineage 2 Epilogue Server" />
<link rel="alternate" type="application/rss+xml" title=".:L2 World:. - Private Lineage 2 Epilogue Server" href="rss.xml" />
<script type="text/javascript" src="templates/l2/js/thickbox.html"></script>
<script type="text/javascript" src="templates/l2/js/jquery.html"></script>
<script type="text/javascript" src="templates/l2/js/jquery.scrollTo-min.html"></script>
<script type="text/javascript" src="templates/l2/js/init.html"></script>
<script language="javascript" type="text/javascript" src="templates/l2/js/dtrotator.html"></script>
<script type="text/javascript">
		$(document).ready(function() {
			VerticalDoWidthElevator();
			MoreLessElevator();
			}
		);
</script>
<link rel="shortcut icon" href="templates/l2/images/favicon.png"/>
<link rel="stylesheet" type="text/css" href="templates/l2/css/aionic_css.css" />
<style type="text/css">
</style>
</head>
<script type="text/javascript" src="engine/ajax/menu.js"></script>
<script type="text/javascript" src="engine/ajax/dle_ajax.js"></script>
<div id="loading-layer" style="display:none;font-family: Verdana;font-size: 11px;width:200px;height:50px;background:#FFF;padding:10px;text-align:center;border:1px solid #000">
<div style="font-weight:bold" id="loading-layer-text">Loading: Please Wait...</div><br />
<img src="engine/ajax/loading.gif"  border="0" alt="" /></div>
<div id="busy_layer" style="visibility: hidden; display: block; position: absolute; left: 0px; top: 0px; width: 100%; height: 100%; background-color: gray; opacity: 0.1; -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=10)'; filter:progid:DXImageTransform.Microsoft.Alpha(opacity=10); "></div>
<script type="text/javascript" src="engine/ajax/js_edit.js"></script>
<div id="container-wrapper" align="center">

	<div id="container" align="left">
		<div id="header">

			<div id="logo"><h1><a href="index.php" title="L2 World - Where you always are welcome"><span>L2 World - Where you always are welcome</span></a></h1></div>

		</div>
<div id="VerticalStage2DownDockicon2" class="transitionVerticalStage3"></div>
<div id="VerticalStage2DownDockicon3" class="transitionVerticalStage3"></div>
		<div id="menu">
					<div class="module">
		<div>
			<div>
				<div>
					<ul id="mainlevel-nav"><li>
<?php include "templates/l2/bars/menu.php" ?>
</ul>					</div>
			</div>
		</div>
	</div>
				</div>
		<div class="cornice-top">
		</div>
		<div class="colmask threecol">
			<div class="colmid">
				<div class="colleft">
					<div class="col1">
						<!-- Column 1 start -->
<!-- Column 1 start -->
				<div class="green_module">
							<div>
								<div>
									<div>
												<table cellpadding="0" cellspacing="0" class="moduletable">
			<tr>
		<td>
<div id='dle-info'></div>
<div id='dle-content'><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr>
<center>
<h2>Top 10 Active Players</h2><br>
<?php 

function connect() 
{ 
include "config/stats.php";
}

$sexes = array('Male', 'Famale'); 
$online = array('0' => "<font color=#FF0000><b>OFFLINE</b></font>", '1' => "<font color=#035922><b>ONLINE</b></font>");
$klan = array('0' => "No Clan"); 

$FORM = "" ; 
$query_chars = "select char_name,level,sex,classid,onlinetime from characters WHERE access_level=0 AND onlinetime >= 1 order by onlinetime desc limit 10;"; 
connect(); 
$link = mysql_query($query_chars); 
$i=1; 
$r=255; 
while ( $row=mysql_fetch_row($link) ) 
{ 
   $timer2=$row[4]/1000;
   $datetime2  = gmstrftime("%d.%m.%Y v %H:%M:%S", $timer2);
   $query = "select classname from char_templates where classid=$row[3]"; 
   $link2 = mysql_query($query); 
   $class = mysql_fetch_row($link2); 

   $FORM .= "<table><tr> 
   <td align=center><font color=#808080><b>  $i.</b></span></td>
   <td align=center><font color=#AE5C08>  $row[0]</td>
   <td align=center><font color=#808080><b>  Sex:</b></td>
   <td align=center><font color=#AE5C08>  ".$sexes[$row[2]]."</font></td>
   <td align=center><font color=#808080><b>  Class:</b></td>
   <td align=center><font color=#AE5C08>  ".$class[0]."</font></td><br>
   </tr></table>"; 
   $i++; 
   $r -= 0; 
}  

mysql_close(); 

echo $FORM; 

?>
<table>
<br>
<img src="templates/l2/images/line.png"><br>
</center>
</div>
</div></div></div></div>
					<div class="clearing"></div>
					<div class="post-rating"><div class="rating" style="float:left;">
	<ul class="unit-rating">
	<li class="current-rating" style="width:51px;">51</li>
	</ul>
</div></div>
<br>
<br>
		</div>
</table>
</div>
</td>
	</tr>
	</table>
											</div>
								</div>
							</div>
						</div>
						<!-- Column 1 end -->
					</div>					
					<div class="col2">
						<!-- Column 2 start -->
								<div class="module" id="module">
		<div>
			<div>
				<div>
					<h3>Statistics</h3>
<?php include "templates/l2/bars/statistic.php" ?>
</div>
			</div>
		</div>
	</div>
			<div class="module" id="module">
		<div>
			<div>
				<div>
					<h3>Server Status</h3>
                           <tr>
<td colspan="3">
<?php include "templates/l2/bars/status.php" ?>
</td>
                           </tr>

</p>
				</div>
			</div>
		</div>
			</div>
					</div>
					<div class="col3">
						<!-- Column 3 start -->
								<div class="module">
		<div>
			<div>
				<div align="left">
					<h3>Server Statistic</h3>
<?php include "templates/l2/bars/server_statistic.php" ?>
				</div>
			</div>
		</div>
	</div>					
			<div class="module">
		<div>
			<div>
				<div>
					<h3>Vote For Us</h3>
<?php include "templates/l2/bars/vote.php" ?>
					</div>
			</div>
		</div>
	</div>
								<!-- Column 3 end -->
					 </div>
				</div>
			</div>
		</div>
		<div class="cornice-bottom">
		</center>
<br><br><br>
		<div id="footer" align="center"><br/>
<script  type="text/javascript">
<br>
<img src="templates/l2/images/copyright.png">
		</div>
	</div>
</div>
</body>
</html>

 

 

  • 0
Posted
This is not a php error

 

if it was php error it would look like this

 

Parse error: syntax error, unexpected T_STRING in C:\AppServ\www\xampp\test\redrosid\index.php  on line 112

  • 0
Posted

yes but how i told u, if i fix error php i cannot connect to site....   and i use wampserver not xampp :P

 

if i leave the site with error i can view the site but phpshowme error  "cannot find access_level column"  cause my colum in DB is "acceslevel" so i do these changes and i got error how u sw on printscreen....   cannot connect.... do you know why?

  • 0
Posted

that can be because my Wampserver doesent start MySQL service ??? but i have install manualy MySQL service for l2j server

  • 0
Posted

Problem solved .... i uninstall wampserver and i installed xampp and now it works well

thank you very much to all who tried help me ! :)

Guest
This topic is now closed to further replies.


  • Posts

    • Played the first 20 lvls in the OBT, very promising indeed. Quests seemed to be working fine for the most part although there's no need for the repetitive quests in the start since with x3 rates (x4 with premium which is pretty cheap tbh) adena from mobs outperforms the repetitive quests since you outlevel them in the early stage before you finish the quest, one time quests are good though and that's where is the juice. Idk how the og elixir was since I was a kid but this is definetely going to be much easier than your usual x1-2 no buffs server since GK is free for the first 40 lvls and you get basic 6 basic normal buffs even after low levels, that's not a bad thing for a lot of people though. Will be there on the opening.  
    • This post originally appeared on MmoGah. As the global release of Aion 2 draws near, players are eagerly preparing to dive into this highly anticipated MMORPG. One of the most important decisions you’ll make is choosing the right class, as it will define your experience in both solo and group content. Aion 2 introduces eight distinct classes, each with unique gameplay mechanics, strengths, and roles. Whether you’re a seasoned veteran or a newcomer, understanding these classes is essential to finding the one that suits your preferred playstyle. This guide provides a comprehensive overview of all eight classes, tips for selecting your ideal role, and recommendations for different types of players. Aion 2’s class system offers a variety of options across tanks, damage dealers, healers, and hybrid supports. Here’s a quick breakdown of the roles: - Tank Classes: Templar - Physical DPS Classes: Gladiator, Assassin, Ranger - Magical DPS Classes: Sorcerer - Hybrid Classes: Spiritmaster, Chanter - Healer Class: Cleric Each class has been carefully designed to excel in specific scenarios, whether it’s PvP, PvE, solo leveling, or large-scale faction battles. Pro Tip: As you embark on your journey, remember that having Aion 2 Kinah can greatly enhance your experience, so consider acquiring it to make the most of your adventure.   Class Breakdown Templar – The Indomitable Tank The Templar is the quintessential tank, specializing in defense and crowd control. With high durability and reliable aggro management, this class is invaluable in group content and large-scale battles. Strengths: - Exceptional survivability  - Top-tier aggro control  - Disruption tools for PvP  Playstyle: Templars thrive on the frontlines, soaking up damage and protecting allies. They are perfect for players who enjoy leading the charge and maintaining battlefield control. Gladiator – The Melee Powerhouse The Gladiator strikes a balance between offense and defense, offering strong AoE damage and decent survivability. This class excels in fast-paced melee combat and open-world PvP. Strengths: - High AoE damage  - Lifesteal-style abilities for sustain  - Versatile in both PvE and PvP  Playstyle:  Gladiators are ideal for players who enjoy dynamic melee combat with a mix of durability and damage. Assassin – The Stealthy Burst Specialist Assassins are masters of stealth and mobility. Known for their high single-target burst damage, they dominate in duels and small-scale PvP encounters. Strengths: - Exceptional burst damage  - Stealth mechanics for ambushes  - High mobility for quick disengagement Playstyle: This class is perfect for players who prefer fast-paced, tactical gameplay with an emphasis on sneaky kills. Ranger – The Precision Archer Rangers excel at dealing consistent physical damage from a distance. With excellent crowd control abilities and strong kiting potential, they are a solid choice for both PvE and PvP. Strengths:  - Safe ranged damage  - Strong crowd control tools  - Great for solo play  Playstyle: Rangers suit players who enjoy staying at range, controlling enemies, and executing precise attacks. Sorcerer – The Magical Artillery Sorcerers are pure magic damage dealers with devastating AoE spells and crowd control abilities. They are capable of turning the tide of battle with their massive burst potential. Strengths: - Highest magical burst damage  - Excellent AoE capabilities  - Crowd control via slows and immobilizes  Playstyle: Sorcerers are perfect for players who enjoy dealing immense magical damage while controlling enemies from a distance. Spiritmaster – The Tactical Summoner The Spiritmaster brings strategic depth to combat by combining summons, debuffs, and utility spells. This class is highly versatile and excels in both solo and group settings. Strengths: - Elemental summons with unique abilities  - Strong debuffs for PvP dominance  - Great solo leveling potential  Playstyle: Spiritmasters are best suited for players who enjoy strategic gameplay and multitasking in battle. Cleric – The Essential Healer The Cleric is the backbone of any group, providing powerful healing, cleansing, and defensive buffs. This class is indispensable in dungeons and raids. Strengths: - Reliable direct and AoE healing  - Cleansing abilities to remove debuffs  - Vital for group survival  Playstyle: Clerics are ideal for players who take pride in supporting their team and ensuring everyone stays alive. Chanter – The Hybrid Support The Chanter blends melee combat with healing and party-wide buffs. This versatile class can fill multiple roles in a group, making it a valuable addition to any team. Strengths: - Strong party buffs  - Solid healing capabilities  - Decent melee damage Playstyle: Chanters are perfect for players who want to contribute both offensively and defensively while supporting their team.   Choosing the Right Class What’s Your Playstyle? To help narrow down your choice, consider what you enjoy most in an MMORPG: • If you like tanking and leading the charge, choose Templar. • If you like melee combat with high durability, choose Gladiator.  • If you like stealthy gameplay with burst damage, choose Assassin.  • If you like ranged combat with precision, choose Ranger.   • If you like Massive magical damage, choose Sorcerer. • If you like tactical utility with summons, choose Spiritmaster. • If you like healing and supporting teammates, choose Cleric.  • If you like hybrid support with melee combat, choose Chanter. Beginner-Friendly Classes If you’re new to MMORPGs or unsure where to start, these classes offer straightforward mechanics: 1. Templar – Durable, beginner-friendly tank. 2. Cleric – Essential healer with clear roles in group content. Solo vs. Group Play Some classes excel in solo play, while others shine in groups: - Best Solo Classes: Gladiator, Ranger, Spiritmaster (good sustain and flexibility). - Best Group Classes: Templar (tank), Cleric (healer), Chanter (support). PvP Recommendations For competitive players who enjoy PvP: - 1v1/Small-Scale PvP: Assassin (stealth burst) or Sorcerer (burst + CC).  - Large-Scale PvP: Spiritmaster (debuffs) or Templar (frontline disruption). Team Composition Tips Building a balanced party is crucial in Aion 2. Consider these combinations for optimal synergy: - Tank + DPS + Healer: Templar + Sorcerer + Cleric (classic setup).  - Buff-Oriented Group: Gladiator + Chanter + Cleric (durability + support).    Final Thoughts Aion 2 offers a rich variety of classes tailored to different playstyles. Whether you prefer tanking, dealing damage, or supporting your team, there’s a class that fits your preferences. To summarize: - For beginners: Start with Templar or Cleric. - For high damage: Choose Gladiator, Assassin, or Sorcerer. - For strategic gameplay: Go with Spiritmaster. - For support roles: Opt for Cleric or Chanter. Still undecided? Share your preferred playstyle—solo adventuring, competitive PvP, or cooperative group play—and you’ll find the perfect class to begin your journey in Aion 2!  
    • Prepare for OBT (Open Beta Test)! https://www.l2ertheia.eu/news:open-beta-test-obt/
    • What the actual fuck? HEY Maxtor, gay of the season, time to do some work. Banning required.
    • Hello there, sorry for the late response, (nobody cares anyway). I remember you, yes you did tried something, but sucked at it. Not a little lick, but sucked hard. No surprise you couldn't handle a single event, not to mention a long term event schedule. Section is long gone. And after all these years, you are still dumb enough to not even try to use a google translator.
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock