-
Notifications
You must be signed in to change notification settings - Fork 351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
403 Forbidden Uploading Image #525
Comments
Be sure the auth() method in config file returns true. |
Where is the location of file ?? |
Oh,, I see,, wait |
* @copyright Authors */ ob_start(); include('../../../../index.php'); ob_end_clean(); $CI =& get_instance(); $CI->load->driver('session'); $session = @$_SESSION['logged_in_langgardalem']; if($session == TRUE) { $codeigniterAuth = true; } else { $codeigniterAuth = false; } /** * Check if user is authorized * * * @return boolean true if access granted, false if no access */ function auth() { // You can insert your own code over here to check if the user is authorized. // If you use a session variable, you've got to start the session first (session_start()) return $GLOBALS['codeigniterAuth']; } // we instantiate the Filemanager $fm = new Filemanager(); ?> |
I guess session_start() is missing |
I activate CSRF protection on config CI, each Form have script like this : If i deactivate that fiture, it's success. But how set the filemanager with CSRF Protection ? where i must set the token ?? |
it is not implemented |
I uploaded web in other domain it's work uploading image, but i have another domain it's does'nt work.
A message in console :
POST http://langgardalem.id/assets/filemanager/connectors/php/filemanager.php 403 (Forbidden)
I set file permission folder to 755
The text was updated successfully, but these errors were encountered: