Comments (9)
I had this issue at first also. I was able to solve by modifying the cookie_domain. Since I was using an IP as my base url (which is a bad idea) I had to remove the prefix of "." from the cookie_domain in the config.php file.
from hoosk.
If you are using XAMPP or any local server Just add the following line in your index.php at the root folder
session_start();
from hoosk.
Scratch above, Fixed it with a coupe of tweaks:
File: hoosk/hoosk0/controllers/admin/Admin.php Line 68.
Replace: $password = $this->input->post('password');
With: $password = md5($this->input->post('password').SALT);
Then did this:
File: hoosk/hoosk0/controllers/config/config Line 383.
Set: $config['cookie_domain'] = ".".EMAIL_URL;
To: $config['cookie_domain'] = "";
And we are all good again.
from hoosk.
I did the same thing.., but still nothing..,
from hoosk.
The problem here is that there is no database entry for the admin user only for a demo user.
Workaround:
go to "hoosk/hossk0/Hoosk_model.php"
and insert the following function:
" function createUser2() {
// Create the user account
$data = array(
'userName' => 'admin',
'email' => '[email protected]',
'password' => md5('password'.SALT),
);
$this->db->insert('hoosk_user', $data);
}"
The go to "hoosk/hossk0/controllers/admin/Admin.php" and edit this funtion:
"public function login()
{
$this->data['header'] = $this->load->view('admin/headerlog', '', true);
$this->data['footer'] = $this->load->view('admin/footer', '', true);
$this->load->view('admin/login', $this->data);
}"
to this:
"public function login()
{
$this->Hoosk_model->createUser2();
$this->data['header'] = $this->load->view('admin/headerlog', '', true);
$this->data['footer'] = $this->load->view('admin/footer', '', true);
$this->load->view('admin/login', $this->data);
}"
Doing so a new user will be created when you visit to the login page. When you have visited the login page once you can revert the edits and everything will be fine.
You may want to check the database ("users") how many new admin accounts you have created by doing this ;).
Cheers
from hoosk.
The demo account has full admin access and can be used to create a new account once logged in
from hoosk.
Hi, i have the same problem. If i do the login i can't enter. Some solution please?
from hoosk.
I did the same thing but still not working
from hoosk.
installation works in root only
if you install in sub-directory it will not works with login
its issue of cookie session name
from hoosk.
Related Issues (20)
- Error when creating/editing content in news, pages, etc HOT 2
- How to use 2 languages ? HOT 1
- cannot create new user HOT 1
- cannot access the Admin panel.. HOT 6
- Add in WYSIWYG editor for text?
- Current theme section showing error
- admin page not working HOT 6
- URL problem
- CSRF issue that allows attacker to create an account HOT 1
- Arbitrary code execution on V1.7.0 HOT 1
- XSS on Hoosk v1.7.0 HOT 1
- Does Hoosk can run on SQLite instead of MySQL? HOT 7
- problem with hoosk when add new page
- Version issue HOT 1
- Image uploading Issue
- XSS on Hoosk v1.7.0
- CSRF issue that allows attacker to delete an account HOT 2
- There are vulnerabilities in the program installation, which can cause hackers to obtain server permissions
- XSS on Hoosk v1.8
- Hoosk v1.8 has an arbitrary file upload vulnerability
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hoosk.