Internal server error
I just put developer: 1 in site_config.json when i reboot it …i can access my server on my workstation… Internal server error how can i fix this?
Internal server error
I just put developer: 1 in site_config.json when i reboot it …i can access my server on my workstation… Internal server error how can i fix this?
Share your site_config.json
{
“db_name”: “1bd3e0294da19198”,
“db_password”: “xxxxxxxxxxxxx”,
“developer_mode”: “1”,
“encryption_key”: “xxxxxxxxxxxx_xxxxxxxx_xxxxxx”
}
What have you changed in it? It looks okay.
when i put “developer_mode”: “1”, code i cant access my server …
Hey
Try this command from frappe-bench:
bench clear-cache && bench clear-website-cache && bench build
And check whether it works !!
throws an error:
pymysql.errr.OperationalError: (1045, u “Access denied for user ‘1bd3e0294da19198’@'localhost '(using password: YES)”)
Okay so try this
4.FLUSH PRIVILEGES;
5.Save and exit
Hope this helps
just change “developer_mode”: “1” to “developer_mode”: 1, and then restart your server.
tried it no luck
i cant access my server after i revert it…
i tried it but still does not work
Have you tried this
??
If yes and still if it’s not working then it’s not a site_config issue.
Also i’m sharing with you the link “mysql - how to fix #1045 - Access denied for user 'root'@'localhost' (using password: NO) - Stack Overflow” from where i tried those commands.
@cpsolution Did you try changing the password? If yes, did you enter the same password which is in your site_config.json file?
it changes only the root password of mysql.
this is what i want to change not the root password
{
“db_name”: “1bd3e0294da19198”,
“db_password”: “xxxxxxxxxxxxx”,
“developer_mode”: “1”,
“encryption_key”: “xxxxxxxxxxxx_xxxxxxxx_xxxxxx”
}
yes its the same password… maybe i forgot something…
REPLACE “developer_mode”: “1”,
by
“developer_mode”: 1 ,