Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-14-2006, 05:04 AM
d00d
Sarnak
 
Join Date: Aug 2003
Posts: 52
Exclamation EQ Browser

I'm using eqbrowser 5.0 but having problems.
I have apache and php working alrdy Cus i have a php forums up and the php database editor tool which rocks btw.)

1.) I extract the eq browser to a directory on my server.

2.) Rename includes/config.php.dist to includes/config.php & edit it.
<?php
$SiteTitle='My EQemu Server';
$SiteEmail='';

$root_url='http://localhost/choke16000/eqbrowser/';
$includes_url=$root_url.'includes/';
$includes_dir=getcwd()."/includes/";
$eqemu_dir="/htdocs/choke16000/eqbrowser/";
$quests_dir=$eqemu_dir."quests/";
$quests_datas=$eqemu_dir."quests/datas/";
$maps_dir=getcwd()."/maps/";
$maps_url=$root_url."/maps/";
$npcs_dir=getcwd()."/npcs/";
$npcs_url=$root_url."/npcs/";
$icons_dir=getcwd()."/icons/";
$icons_url=$root_url."/icons/";

$dbhost="localhost";
$dbname="peq";
$dbuser="myUser";
$dbpasswd="myPassword";

3.) Source Race.sql & Spells.sql into my database

4.) Copy spells_us.txt to the includes/sql directory & Edit and run perl import_spells.pl

now when i open the index.php page i get these errors...


Notice: Undefined variable: ShowCharacters in C:\Program Files\Apache Group\Apache2\htdocs\choke16000\eqbrowser\includes \menu.php on line 27

Notice: Undefined variable: ShowAccount in C:\Program Files\Apache Group\Apache2\htdocs\choke16000\eqbrowser\includes \menu.php on line 27

Notice: Undefined variable: ShowAccounts in C:\Program Files\Apache Group\Apache2\htdocs\choke16000\eqbrowser\includes \menu.php on line 30

Notice: Undefined variable: ShowCharacters in C:\Program Files\Apache Group\Apache2\htdocs\choke16000\eqbrowser\includes \menu.php on line 33

heres a link to my site if that helps.. http://twbguild.servegame.com/choke1...wser/index.php
Reply With Quote
  #2  
Old 05-14-2006, 05:52 AM
saladbowl1
Fire Beetle
 
Join Date: Aug 2004
Posts: 10
Default

Open config.php

under $ItemAddChanceToDrop=TRUE;

Add

$ShowCharacters=TRUE;
$ShowAccounts=TRUE;

that's how i fixed it =\
Reply With Quote
  #3  
Old 05-14-2006, 06:50 AM
d00d
Sarnak
 
Join Date: Aug 2003
Posts: 52
Default

wow that fixed that problem, i still get undefined variable errors whenever i click a link tho heh , guess i need to delcare all the variables errors i find in config.php. Will try this, thanks.

EDIT: i get tons of undefined variable errors way to many.. anyway some one can send me a fixed copy of the eq browser that works? lemme know thanks

Last edited by d00d; 05-14-2006 at 03:00 PM..
Reply With Quote
  #4  
Old 05-14-2006, 03:18 PM
jimbabwe
Hill Giant
 
Join Date: Aug 2005
Posts: 107
Default

I also get tons of undefined variable errors. I don't know much about php, but after looking through it I have found they use tons of variables that don't get declared anywhere. How exactly is it supposed to work?
Reply With Quote
  #5  
Old 05-15-2006, 05:13 AM
daemonreaver
Fire Beetle
 
Join Date: Apr 2006
Posts: 21
Default

To ignore undefined variable warnings, use

Code:
<?php
//Insert the un-remarked line into the very top of your index.php *OR* the confic.ing.php file that is included in all other PHP files of the site you wish to eliminated junk error reports.

error_reporting(E_PARSE); //Best for a running site. Still shows critical PHP parsing errors.
//error_reporting(E_WARNING & E_PARSE); //Ignores garbage errors.
//error_reporting(E_ALL); //The PHP Default.
Just add it at the top just after the <?php starter. You can edit the PHP.ini or PHP.conf, however, this is preferred as it only afects the page (or set of pages) the command is insterted into. Some PHP scripts require the other errors to operate properly.

Hope that helps
Reply With Quote
  #6  
Old 05-15-2006, 08:12 AM
d00d
Sarnak
 
Join Date: Aug 2003
Posts: 52
Cool

Ya that sure does get rid of the undefined variable errors, but still none of the php actually is working. It is suppose to query the database for info and it doesnt seem to be doing it. I just gave the eqbrowser 5.0 template to a friend who is skilled at php code and gonna havem make it a fully working copy then ill set you guys up with the download for it.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 09:38 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3