Re: [web2py] Re: Web Editor Blank Screen
Thanks to whoever denied my last question. Here it is...plus broke something today which allow me to view the file but have no idea what broke. picture attached of style change ... someone must know? The other missing item is the create button in the files toggle slide outdoes this give anyone additional ideas? On Tue, Sep 30, 2014 at 2:36 PM, Trevor Strauss trevor.stra...@gmail.com wrote: The other missing item is the create button in the files toggle slide outdoes this give anyone additional ideas? On Tue, Sep 30, 2014 at 1:56 PM, Trevor Strauss trevor.stra...@gmail.com wrote: All files have the same ownership...other thoughts? On Fri, Sep 26, 2014 at 8:27 AM, Trevor Strauss trevor.stra...@gmail.com wrote: Hi, upgraded through the admin console. will check the user/file ownership but but think I recall them being the same when I checked file permissions. Thanks for the help On Wed, Sep 24, 2014 at 6:16 PM, Leonel Câmara leonelcam...@gmail.com wrote: How did you upgrade web2py? Is the nginx's user the same as the files in the web2py folder? -- 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 subscribed to a topic in the Google Groups web2py-users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/PV8UHqc3AW4/unsubscribe. To unsubscribe from this group and all its topics, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [web2py] Re: Web Editor Blank Screen
All files have the same ownership...other thoughts? On Fri, Sep 26, 2014 at 8:27 AM, Trevor Strauss trevor.stra...@gmail.com wrote: Hi, upgraded through the admin console. will check the user/file ownership but but think I recall them being the same when I checked file permissions. Thanks for the help On Wed, Sep 24, 2014 at 6:16 PM, Leonel Câmara leonelcam...@gmail.com wrote: How did you upgrade web2py? Is the nginx's user the same as the files in the web2py folder? -- 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 subscribed to a topic in the Google Groups web2py-users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/PV8UHqc3AW4/unsubscribe. To unsubscribe from this group and all its topics, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [web2py] Re: Web Editor Blank Screen
Hi, upgraded through the admin console. will check the user/file ownership but but think I recall them being the same when I checked file permissions. Thanks for the help On Wed, Sep 24, 2014 at 6:16 PM, Leonel Câmara leonelcam...@gmail.com wrote: How did you upgrade web2py? Is the nginx's user the same as the files in the web2py folder? -- 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 subscribed to a topic in the Google Groups web2py-users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/PV8UHqc3AW4/unsubscribe. To unsubscribe from this group and all its topics, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [web2py] Re: Web Editor Blank Screen
Permissions are all the same, any other thoughts? On Thu, Sep 18, 2014 at 8:31 AM, Niphlod niph...@gmail.com wrote: permissions ?! On Tuesday, September 16, 2014 11:50:52 PM UTC+2, Trevor Strauss wrote: I'm having the as James upgraded from 2.8.2 to 2.9.9(11) now ...editor works fine on local dev box but on remote server running nginx the editor only allows viewing of new files. Seems I can edit old files, but not new. Any ideas??? On Tuesday, 8 April 2014 15:38:39 UTC-4, Derek wrote: That's what I thought, the web editor is actually running in an iframe, and without that header, the webpage just refuses to load... On Saturday, April 5, 2014 9:05:29 PM UTC-7, James Ryan wrote: Derek, thank you so much. Appending the line below that you suggested to /etc/apache2/apache2.conf has fixed it! Header always append X-Frame-Options SAMEORIGIN On Tue, Apr 1, 2014 at 5:44 AM, Derek sp1...@gmail.com wrote: also, make sure you have this line in your apache config... Header always append X-Frame-Options SAMEORIGIN On Monday, March 31, 2014 11:25:23 AM UTC-7, Derek wrote: The 'canceled' message can be caused by a few different routes, either a navigation away to a different page, a user clicking the 'stop' button, or an ad blocker... you should look at your network data to get better answers. http://dev.chromium.org/for-testers/providing-network-details There are other situations that chrome will cancel requests, such as the dom object which caused the request getting deleted, or another request going to the same server had an error (it will stop the request to prevent from getting another error). I'd hazard a guess and say it's likely a dom object getting deleted, but you'll have to investigate further. If this happens a lot with your RPI it could be an indication of the server returning an error (and chrome cancels pending requests). On Friday, March 28, 2014 7:18:38 PM UTC-7, James Ryan wrote: Hi guys, Having an issue with the web editor. Other's have experienced this problem before with no resolution: https://groups.google.com/forum/#!topic/web2py/fIuUAqdSieQ https://groups.google.com/forum/#!topic/web2py/SxYJX90zszY http://comments.gmane.org/gmane.comp.python.web2py/120843 I'm running web2py on a raspberry pi on the local network. I can access it fine, log into the admin interface, create a new app, and peek at the files. When I go to edit any files the page loads but the file doesn't. I've tried on multiple machines and browsers. The raspberry pi is headless and doesn't have xserver so I can't try locally. Using Chrome's debugger I can see the http request being cancelled and there's no response data in the header http://imgur.com/5HUd3cp http://imgur.com/wBPwRRl Looking at /var/log/apache2/access.log the http request returns 200 OK Any thoughts what this might be? -- 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 subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+un...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 subscribed to a topic in the Google Groups web2py-users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/PV8UHqc3AW4/unsubscribe. To unsubscribe from this group and all its topics, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [web2py] Re: Web Editor Blank Screen
Hear you, not saying it is but it could be since I made no nginx changes only an upgrade of web2py...So there must be something that's changed with the way web2py interacts with nginx. Sent from my BlackBerry From: NiphlodSent: Wednesday, September 24, 2014 3:06 PMTo: web2py@googlegroups.comReply To: web2py@googlegroups.comSubject: Re: [web2py] Re: Web Editor Blank Screenif locally it works and behind nginx it doesn't, it doesn't seem like something web2py dependant ...On Wednesday, September 24, 2014 9:00:05 PM UTC+2, Trevor Strauss wrote:Permissions are all the same, any other thoughts? On Thu, Sep 18, 2014 at 8:31 AM, Niphlod nip...@gmail.com wrote:permissions ?!On Tuesday, September 16, 2014 11:50:52 PM UTC+2, Trevor Strauss wrote:I'm having the as James upgraded from 2.8.2 to 2.9.9(11) now ...editor works fine on local dev box but on remote server running nginx the editor only allows viewing of new files. Seems I can edit old files, but not new. Any ideas???On Tuesday, 8 April 2014 15:38:39 UTC-4, Derek wrote:That's what I thought, the web editor is actually running in an iframe, and without that header, the webpage just refuses to load...On Saturday, April 5, 2014 9:05:29 PM UTC-7, James Ryan wrote:Derek, thank you so much. Appending the line below that you suggested to /etc/apache2/apache2.conf has fixed it!Header always append X-Frame-Options SAMEORIGINOn Tue, Apr 1, 2014 at 5:44 AM, Derek sp1...@gmail.com wrote: also, make sure you have this line in your apache config...Header always append X-Frame-Options SAMEORIGINOn Monday, March 31, 2014 11:25:23 AM UTC-7, Derek wrote: The 'canceled' message can be caused by a few different routes, either a navigation away to a different page, a user clicking the 'stop' button, or an ad blocker... you should look at your network data to get better answers. http://dev.chromium.org/for-testers/providing-network-detailsThere are other situations that chrome will cancel requests, such as the dom object which caused the request getting deleted, or another request going to the same server had an error (it will stop the request to prevent from getting another error). I'd hazard a guess and say it's likely a dom object getting deleted, but you'll have to investigate further. If this happens a lot with your RPI it could be an indication of the server returning an error (and chrome cancels pending requests). On Friday, March 28, 2014 7:18:38 PM UTC-7, James Ryan wrote:Hi guys, Having an issue with the web editor. Other's have experienced this problem before with no resolution:https://groups.google.com/forum/#!topic/web2py/fIuUAqdSieQ https://groups.google.com/forum/#!topic/web2py/SxYJX90zszYhttp://comments.gmane.org/gmane.comp.python.web2py/120843 I'm running web2py on a raspberry pi on the local network. I can access it fine, log into the admin interface, create a new app, and peek at the files. When I go to edit any files the page loads but the file doesn't. I've tried on multiple machines and browsers. The raspberry pi is headless and doesn't have xserver so I can't try locally. Using Chrome's debugger I can see the http request being cancelled and there's no response data in the headerhttp://imgur.com/5HUd3cp http://imgur.com/wBPwRRlLooking at /var/log/apache2/access.log the http request returns 200 OK Any thoughts what this might be? -- 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 subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+un...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 subscribed to a topic in the Google Groups "web2py-users" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/PV8UHqc3AW4/unsubscribe. To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://gith
Re: [web2py] Re: Web Editor Blank Screen
No changes except upgradingOld files editor worksNew files editor doesn’t work and the create button in the slide out is missing when in the editorI'll check permissions, but the problem doesn't appear on dev instance which is running w2p webserver only on hosted instance nginx webserver Sent from my BlackBerry From: NiphlodSent: Thursday, September 18, 2014 8:31 AMTo: web2py@googlegroups.comReply To: web2py@googlegroups.comSubject: Re: [web2py] Re: Web Editor Blank Screenpermissions ?!On Tuesday, September 16, 2014 11:50:52 PM UTC+2, Trevor Strauss wrote:I'm having the as James upgraded from 2.8.2 to 2.9.9(11) now ...editor works fine on local dev box but on remote server running nginx the editor only allows viewing of new files. Seems I can edit old files, but not new. Any ideas???On Tuesday, 8 April 2014 15:38:39 UTC-4, Derek wrote:That's what I thought, the web editor is actually running in an iframe, and without that header, the webpage just refuses to load...On Saturday, April 5, 2014 9:05:29 PM UTC-7, James Ryan wrote:Derek, thank you so much. Appending the line below that you suggested to /etc/apache2/apache2.conf has fixed it!Header always append X-Frame-Options SAMEORIGINOn Tue, Apr 1, 2014 at 5:44 AM, Derek sp1...@gmail.com wrote: also, make sure you have this line in your apache config...Header always append X-Frame-Options SAMEORIGINOn Monday, March 31, 2014 11:25:23 AM UTC-7, Derek wrote: The 'canceled' message can be caused by a few different routes, either a navigation away to a different page, a user clicking the 'stop' button, or an ad blocker... you should look at your network data to get better answers. http://dev.chromium.org/for-testers/providing-network-detailsThere are other situations that chrome will cancel requests, such as the dom object which caused the request getting deleted, or another request going to the same server had an error (it will stop the request to prevent from getting another error). I'd hazard a guess and say it's likely a dom object getting deleted, but you'll have to investigate further. If this happens a lot with your RPI it could be an indication of the server returning an error (and chrome cancels pending requests). On Friday, March 28, 2014 7:18:38 PM UTC-7, James Ryan wrote:Hi guys, Having an issue with the web editor. Other's have experienced this problem before with no resolution:https://groups.google.com/forum/#!topic/web2py/fIuUAqdSieQ https://groups.google.com/forum/#!topic/web2py/SxYJX90zszYhttp://comments.gmane.org/gmane.comp.python.web2py/120843 I'm running web2py on a raspberry pi on the local network. I can access it fine, log into the admin interface, create a new app, and peek at the files. When I go to edit any files the page loads but the file doesn't. I've tried on multiple machines and browsers. The raspberry pi is headless and doesn't have xserver so I can't try locally. Using Chrome's debugger I can see the http request being cancelled and there's no response data in the headerhttp://imgur.com/5HUd3cp http://imgur.com/wBPwRRlLooking at /var/log/apache2/access.log the http request returns 200 OK Any thoughts what this might be? -- 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 subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+un...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 subscribed to a topic in the Google Groups "web2py-users" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/PV8UHqc3AW4/unsubscribe. To unsubscribe from this group and all its topics, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 subscribed to the Google Group
[web2py] Re: Can't edit default.py after upgrade to 2.8.2
I'm having this same problem since upgrading from 2.8.2 to 2.9.9 Error in console when loading a newly created file is... Uncaught TypeError: Cannot read property 'length' of undefined comment-fold.js:24(anonymous function) comment-fold.js:24(anonymous function) foldcode.js:113getRange foldcode.js:18doFold foldcode.js:31(anonymous function) foldcode.js:69(anonymous function) VM977:23(anonymous function) jquery.js:2m.extend.globalEval jquery.js:2m.fn.extend.domManip jquery.js:3m.fn.extend.append jquery.js:3(anonymous function) ajax_editor.js:259j jquery.js:2k.fireWith jquery.js:2x jquery.js:4b nginx webserver On Wednesday, 11 December 2013 17:17:40 UTC-5, Richard Brown wrote: Yes, it was working fine until I upgraded Web2py. I can open it to view (peek) and it's all there OK, but if I try to edit I get a blank page. If I create a new file from the Admin Interface in the 'controllers' group it behaves in exactly the same way - and this is created by Web2py. I can also see the files and their privileges via WinSCP. I can edit any other file in my design (views, modules, databases, database admin etc) just not anything in controllers. The 'Network' tab in Chrome's JavaScript console (see earlier post) shows the file in red and the Status as 'cancelled'. -- 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 subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [web2py] Re: Web Editor Blank Screen
I'm having the as James upgraded from 2.8.2 to 2.9.9(11) now ...editor works fine on local dev box but on remote server running nginx the editor only allows viewing of new files. Seems I can edit old files, but not new. Any ideas??? On Tuesday, 8 April 2014 15:38:39 UTC-4, Derek wrote: That's what I thought, the web editor is actually running in an iframe, and without that header, the webpage just refuses to load... On Saturday, April 5, 2014 9:05:29 PM UTC-7, James Ryan wrote: Derek, thank you so much. Appending the line below that you suggested to /etc/apache2/apache2.conf has fixed it! Header always append X-Frame-Options SAMEORIGIN On Tue, Apr 1, 2014 at 5:44 AM, Derek sp1...@gmail.com wrote: also, make sure you have this line in your apache config... Header always append X-Frame-Options SAMEORIGIN On Monday, March 31, 2014 11:25:23 AM UTC-7, Derek wrote: The 'canceled' message can be caused by a few different routes, either a navigation away to a different page, a user clicking the 'stop' button, or an ad blocker... you should look at your network data to get better answers. http://dev.chromium.org/for-testers/providing-network-details There are other situations that chrome will cancel requests, such as the dom object which caused the request getting deleted, or another request going to the same server had an error (it will stop the request to prevent from getting another error). I'd hazard a guess and say it's likely a dom object getting deleted, but you'll have to investigate further. If this happens a lot with your RPI it could be an indication of the server returning an error (and chrome cancels pending requests). On Friday, March 28, 2014 7:18:38 PM UTC-7, James Ryan wrote: Hi guys, Having an issue with the web editor. Other's have experienced this problem before with no resolution: https://groups.google.com/forum/#!topic/web2py/fIuUAqdSieQ https://groups.google.com/forum/#!topic/web2py/SxYJX90zszY http://comments.gmane.org/gmane.comp.python.web2py/120843 I'm running web2py on a raspberry pi on the local network. I can access it fine, log into the admin interface, create a new app, and peek at the files. When I go to edit any files the page loads but the file doesn't. I've tried on multiple machines and browsers. The raspberry pi is headless and doesn't have xserver so I can't try locally. Using Chrome's debugger I can see the http request being cancelled and there's no response data in the header http://imgur.com/5HUd3cp http://imgur.com/wBPwRRl Looking at /var/log/apache2/access.log the http request returns 200 OK Any thoughts what this might be? -- 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 subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+un...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [web2py] Re: login_next and next var
Hi Annet, I'm somewhat new...can you explain how you ended up getting this to work? I am encountering same issue with login button I've created for jqm layout. Thanks,Trevor On Wednesday, 5 February 2014 07:56:59 UTC-5, Annet wrote: Hi Jonathan, Thanks for your reply. It's a URL; it's just %-escaped because it's in a query string (vars). You're right, redirect(request.vars._next) does work. Kind regards, Annet -- 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 subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [web2py] Re: login_next and next var
Hi Jonathan, I've been banging my head on this all day, how do I get _next to work? On Tuesday, 4 February 2014 13:49:50 UTC-5, Jonathan Lundell wrote: On 4 Feb 2014, at 10:32 AM, Annet anne...@googlemail.com javascript: wrote: Notice extra ' before 'URL When I remove the ' ' around the URL a class=btn btn-default onclick=javascript:openwindow('{{=URL('cms', 'default', 'user', args=['login', request.args(0)], vars=dict(_next=URL('cms', 'group', 'connect', args=request.args(0}}', 'connect') role=buttonLogin/a The button is rendered the following way: a class=btn btn-default role=button onclick=javascript:openwindow('/cms/'default/user/login/4?_next=%2Fcms%2Fgroup%2Fconnect%2F4', 'connect') Login/a The first =URL converted to a url the second =URL is not. Is what I want not possible? It's a URL; it's just %-escaped because it's in a query string (vars). -- 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 subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: Learning Management System survey
Any plans to wrap it up and sell it? Would love to take it to market. -- 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 subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.