Problem setting up PEQ editor
Hello,
Been searching around the EQemu forums for awhile now and I cant seem to find any information on my problem. I think im having trouble setting up PhP 5.2.0 with Apache 2.2.3. Ive updated the config files to match up with my PEQ database location and login/pass. Apache root directories match up. The basic steps listed in the PEQeditor install readme.txt listed are completed. So when I go to enter localhost\index.php or peq_editor.php I just get strings of code displayed in my browser. Code:
"; } if ($filter==1) { } elseif ($filter==2) { $query = "SELECT npc_types.id AS id,npc_types.name AS name,npc_types.merchant_id AS merchant,spawn2.respawntime AS respawn, spawnentry.spawngroupID AS spawngroup FROM npc_types,spawnentry,spawn2,spawngroup WHERE (spawn2.spawngroupid=spawnentry.spawngroupid AND (spawngroup.id=spawnentry.spawngroupID) AND npc_types.id=spawnentry.npcid) AND spawn2.zone = '$zone' GROUP BY spawnentry.spawngroupID ORDER BY spawnentry.spawngroupID ASC"; } elseif ($filter==3) { $query = "SELECT npc_types.id AS id,npc_types.name AS name,npc_types.merchant_id AS merchant,spawn2.respawntime AS respawn, spawnentry.spawngroupID AS spawngroup FROM npc_types,spawnentry,spawn2,spawngroup WHERE (spawn2.spawngroupid=spawnentry.spawngroupid AND (spawngroup.id=spawnentry.spawngroupID) AND npc_types.id=spawnentry.npcid) AND spawn2.zone = '$zone' ORDER BY spawnentry.spawngroupID ASC"; } elseif ($filter==4) { $query = "SELECT npc_types.id AS id,npc_types.npc_faction_id AS faction, npc_faction.primaryfaction AS faction2,npc_types.name AS name,npc_types.merchant_id AS merchant,spawn2.respawntime AS respawn, spawnentry.spawngroupID AS spawngroup FROM npc_types,spawnentry,spawn2,spawngroup,npc_faction WHERE (spawn2.spawngroupid=spawnentry.spawngroupid AND (spawngroup.id=spawnentry.spawngroupID) AND npc_types.id=spawnentry.npcid AND npc_types.npc_faction_id=npc_faction.id) AND spawn2.zone = '$zone' ORDER BY npc_types.npc_faction_id ASC"; } else { $query = "SELECT npc_types.id AS id,npc_types.name AS name,npc_types.merchant_id AS merchant,spawn2.respawntime AS respawn, spawnentry.spawngroupID AS spawngroup FROM npc_types,spawnentry,spawn2 WHERE (spawn2.spawngroupid=spawnentry.spawngroupid AND npc_types.id=spawnentry.npcid) AND spawn2.zone = '$zone' GROUP BY npc_types.id ORDER BY npc_types.name ASC"; } function main_page() { global $page,$races,$classes,$zone,$var,$var2,$guest,$npc,$fid,$filter,$number,$number2,$number3,$loot,$action,$action2,$user,$logging,$log_dir,$database; include('header2.php'); echo " Thanks in advance for any info on how im messing up the PEQeditor install. |
All times are GMT -4. The time now is 04:02 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.