Hi all,

I said i'd do some more research & here it is.
The problem STILL PERSISTS on both my local Windows 10 & my 
joecodeswell.com Linux machines.

I ALSO tested this with Opera. The Opera message said, "This webpage has a 
redirect loop: The webpage at 
https://joecodeswell.com/w2psnips/default/manage_songs/song has resulted in 
too many redirects. Clearing your cookies for this site or allowing 
third-party cookies may fix the problem. If not, it is possibly a server 
configuration issue and not a problem with your computer."

Here is the config info for both web2py machines.



*Windows 10 (local)*

web2py version = 2.13.4-stable+timestamp.2015.12.26.04.59.39 (Running on Rocket 
1.2.6, Python 2.7.10) 
sys.version_info = sys.version_info(major=2, minor=7, micro=10, 
releaselevel='final', serial=0)
sys.platform = win32
sys.getwindowsversion = sys.getwindowsversion(major=6, minor=2, build=9200, 
platform=2, service_pack='')
platform.python_compiler() = MSC v.1500 64 bit (AMD64)
str(' '.join(platform.uname()) ) = Windows <NAME_DELETED> 8 6.2.9200 AMD64 
Intel64 Family 6 Model 61 Stepping 4, GenuineIntel

 
Linux (joecodeswell.com)

web2py version = 2.13.4-stable+timestamp.2015.12.26.04.59.39 (Running on 
Apache/2.2.17 (Unix) mod_wsgi/3.3 Python/2.7.11, Python 2.7.11) 

sys.version_info = sys.version_info(major=2, minor=7, micro=11, 
releaselevel='final', serial=0)sys.platform = linux2 

platform.python_compiler() = GCC 4.4.7 20120313 (Red Hat 4.4.7-16)

str(' '.join(platform.uname()) ) = Linux <NAME_DELETED> 
2.6.32-604.30.3.lve1.3.63.el6.x86
*64 ...*
I am going to open a ticket and reference this post.

Thanks.

Love and peace,

Joe

On Wednesday, March 9, 2016 at 7:56:04 AM UTC-8, JoeCodeswell wrote:
>
> Dear Jim,
>
> Thanks for the response.  I should have said the config info before.
>
> Web2py version: 2.13.4-stable+timestamp.2015.12.26.04.59.39 - Installed 
> from source
> Os: windows -10 64 bit
> Python Interpreter: Python 2.7.10 (default, May 23 2015, 09:44:00) [MSC 
> v.1500 64 bit (AMD64)] on win32
>
> I will look further into this problem.
>
> Thanks again, Jim.
>
> Love and peace,
>
> Joe
>
> On Tuesday, March 8, 2016 at 5:41:31 PM UTC-8, Jim S wrote:
>>
>> I cut your db.py, default.py and manage_songs.html code and pasted into a 
>> new app and it worked fine for me.
>>
>> When I click on Add Record from 
>> http://127.0.0.1:8000/songs/default/manage_songs/song it goes to 
>> http://127.0.0.1:8000/songs/default/manage_songs/song/new/song
>>
>> So, I think your sample code is just fine.  My version is Version 
>> 2.13.3-stable+timestamp.2015.12.24.08.08.22
>>
>> -Jim
>>
>>
>>
>> On Tuesday, March 8, 2016 at 11:47:58 AM UTC-6, JoeCodeswell wrote:
>>>
>>> Dear web2py Community,
>>>
>>> I BELIEVE i am faithfully following the one-to-many SmartGrid example in 
>>> the book (Example 34* Using a Smartgrid*). 
>>>
>>> I'll show my code below.
>>>
>>> PROBLEM
>>> When I click on addRecord from "
>>> http://127.0.0.1:8000/w2psnips/default/manage_songs";, Firefox goes to "
>>> http://127.0.0.1:8000/w2psnips/default/manage_songs/song"; and says "The 
>>> page isn't redirecting properly. Firefox has detected that the server is 
>>> redirecting the request for this address in a way that will never complete."
>>>
>>> What am I doing wrong?
>>>
>>> Thanks for the help in advance,
>>>
>>> Love and peace,
>>>
>>> Joe
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *db.py#one song TO MANY mp3parts  ->  choirdb.define_table('song',    
>>> Field('title',requires=IS_NOT_EMPTY()),    Field('info'),    # 
>>> auth.signature,    )db.define_table('mp3part',    
>>> Field('part_name',requires=IS_NOT_EMPTY()),    
>>> Field('mp3',requires=IS_URL()),    Field('song_id',db.song),    # 
>>> auth.signature,    )default.pydef manage_songs():    grid = 
>>> SQLFORM.smartgrid(db.song,linked_tables=['mp3part'], user_signature=False)  
>>>   return dict(grid=grid)*
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *manage_songs.html{{# 
>>> left_sidebar_enabled,right_sidebar_enabled=False,('message' in 
>>> globals())}}{{left_sidebar_enabled,right_sidebar_enabled=False,False}}{{extend
>>>  
>>> 'layout.html'}}{{block header}}    <header class="container-fluid 
>>> background">      <div class="jumbotron text-center">        {{if 
>>> response.title:}}        <h1>{{=response.title}}          
>>> <small>{{=response.subtitle or ''}}</small></h1>        {{pass}}      
>>> </div>    </header>{{end}}<div>{{=grid}}</div>*
>>>
>>

-- 
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.

Reply via email to