AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Trash (https://forums.alliedmods.net/forumdisplay.php?f=22)
-   -   Amxbans 6.x (https://forums.alliedmods.net/showthread.php?t=19916)

primate 11-16-2005 07:27

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);

lantz69 11-16-2005 07:57

@ 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

Cryonic 11-16-2005 08:50

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

lantz69 11-16-2005 09:01

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


Cryonic 11-16-2005 09:31

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

Maybe it'll work better now

KiLL3r CLOWN 11-16-2005 10:16

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 11-16-2005 10:46

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.

lantz69 11-16-2005 10:53

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


primate 11-16-2005 15:16

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 :D

Fatal error: Smarty error: [in ban_list.tpl line 34]: [plugin] modifier 'lower' is not implemented (core.load_plugins.php, line 118) in /usr/home/web/wse64831/amxbans/smarty/Smarty.class.php on line 1088

Janet Jackson 11-16-2005 15:31

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.


All times are GMT -4. The time now is 10:16.

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