Raised This Month: $ Target: $400
 0% 

Sourcemod Webadmin (Updated 12/05/2012)


Post New Thread Reply   
 
Thread Tools Display Modes
HSFighter
Veteran Member
Join Date: Aug 2007
Location: Flensburg - Germany
Old 10-04-2008 , 08:16   Re: Sourcemod Webadmin
Reply With Quote #161

Quote:
Originally Posted by tigerox View Post
what is the name of the database section for webadmin? is it "admins"
You can either use this section "default", or use "admins" if you wish to separate your admin database.

Until i add the Multi-Database support to the next SMWA Relase,
i will use the "default" section.
Why: The other MySQL Plugins ex. "Maprate" are using the "default" section.




-
__________________



Sorry for my very bad english
Greetings HSFighter

Last edited by HSFighter; 10-04-2008 at 08:37.
HSFighter is offline
Send a message via ICQ to HSFighter
tigerox
AlliedModders Donor
Join Date: Oct 2008
Location: Canada
Old 10-04-2008 , 13:04   Re: Sourcemod Webadmin
Reply With Quote #162

So,

I have confirmed my link to the database by using sm_sql_delgroup and observing the change on my webadmin page. However, the admins.cfg and admin_groups.cfg never change and I do not have admin access. Basically it never gets the admin info for me. Any idea what could be causing this.
tigerox is offline
HSFighter
Veteran Member
Join Date: Aug 2007
Location: Flensburg - Germany
Old 10-04-2008 , 13:11   Re: Sourcemod Webadmin
Reply With Quote #163

which plugin for SQL-Admins are you using?
__________________



Sorry for my very bad english
Greetings HSFighter
HSFighter is offline
Send a message via ICQ to HSFighter
tigerox
AlliedModders Donor
Join Date: Oct 2008
Location: Canada
Old 10-04-2008 , 14:14   Re: Sourcemod Webadmin
Reply With Quote #164

i have tried both threaded and prefetch.
tigerox is offline
tigerox
AlliedModders Donor
Join Date: Oct 2008
Location: Canada
Old 10-04-2008 , 15:58   Re: Sourcemod Webadmin
Reply With Quote #165

seems my provider only allows 1 user to be logged in from a given host. I have sourcebans running under a different login name for its database.

All working now. Great tool! Thanks
tigerox is offline
darkterrorist
Junior Member
Join Date: Oct 2008
Old 10-05-2008 , 17:02   Re: Sourcemod Webadmin
Reply With Quote #166

Fatal error: Call to undefined function logged_in() in C:\wamp\www\index.php on line 129

i got this same error

on newest mysql server everythign went well
but somehow it keeps saying that the the fuction logged_in doesnt work.

please help me

gr darkt

Last edited by darkterrorist; 10-06-2008 at 02:18.
darkterrorist is offline
HSFighter
Veteran Member
Join Date: Aug 2007
Location: Flensburg - Germany
Old 10-06-2008 , 12:22   Re: Sourcemod Webadmin
Reply With Quote #167

HI darkterrorist,

i can't explain the error.
The logged_in function is a simple PHP function in "sessionhelpers.inc.php".

But, you can disbaled "error_reporting(E_ALL);" in the index.php.

ShadowMoses had the same problem for some month ago.
Here is his Solution:
Quote:
Originally Posted by ShadowMoses
I believe I know what the problem is. I ran into this issue with sourcebans as well. It appears with IIS 7 on server 2008 it does not like error_reporting = E_ALL put in the php code. If I take all of these out the website works fine.

Not sure why this happens as I have error_reporting = E_ALL & ~E_NOTICE in my php.ini. I guess it is a server 2008 problem or php problem with the server build who knows.
__________________



Sorry for my very bad english
Greetings HSFighter
HSFighter is offline
Send a message via ICQ to HSFighter
darkterrorist
Junior Member
Join Date: Oct 2008
Old 10-06-2008 , 14:39   Re: Sourcemod Webadmin
Reply With Quote #168

error_reporting(E_ALL)

i removed this from index.php

but still i keep the error

what did i do wrong?
darkterrorist is offline
HSFighter
Veteran Member
Join Date: Aug 2007
Location: Flensburg - Germany
Old 10-06-2008 , 17:53   Re: Sourcemod Webadmin
Reply With Quote #169

I have sent you a pm!
__________________



Sorry for my very bad english
Greetings HSFighter
HSFighter is offline
Send a message via ICQ to HSFighter
HSFighter
Veteran Member
Join Date: Aug 2007
Location: Flensburg - Germany
Old 10-08-2008 , 07:34   Re: Sourcemod Webadmin
Reply With Quote #170

I found the Problem.

The first line in "../inc/sessionhelpers.inc.php" and "../inc/logged_in.php" are "<?" !!!

But it should be "<?php".

Some PHP Versions can't work with only "<?".
I fix this in next relase!

-
__________________



Sorry for my very bad english
Greetings HSFighter

Last edited by HSFighter; 10-12-2008 at 18:52.
HSFighter is offline
Send a message via ICQ to HSFighter
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 16:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode