|
#11
|
|||
|
|||
now i have this error
PHP Notice: Undefined variable: INSTALLER09 in /var/www/html/include/class/page_verify.php on line 39 and a white page |
#12
|
|||
|
|||
once its on the global set you won't get undef variable
you are doing something wrong
__________________
Need HELP!? I can install:
|
#13
|
|||
|
|||
Now if you tell me what I'm doing wrong then I could fix it too. should I reinstall it again with the changed page verify
|
#14
|
|||
|
|||
why? just change the page verify with that we told ya..
just do the trick.. logout..clear your cookies.. maybe also empty/refresh memcache
__________________
Need HELP!? I can install:
|
#15
|
|||
|
|||
just copy this code:
Code:
// receiving script... // // You need to pass the value of $task from the calling script to the receiving script. While // this may appear dangerous, it still only allows a one shot at the receiving script, which // effectively stops flooding. // page verify by retro class page_verify { function __construct() { if (session_id() == '') { session_start(); } } function create($task_name = 'Default') { global $CURUSER, $_SESSION, $INSTALLER09; $session_task = isset($CURUSER['id']) ? $CURUSER['id'] : $INSTALLER09['bot_id']; $_SESSION['Task_Time'] = TIME_NOW; $_SESSION['Task'] = md5('user_id:'.$session_task.'::taskname-'.$task_name.'::'.$_SESSION['Task_Time']); $_SESSION['HTTP_USER_AGENT'] = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : ''; //$_SESSION['HTTP_USER_AGENT'] = $_SERVER['HTTP_USER_AGENT']; } function check($task_name = 'Default') { global $CURUSER, $INSTALLER09, $lang, $_SESSION; $returl = (isset($_SERVER['HTTP_REFERER']) ? htmlsafechars($_SERVER['HTTP_REFERER']) : $INSTALLER09['baseurl']."/login.php"); $returl = str_replace('&', '&', $returl); if (isset($_SESSION['HTTP_USER_AGENT']) && $_SESSION['HTTP_USER_AGENT'] != $_SERVER['HTTP_USER_AGENT']) stderr("Error", "Please resubmit the form. <a href='".$returl."'>Click HERE</a>", false); $session_task_id = isset($CURUSER['id']) ? $CURUSER['id'] : ''; if (isset($session_task) && $session_task != md5('user_id:'.$session_task_id.'::taskname-'.$task_name.'::'.$_SESSION['Task_Time'])) stderr("Error", "Please resubmit the form. <a href='".$returl."'>Click HERE</a>", false); $this->create(); } } ?> verify on config.php if you have this line. $INSTALLER09['bot_id'] = 2; |
#16
|
|||
|
|||
I changed that as you wrote me. I still get login failed
|
#17
|
|||
|
|||
well..the login failed error is not from the page_verify thing. your problem is someplace different.
__________________
Need HELP!? I can install:
|
#18
|
|||
|
|||
some php errors?
some sql errors? you can verify sql errors on folder sqlerr_logs. but your error is on database. on table `users` change length of column `passhash` from 32 to 64. Code:
`passhash` varchar(32) CHARACTER SET utf8 DEFAULT NULL, Code:
`passhash` varchar(64) CHARACTER SET utf8 DEFAULT NULL; second from phpmyadmin enter on table users and change the length of column passhash from 32 to 64. or use this on phpmyadmin: Code:
ALTER TABLE `users` MODIFY `passhash` varchar(64) CHARACTER SET utf8 DEFAULT NULL; Bump: errors are from database on column passhash. length of column passhash is 32. function make_passhash creates a passhash of length 64. on sql insert passhash is truncated to 32. |
#19
|
|||
|
|||
it works, thank you very much! I still have one question, how can I turn off Donate and change the template?
|
#20
|
|||
|
|||
from site settings and also there is a termplate system management..but you need to use already created designs or create your own
v5 is not a click and play code.. you need to have some knowledge when editing it
__________________
Need HELP!? I can install:
|
|
|