Sarjuuk / aowow

Database viewer for TrinityCore based on aowow by @LordJZ, based on the JS-Engine of Wowhead
204 stars 217 forks source link

PHP error under admin account #202

Closed ex1dreamer closed 4 years ago

ex1dreamer commented 4 years ago

Works Ok until I enter under admin account. Follwoing error is displayed: One or more errors occured, while generating this page. E_NOTICE - Undefined index: prefix @ C:\Apache24\htdocs***\includes\database.class.php:36

Sarjuuk commented 4 years ago

you manually edited config/config.php the prefix is automatically set when the setup is run properly run php aowow --dbconfig to fix this

also the E_NOTICE always occurs, it's just displayed directly to you, when you are logged in as admin.

ex1dreamer commented 4 years ago

I still cannot understand how to run dbconfig properly. It seems all other databases apart of aowow not connected properly. Why db config asks for the table prefix each time? In php code table prefix has been set only once as aowow_. Trinity core auth and characters DBs are connected but also asking for table prefix. what should I use? no prefix doesn't work either. site generates empty page on tools->profiler->characters

Sarjuuk commented 4 years ago

rel #206