WE MOETEN DROMEN..

Geneesmiddelen (26/05/2020)
Technologie├źn (24/04/2020)
Testen (15/05/2020)
Algemeen (02/05/2020)

Mogelijke oplossingen?

 

--> -->

 
 
<type 'exceptions.KeyError'>
Python 2.7.12: /usr/bin/python
Fri Jun 25 03:33:46 2021

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /var/www/1inuwkot/dromen.py in ()
    107 if (aantalparameters == 2):
    108         l_Id = form["Id"].value
=>  109         l_CatId = form["CatId"].value
    110         show_article(l_Id)
    111         print('<br/><br/><a href="dromen.py?CatId=' + l_CatId  + '">Lees volgende artikelen.</a>')
l_CatId undefined, form = FieldStorage(None, None, [MiniFieldStorage('Id', '16'), MiniFieldStorage('Cat', '2')]), ].value = [MiniFieldStorage('Id', '16'), MiniFieldStorage('Cat', '2')]
 /usr/lib/python2.7/cgi.py in __getitem__(self=FieldStorage(None, None, [MiniFieldStorage('Id', '16'), MiniFieldStorage('Cat', '2')]), key='CatId')
    538             if item.name == key: found.append(item)
    539         if not found:
=>  540             raise KeyError, key
    541         if len(found) == 1:
    542             return found[0]
builtin KeyError = <type 'exceptions.KeyError'>, key = 'CatId'

<type 'exceptions.KeyError'>: 'CatId'
      args = ('CatId',)
      message = 'CatId'