[web2py] Re: uWSGI Permission denied

2020-11-04 Thread Carlos A
You are not using the default directories, please run those commands into your CLI: wget https://raw.githubusercontent.com/web2py/web2py/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh chmod a+x setup-web2py-nginx-uwsgi-ubuntu.sh ./setup-web2py-nginx-uwsgi-ubuntu.sh Then you can use the

Re: [web2py] Re: Displaying content based on the id attribute

2020-11-04 Thread Jim Steil
Can you remove the _onclick from that element and add that function call to the end of your listener defined in document ready? -Jim On Wed, Nov 4, 2020 at 8:29 PM mostwanted wrote: > _onclick="updatelivesearch(jQuery('#res%s').html())" % c.service_name > > This is a function that displays sug

[web2py] Re: Displaying content based on the id attribute

2020-11-04 Thread mostwanted
_onclick="updatelivesearch(jQuery('#res%s').html())" % c.service_name This is a function that displays suggested names through ajax auto-completion everytime a user types something on the search-textfield. When they type, a suggestion-div appears below the search-field with suggested names as

[web2py] Re: Displaying content based on the id attribute

2020-11-04 Thread mostwanted
_onclick="updatelivesearch(jQuery('#res%s').html())" % c.service_name this is a function that displays suggested names through ajax auto-completion evrytime the user types something on the textfield. Thanks alot for your input Jim i'll keep working on it, one way or the other i'll figure it out

[web2py] Re: Displaying content based on the id attribute

2020-11-04 Thread Jim S
What is the _onclick="updatelivesearch(jQuery('#res%s').html())" % c.service_name on your anchor tag inside your span? Can you try removing that? Since you have a listener for the click of that element already, I'm not sure how it behaves if you have the onclick attribute set as well. Maybe

Re: [web2py] Re: uWSGI Permission denied

2020-11-04 Thread Roberto Perdomo
Try adding this to "[Service]": User=root Group=www-data I think is not a good idea have your app running as root user, you can change the user, first move your .ini (don't forget change this path in your uwsgi.service file) to your app path and do a recursive chown to define user and group, som

[web2py] Re: Displaying content based on the id attribute

2020-11-04 Thread mostwanted
*" Are you trying to show the span when the link is clicked 'while' the page is loaded? ": *Yes sir *" I'm guessing you are clicking the link after the page is loaded ": *Yes sir *"Also, where in your javascript did you add the console.log()?": *I added it inside the click function just be

[web2py] Re: Displaying content based on the id attribute

2020-11-04 Thread Jim S
Ok, trying to better understand your intent. You said: I have a hidden span that i want displayed when a link is clisked while waiting for the page to load but this is not working! I dont know where I am going wrong but thought I had it right, please assist me. Are you trying to show the span

[web2py] Re: uWSGI Permission denied

2020-11-04 Thread Clemens
Is your Python version compatible with you uWSGI lib? https://groups.google.com/g/web2py/c/cr2HmXYNieg/m/2YYHFmr_BAAJ Have a look to "my personal step-by-step deployment guide for web2py and Nginx" (mainly inspired by the shell script setup-web2py-nginx-uwsgi-ubuntu). This configuration works we

[web2py] uWSGI Permission denied

2020-11-04 Thread Dmitrii Ermolaev
Please help: https://gitlab.com/d.ermolaev/7pay_in/-/issues/41 -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are s

[web2py] uWSGI Permission denied

2020-11-04 Thread Dmitrii Ermolaev
Please help: https://gitlab.com/d.ermolaev/7pay_in/-/issues/41 -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are s

[web2py] Re: uWSGI Permission denied - Failed on EXEC step

2020-11-04 Thread Dmitrii Ermolaev
среда, 4 ноября 2020 г. в 15:56:36 UTC+3, Dmitrii Ermolaev: > > > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because

[web2py] Re: Mysqld connection 255 MySQL Server 5.7

2020-11-04 Thread lcham...@gmail.com
forget it : solved using python3 -m pip install PyMySQL Sorry for disturbing Le mercredi 4 novembre 2020 à 11:51:10 UTC+1, lcham...@gmail.com a écrit : > I moved an app/db to a new server. This apps connects perfectly, i am sure > the credentials are good, the auth method is mysql_native_p

[web2py] Mysqld connection 255 MySQL Server 5.7

2020-11-04 Thread lcham...@gmail.com
I moved an app/db to a new server. This apps connects perfectly, i am sure the credentials are good, the auth method is mysql_native_password as before. I tried to change the drivers method .. i cannot connect, what ca i do, i search in the forum, no response, thank you very much, i am in the .

[web2py] Re: 255

2020-11-04 Thread lcham...@gmail.com
Did you find a solution ? thanks Le dimanche 29 mars 2020 à 17:13:14 UTC+2, and...@gmail.com a écrit : > I have this problem using web2py 2.18 with pyrhon 3.8 and mysql. > When I log in int the app it happens this error: > 255 > > I don't know id it's an error regarding mysql > Versione > w