Re: Python 3.2.3 and my blank page

2013-03-31 Thread Νίκος Γκρ33κ
Τη Κυριακή, 31 Μαρτίου 2013 11:21:21 μ.μ. UTC+3, ο χρήστης ru...@yahoo.com έγραψε: > On 03/31/2013 02:08 PM, Νίκος Γκρ33κ wrote: > > > > > But i look the code and run python via interactive prompt and it says > > > it has no error. > > > > Does it produce any output? Is that output the rig

Re: Python 3.2.3 and my blank page

2013-03-31 Thread rurpy
On 03/31/2013 02:08 PM, Νίκος Γκρ33κ wrote: > But i look the code and run python via interactive prompt and it says > it has no error. Does it produce any output? Is that output the right html? That is, if you save the html to a file and open that file in a browser, does it look right? > So i

Re: Python 3.2.3 and my blank page

2013-03-31 Thread rurpy
On 03/31/2013 01:19 PM, Νίκος Γκρ33κ wrote: > I just tried the testmysql.py script: >[...snip code...] I hope no one who reads this list also has access to your database and that you don't use that username/password anyplace else. > it works, as you can see at: > http://superhost.gr/cgi-bin/test

Re: Python 3.2.3 and my blank page

2013-03-31 Thread Νίκος Γκρ33κ
Τη Κυριακή, 31 Μαρτίου 2013 10:46:57 μ.μ. UTC+3, ο χρήστης ru...@yahoo.com έγραψε: > On 03/31/2013 01:12 PM, Νίκος Γκρ33κ wrote: > > > Firsly, thank you for your willing to help me. i wrote, uploaded an > > > chmoded test.py and you can see the cgi enviromental table here: > > > http://superhos

Re: Python 3.2.3 and my blank page

2013-03-31 Thread rurpy
On 03/31/2013 01:12 PM, Νίκος Γκρ33κ wrote: > Firsly, thank you for your willing to help me. i wrote, uploaded an > chmoded test.py and you can see the cgi enviromental table here: > http://superhost.gr/cgi-bin/test.py All values seem okey, so it > really isnt somehting wrong with the cgi enviromen

Re: Python 3.2.3 and my blank page

2013-03-31 Thread Νίκος Γκρ33κ
I just tried the testmysql.py script: #!/usr/bin/python3 # coding=utf-8 import cgitb; cgitb.enable() import cgi, re, os, sys, socket, datetime, MySQLdb, locale, random, subprocess # connect to database con = MySQLdb.connect( db = 'nikos_metrites', host = 'localhost', user = 'nikos_nikos', pas

Re: Python 3.2.3 and my blank page

2013-03-31 Thread Νίκος Γκρ33κ
Τη Κυριακή, 31 Μαρτίου 2013 9:14:43 μ.μ. UTC+3, ο χρήστης ru...@yahoo.com έγραψε: > On 03/31/2013 08:03 AM, Νίκος Γκρ33κ wrote: > > > Hello all, > > > > > > i need some help > > > i recently changes pythoon 2.6 code => python 3.2.3 but my script although > > not producing any errors now does

Re: Python 3.2.3 and my blank page

2013-03-31 Thread rurpy
On 03/31/2013 08:03 AM, Νίκος Γκρ33κ wrote: > Hello all, > > i need some help > i recently changes pythoon 2.6 code => python 3.2.3 but my script although > not producing any errors now doesnt display anything else but a blank page at > htp://superhost.gr > can you help? > > I tried MySQLdb, py

Re: Python 3.2.3 and my blank page

2013-03-31 Thread feedthetroll
I like to feed trolls :-) On 31 Mrz., 16:03, Νίκος Γκρ33κ wrote: > Hello all, Hello Ferrous Cranus [3]! > ... > I tried MySQLdb, pymysql, oursql, but nothing happens. > i still get a blank page. I dont know what else to try since i see no error. Well, the output of your cgi is: --> -->

Python 3.2.3 and my blank page

2013-03-31 Thread Νίκος Γκρ33κ
Hello all, i need some help i recently changes pythoon 2.6 code => python 3.2.3 but my script although not producing any errors now doesnt display anything else but a blank page at htp://superhost.gr can you help? I tried MySQLdb, pymysql, oursql, but nothing happens. i still get a blank page.