Raised This Month: $ Target: $400
 0% 

Amxbans 6.x


Post New Thread Reply   
 
Thread Tools Display Modes
primate
Junior Member
Join Date: Jun 2004
Old 11-16-2005 , 07:27  
Reply With Quote #101

hi i have a instal problem on my web page

Warning: Smarty::_compile_resource() [function.-compile-resource]: Unable to access /usr/home/web/wse64831/amxbans/smarty/internals/core.write_compiled_resource.php in /usr/home/web/wse64831/amxbans/smarty/Smarty.class.php on line 1425

Warning: Smarty::_compile_resource(/usr/home/web/wse64831/amxbans/smarty/internals/core.write_compiled_resource.php) [function.-compile-resource]: failed to open stream: Permission denied in /usr/home/web/wse64831/amxbans/smarty/Smarty.class.php on line 1425

Fatal error: Smarty::_compile_resource() [function.require]: Failed opening required '/usr/home/web/wse64831/amxbans/smarty/internals/core.write_compiled_resource.php' (include_path='.:') in /usr/home/web/wse64831/amxbans/smarty/Smarty.class.php on line 1425


line 1424 - 1426 Smarty.class.php

$_params = array('compile_path'=>$compile_path, 'compiled_content' => $_compiled_content);
require_once(SMARTY_CORE_DIR . 'core.write_compiled_resource.php');
smarty_core_write_compiled_resource($_params, $this);
primate is offline
lantz69
AMX Mod X Beta Tester
Join Date: Mar 2004
Location: Sweden, Skåne
Old 11-16-2005 , 07:57  
Reply With Quote #102

@ primate

Quote:
2. Make sure that the user running your webserver has write-access to the smarty/templates_c directory and to include directory !
That's what you forgot
chmod those dirs to 777
__________________
Using: Amxmodx 1.8.1.xxxx, cstrike
http://www.vanilla.se/
lantz69 is offline
Cryonic
Senior Member
Join Date: Aug 2004
Location: Sweden..... (XCoder)
Old 11-16-2005 , 08:50  
Reply With Quote #103

It works for me as of getting admin rights but when I try to ban someone with amx_banmenu they stay in the server. If I ban someone with amx_ban command I get to choose a reason but the ban goes to the banned.cfg, not the amxbans database
__________________
Cryonic is offline
lantz69
AMX Mod X Beta Tester
Join Date: Mar 2004
Location: Sweden, Skåne
Old 11-16-2005 , 09:01  
Reply With Quote #104

Quote:
Originally Posted by Cryonic
It works for me as of getting admin rights but when I try to ban someone with amx_banmenu they stay in the server. If I ban someone with amx_ban command I get to choose a reason but the ban goes to the banned.cfg, not the amxbans database
You probably hasn't done this

Quote:
Originally Posted by documentation
In plugins.ini
insert admin_sql.amxx Note. Only if you want to use amxbans to manage admins..// So this plugin is not necesary
place amxbans.amxx just after admin_sql.amxx AND before admincmd.amxx
__________________
Using: Amxmodx 1.8.1.xxxx, cstrike
http://www.vanilla.se/
lantz69 is offline
Cryonic
Senior Member
Join Date: Aug 2004
Location: Sweden..... (XCoder)
Old 11-16-2005 , 09:31  
Reply With Quote #105

Oh I had it right AFTER admincmd... Not before.

Maybe it'll work better now
__________________
Cryonic is offline
KiLL3r CLOWN
Junior Member
Join Date: Apr 2005
Location: Jacksonville, Fl.
Old 11-16-2005 , 10:16  
Reply With Quote #106

Quote:
Originally Posted by Janet Jackson
Are you sure you have it set up like this ?
Code:
;admin.amxx      ; admin base (required for any admin-related)
;admin_sql.amxx   ; SQL version (comment admin.amxx)
admin_sql.amxx   ; AmxBans SQL version of admin_sql if you are using amxbans web interface to manage admins
And have you set 'Use AMXadmin manager?' to 'yes' in your AMXBans configs ?
I know that I'm using the admins_sql.amxx for AMXbans. When I added it to the plugin folder I had to overwrite it.

And I do have it set to yes for the AMXadmin manager

Code:
admin_sql.amxx
admin.amxx		; admin base (required for any admin-related)
amxbans.amxx
;admin_sql.amxx		; admin base - SQL version (comment admin.amxx
KiLL3r CLOWN is offline
KiLL3r CLOWN
Junior Member
Join Date: Apr 2005
Location: Jacksonville, Fl.
Old 11-16-2005 , 10:46  
Reply With Quote #107

Oh, you know what. Something is wrong. I just realized that I had added myself to the user.ini file as admin. After removing me from that, I dont have admin

For some reason, my admins are not being loaded thru amxbans.
KiLL3r CLOWN is offline
lantz69
AMX Mod X Beta Tester
Join Date: Mar 2004
Location: Sweden, Skåne
Old 11-16-2005 , 10:53  
Reply With Quote #108

Quote:
Originally Posted by KiLL3r CLOWN
Code:
admin_sql.amxx
admin.amxx		; admin base (required for any admin-related)
amxbans.amxx
;admin_sql.amxx		; admin base - SQL version (comment admin.amxx
You should not load admin.amxx if you wanna use amxbans to load admins, only load admin_sql.amxx
Also compile the admin_sql.sma again from tha amxbans_4.3 package and put the compiled admin_sql.amxx in the plugins folder just to be on the safe side.

I'm sure your gonne get i right at last.

Also check the logs for errors if it dont work.

your plugins.inin should be like this in the begining
Code:
admin_sql.amxx 
;admin.amxx      ; admin base (required for any admin-related) 
amxbans.amxx 
;admin_sql.amxx      ; admin base - SQL version (comment admin.amxx
__________________
Using: Amxmodx 1.8.1.xxxx, cstrike
http://www.vanilla.se/
lantz69 is offline
primate
Junior Member
Join Date: Jun 2004
Old 11-16-2005 , 15:16  
Reply With Quote #109

Quote:
Originally Posted by lantz69
@ primate

Quote:
2. Make sure that the user running your webserver has write-access to the smarty/templates_c directory and to include directory !
That's what you forgot
chmod those dirs to 777
ok i had 766 and chaged it 2 777 but its the same results

and i did forget it befor and then it coldnt install at all

now i tried 2 make smarty\internals 2 777 and that woked but now i have a nother problem

Fatal error: Smarty error: [in ban_list.tpl line 34]: [plugin] modifier 'lower' is not implemented (core.load_plugins.php, line 11 in /usr/home/web/wse64831/amxbans/smarty/Smarty.class.php on line 1088
primate is offline
Janet Jackson
Veteran Member
Join Date: Mar 2005
Location: far, far away from here
Old 11-16-2005 , 15:31  
Reply With Quote #110

I'm just guessing here : I'm not sure if the newest version of the Smarty libs were included in AMXBans 4.3 from the start, so maybe you have an old copy. If this is the case, download Smarty, open the zip, upload the libs map (including all submaps and files) to your amxbans/smarty website.
__________________
Janet Jackson is offline
Reply


Thread Tools
Display Modes

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 21:07.


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