1
Show Posts
This section allows you to view all Show Posts made by this member. Note that you can only see Show Posts made in areas you currently have access to.
Messages - Welisson
2
Bugs / Re: Parse error: syntax error, unexpected 'define' (T_STRING) i
3
Questions / Erros when upload to server.
Code: [Select]
Parse error: syntax error, unexpected ')', expecting T_PAAMAYIM_NEKUDOTAYIM in /public_html/index.php on line 17
index.php line 17:
Code: [Select]
if(!empty(DEFAULT_TIMEZONE)){I fix the first error commenting the line, like this:
date_default_timezone_set(DEFAULT_TIMEZONE);
}
Code: [Select]
/*if(!empty(DEFAULT_TIMEZONE)){
date_default_timezone_set(DEFAULT_TIMEZONE);
}*/
But after fix it, a new error is displayed:
Code: [Select]
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /public_html/index.php on line 82
Index.php line 82:
Code: [Select]
$csrf_token = $csrf :: $token;
How to solve this? Thank's.
4
Bugs / Re: drop down menu
5
Bugs / Authentication Page Bug
When we set the table for user registration and login, if this table is not exactly "account", an "account index" page shows many errors. This is because, somehow, even if the database table is, for example, "users_", the code continues to look for a table named "account". This can be manually corrected in app\views\partials\account\view.php.
6
Bugs / Re: Order rows not moving
7
Bugs / Order rows not moving
8
Bugs / Re: PROBLEMA DE SEGURIDAD ENTRE USUARIOS (CLASIC 2.5)
9
Questions / Re: How to add Logout link into menu?
Error 403 means access forbidden. Please make sure you are passing the Crsf::$token to the logout link
How can I do this?
10
Bugs / Re: Access to the login page even when the user is logged in.
When the user is logged in and type in address bar: "my_site / index /" the user return to the login page again. I believe that code need to verify the state of login, and in case of user is logged in, the login page performs a automatic redirection to the home page.
Solution: Open the file "\app\views\ partials\index\index.php and add the following code:
Code: [Select]
<?php
if(user_login_status() == true )
{
redirect_to_page("home");
}
?>
11
Bugs / Access to the login page even when the user is logged in.
12
Questions / Re: How to add Logout link into menu?
I just use a link pointing to "index/logout"
13
Questions / How to add Logout link into menu?
Code: [Select]
array(
'path' => 'index/logout?csrf_token='.Csrf::$token,
'label' => 'Exit',
'icon' => '<i class="fa fa-door"></i>'
But it's not working. Can someone help me?
14
Bugs / PHP RAD Classic 2.4.7 Uploader.php getting error on upload a image
When you try to view an image that was loaded the following error is displayed:
Code: [Select]
Warning: stripos() expects parameter 1 to be string array given in ...libs\ Uploader.php in line 169
Uploader.php line 169 code:
The error disappears if I delete these lines.
Code: [Select]
if(!empty($options['extensions']) && $options['extensions'] != '*'){
if(stripos($options['extensions'], strtolower($file['extension'])) === false){
$errors[] = $this->error_messages['accept_file_types'];
}
}
What would be the best solution? Thank's in advance
15