[web2py] problem with mod_wsgi deployment

2011-12-15 Thread Web2Py Freak
Dear All, i am trying to use mod_wsgi with apache on fedora i installed web2py in var/www/ and i unzipped it , and i edited the httpd.conf and added the virtual host script but it keeps giving me this error with i do "$ service httpd start " the error is : bad user name : root@linux what to d

[web2py] deployment problem with mod_wsgi

2011-12-18 Thread Web2Py Freak
Dear All, i am trying to use mod_wsgi with apache on fedora i installed web2py in var/www/ and i unzipped it , and i edited the httpd.conf and added the virtual host script but it keeps giving me this error with i do "$ service httpd start " the error is : bad user name : root@linux what to do i

[web2py] Re: deployment problem with mod_wsgi

2011-12-19 Thread Web2Py Freak
i think there is somthing wrong with the way i installed mod_wsgi ,, can you please tell me how to install it ??

[web2py] apache Error

2012-01-04 Thread Web2Py Freak
Dear Guys, i am trying to deploy web2py using apache and mod_wsgi , i loaded mod_wsgi.so and i added this : NameVirtualHost *:443 DocumentRoot "C:/web2py/applications" ServerName server1 Order allow,deny Deny from all Order deny,allow Allow from all Ord

[web2py] Apache and routes

2012-01-08 Thread Web2Py Freak
Dear All , i have a private server i am using Apache for deployment i used the steps in the book , and its working on a certain IP and now how can i tell web2by that when this is requested (ex.www.koko.com) give at a certain application ??

[web2py] Domain and DNS

2012-01-09 Thread Web2Py Freak
Dear All , i have a private server at ARVIXE and i am using wamp server , i used the deployment for apache in the book but now how can i assign domains to a virtual host , how can i get the reqested domain , i dont know what to do new , web2py is working at localhost:8080 now whats next ??!

[web2py] Web2py instant admin

2012-01-09 Thread Web2Py Freak
Dear all, i am trying to use web2py instant admin , i installed it like in the documentation but when i use the username a and pass a it dosent login and when i use my own authentication it enters the admin interface but i cant see any of my tables ?? how can i fix this ???

[web2py] setup web2py with a virtual host on apache

2012-01-10 Thread Web2Py Freak
Dear all, i have a server and i have a apache installed how can i tell apache to the when someone asks for www.domain.com , apache gives it the website at my localhost:8080 .. how can i do that

[web2py] Re: setup web2py with a virtual host on apache

2012-01-10 Thread Web2Py Freak
i have IIS on port 80 i want it on port 8080 !!

[web2py] Re: setup web2py with a virtual host on apache

2012-01-10 Thread Web2Py Freak
i did all that : LoadModule wsgi_module modules/mod_wsgi.so Listen 8080 servername : localhost:8080 NameVirtualHost *:8080 DocumentRoot "C:/web2py/applications" ServerName localhost Order allow,deny Deny from all Order deny,allow Allow from all Order Allow,Deny Allow from all WSGIScr

[web2py] Re: setup web2py with a virtual host on apache

2012-01-10 Thread Web2Py Freak
its not working !!

[web2py] Re: setup web2py with a virtual host on apache

2012-01-10 Thread Web2Py Freak
i did what Kenneth said , and i am restarting the Apache everything i change anything , i am using a VPS at arvixe.com i have IIS running on localhost:80 and apache running on localhost:8080 and its really good locale now i just want to make a domain go to localhost:8080 and then i will handle it

[web2py] Re: setup web2py with a virtual host on apache

2012-01-10 Thread Web2Py Freak
i want when someone go to www.mydomain.com he will go to localhost: 8080

[web2py] Re: setup web2py with a virtual host on apache

2012-01-10 Thread Web2Py Freak
how can i use an HTTP proxy ?

[web2py] Routes error

2012-01-11 Thread Web2Py Freak
Dear all , i am trying to use routes.py , but its not working , i even tryed to change the default app and it didnt work , why ?

[web2py] Re: Routes error

2012-01-13 Thread Web2Py Freak
Dear all , am still trying and its not working , am just trying to change the default app , i renamed the router.example.py to router.py and changed the the welcome app and added another one , and then i entered the admin and clicked reload routes ,and then i restarted the sever , but nothing ha

[web2py] Get the URL

2012-01-13 Thread Web2Py Freak
Dear ALl , How can i get the URL of the page am in ?

[web2py] Re: Get the URL

2012-01-13 Thread Web2Py Freak
i want the full URL and i tried request.env.request_url like you said and i got (None). !

[web2py] Re: Get the URL

2012-01-13 Thread Web2Py Freak
ok i did request_uri and got None ?? i want the full url with tha domain and args because i want to use it for the facebook like

[web2py] Re: Get the URL

2012-01-14 Thread Web2Py Freak
Thank you all guys its working great now , i used this {{MyUrl = "http://www.mydomain.com/%s/%s"; %request.url,request.env.query_string}} {{=MyUrl}} Best Regards, Hassan Al-Natuor

[web2py] Re: Routes error

2012-01-14 Thread Web2Py Freak
Thank you Guys its working now very well ..

[web2py] The deference between router.example and routes.example ??

2012-01-15 Thread Web2Py Freak
Dear All , What is The deference between router.example and routes.example ?? and how can i use this : domains = { "domain.com" : "app", "x.domain.com" : "appx", },

[web2py] Re: The deference between router.example and routes.example ??

2012-01-15 Thread Web2Py Freak
i am using routes.py to clean my urls now i want to route every domain to its website , how can i do that exactly ?

[web2py] Re: The deference between router.example and routes.example ??

2012-01-15 Thread Web2Py Freak
are you saying that i cant use routes_in , routes_out with domains ??

[web2py] Re: The deference between router.example and routes.example ??

2012-01-15 Thread Web2Py Freak
i dont understand ,can explain some more please ?

[web2py] For trick

2012-01-16 Thread Web2Py Freak
Dear all , i am geting some images from the database and viewing them in the page i am using a for loop for the images and i want to have a after every 4 images ,, how can i do somthing like this ??

[web2py] Re: For trick

2012-01-16 Thread Web2Py Freak
Thnx Anthony , thank you all guys its working well now :)

[web2py] using the calender in appadmin

2012-01-16 Thread Web2Py Freak
Dear All, How can i use the calender from the appadmin in another page ?

[web2py] use the VideoLibrary from web2py appliances

2012-01-18 Thread Web2Py Freak
Dear all , how can i use the VideoLibrary from web2py appliances , i installed the pack to my web2py but its not converting any videos !! , how can i fix it and is this application can be used in in a website and i can deploy it ??

[web2py] What is google app engine , and how to use it with web2py

2012-01-18 Thread Web2Py Freak
Dear All , i am going to build a online music training center , so a lot have recommended me with the GAE , i dont know what is it and , i really dont know from where to start , i need help guys because this is something so big for python and web2py and us the web2py developers so we can prove to

[web2py] Web2py and Paypal

2012-01-18 Thread Web2Py Freak
Dear All , What is the best way to integrate Paypal with web2py ?

[web2py] Integration with OpenID, Facebook

2012-01-19 Thread Web2Py Freak
Dear All, I am using the Integration with OpenID, Facebook from the book , now what i want to do is to get users images from facebook and anyother accounts that use to register , so any ideas ?

[web2py] Re: Paypal Mass Pay API

2012-01-19 Thread Web2Py Freak
How will i use it ?

[web2py] PowerPack

2012-01-22 Thread Web2Py Freak
Dear All , How can i just use the Comments and blog system from web2py PowerPack ??

[web2py] menu.py loop

2012-01-25 Thread Web2Py Freak
Dear All , i want to get some stuff from the database and add to the menu , like i have music instruments am trying to get the instruments from the database and add to the menu , but its not working : menu.py : instruments = db().select(db.Instruments.ALL) myins = [] for ins in instruments:

[web2py] Re: menu.py loop

2012-01-25 Thread Web2Py Freak
i Fixed a bug its now instruments = db().select(db.Instruments.ALL) myins = [] for ins in instruments: myins.append((T(ins.Instrument_name), False, URL('default','Instruments',args=ins.Instrument_name),) response.menu = [ (T('Home'), False, URL('default','index'), []) (T('Instruments')

[web2py] Question About Streaming

2012-01-25 Thread Web2Py Freak
Dear ALL, I am building an online video training center , i really don't understand what streaming is and why use it , and do i need to use it considering that my website is built for videos .. and How can i use streaming if i need to ? Best Regards

[web2py] Re: menu.py loop

2012-01-25 Thread Web2Py Freak
it keep giving me en error in the response.menu failed to compile file because: SyntaxError at line 30 at char 7 invalid syntax (C:/web2py/applications/a3zif/models/menu.py, line 30) , this is my code : instruments = db().select(db.Instruments.ALL) myins = [] for ins in instruments: myins.appe

[web2py] Re: Question About Streaming

2012-01-25 Thread Web2Py Freak
how would i use this , can you show me a little example please ?

[web2py] Re: Question About Streaming

2012-01-25 Thread Web2Py Freak
ohh that is great Thank you Massimo .. Best Regards Hassan alnator

[web2py] Re: menu.py loop

2012-01-25 Thread Web2Py Freak
oh Dam , i didnt see that , Thank you anthony :) its working well now

[web2py] using Janrain Oauth and normal login at the same time

2012-01-26 Thread Web2Py Freak
Dear all , how can i use Janrain Oauth and normal login at the same time ??

[web2py] Re: using Janrain Oauth and normal login at the same time

2012-01-26 Thread Web2Py Freak
Ok i did it its like this , with the help of http://www.web2pyslices.com/slices/take_slice/124 : db.py : from gluon.contrib.login_methods.rpx_account import RPXAccount from gluon.contrib.login_methods.extended_login_form import ExtendedLoginForm url = "http://localhost:8000/%s/default/user/log

[web2py] language translation in web2py

2012-01-26 Thread Web2Py Freak
Dear All, How can i change the language of my website with a click of a button or how can i use the translation plugin in my site or can make Google translate my site

[web2py] auth registration redirect

2012-01-31 Thread Web2Py Freak
Dear All, How can redirect anyone who register at my website to the profile page

[web2py] Re: auth registration redirect

2012-01-31 Thread Web2Py Freak
i added it to the db.py and its not working and i used this one from the book and it didnt work two : auth.settings.register_next = URL('user', args='profile')

[web2py] Debugging in web2py

2012-02-02 Thread Web2Py Freak
Dear All , how can i use debugging in web2py are they any easy to use debugging tools ?

[web2py] Re: Debugging in web2py

2012-02-02 Thread Web2Py Freak
What i want to do is to use debugging in an application that i integrated with PayPal and its working on Apache , i get some vars in the url from paypal and am trying to save them in the database but something happens .. so any ideas how can i debug that !!

[web2py] Re: Debugging in web2py

2012-02-05 Thread Web2Py Freak
i am trying to use wing but how can i use it on a application that is deployed on apache

[web2py] Select Where first letter is A

2012-02-09 Thread Web2Py Freak
Dear All , How Can i select everything in the table the starts with A Best Regards, Hassan Alnatour

[web2py] response.google_analytics_id

2012-02-09 Thread Web2Py Freak
Dear ALL, How do i use response.google_analytics_id in menu.py : my google analytics id is Tracking ID: UA-29069723-1 ,

[web2py] response.google_analytics_id

2012-02-09 Thread Web2Py Freak
Dear All, How can i use response.google_analytics_id in menu.py as i understand i need to have a script with my analytics id , but why is the response.google_analytics_id in menu.py and how can i use it ?

[web2py] Image from Video

2012-02-11 Thread Web2Py Freak
Dear ALL, How Can i Make Plugin Wiki Player Have an Image From the video Before its played ? Best Regards ,

[web2py] Re: How to change menu colors?

2012-02-11 Thread Web2Py Freak
Just Check the Css 'superfish.css' form the css folder in web2py/ applications/your application/static /css .. and Edit the colors Its easy :) Good luck Best Regards, Hassan ALnatour.

[web2py] uploading my web2py website

2011-09-05 Thread Web2Py Freak
hey guys , anyone can tell me how to upload my website online , what file do i pick ?? helppp

[web2py] Re: uploading my web2py website

2011-09-05 Thread Web2Py Freak
Annet , i meent to take it online to a host , i packed everything and uploaded it to a python server it didnt work , i really dont know what to do .. now i have a domain and i want to use my site in it , tell me how to do that please ? Thank you alot

[web2py] Re: uploading my web2py website

2011-09-05 Thread Web2Py Freak
guys , what is the best web2py host and what to do when i have a domin , i packed everythin so what now ???

[web2py] Re: uploading my web2py website

2011-09-05 Thread Web2Py Freak
what is shared hosting ?? and when i finish my website do i need to add somthing so my website will work online am realu confused now am reading stuff sgi and things i dont understand .. please help

[web2py] create server.crt and server.key certificates

2011-09-06 Thread Web2Py Freak
anyone can help me with these file , i dont know what to put in them

[web2py] deploying web2py on IIS

2011-09-06 Thread Web2Py Freak
how can i deploy web2py on IIS ??

[web2py] Re: deploying web2py on IIS

2011-09-06 Thread Web2Py Freak
where dose my application files go ? or my packed project go

[web2py] Re: deploying web2py on IIS

2011-09-06 Thread Web2Py Freak
Massimo , if you may please , can you explain thing a little more this is my first time doing this . Thank you .

[web2py] views

2011-09-06 Thread Web2Py Freak
i wanna ask you guys , dose the html files in views should be working like normal html pages .. and anyone can tell me how to publish my projects ??

[web2py] Re: views

2011-09-06 Thread Web2Py Freak
would you take a look at my project and tell me what have i done wrong ??

[web2py] Re: views

2011-09-06 Thread Web2Py Freak
dear anthony, what happened with you ??

[web2py] Re: views

2011-09-06 Thread Web2Py Freak
hehe i know massimo but u can imagine how lost i am now

[web2py] Re: deploying web2py on IIS

2011-09-07 Thread Web2Py Freak
why cant i use SQLite ??

[web2py] cgihandler path

2011-09-08 Thread Web2Py Freak
in cgi handler the Path ... what path ?? can anyone give me an example ??

[web2py] Re: cgihandler path

2011-09-08 Thread Web2Py Freak
i sow this : In order to run web2py as a CGI script just call the cgihandler.py in the main web2py folder. You may need to add a first line like #!/usr/local/bin/python2.5 pointing to the local interpreter, follower by import os; os.chdir('/home/you/web2py/') so that web2py knows in which fold

[web2py] how to use cgi in web2py

2011-09-08 Thread Web2Py Freak
hey guys , anyone can tell me how to use cgi in web2py ??

[web2py] Re: how to use cgi in web2py

2011-09-08 Thread Web2Py Freak
there is nothing about using CGI just : web2py provides a file cgihandler.py to interface to CGI.

[web2py] PostGresql

2011-09-12 Thread Web2Py Freak
Dear All , i want to use PostGresql , now after i download it , what to do so it can work with web2py ??

[web2py] limitations

2011-09-14 Thread Web2Py Freak
Dear All , am using Webfaction for hosting and am using postgreSQL when i try to add things to the database through the CMS it gives me a limit the the litters cant be more than 512 , what to do ??

[web2py] Re: limitations

2011-09-14 Thread Web2Py Freak
Thank you Anthony ,, and no not the appadmin , i created a Cms , and i will try the "length"

[web2py] Steps of using fast CGI with web2py

2011-09-19 Thread Web2Py Freak
hey guys , anyone can tell me what is the steps of using fast CGI with web2py ???

[web2py] Ubuntu and web2py

2011-09-21 Thread Web2Py Freak
Hello guy , i switched from using windows to Ubuntu , and i am trying to install apache+python+mod_wsgi+web2py+postgresql from scratch , so i used the one step deployment from the book: wget http://web2py.googlecode.com/hg/scripts/setup-web2py-ubuntu.sh chmod +x setup-web2py-ubuntu.sh sudo ./set

[web2py] Re: Ubuntu and web2py

2011-09-21 Thread Web2Py Freak
what if i want to use fastCGI and postgresql and i installed everything but how can i have a web2py folder with my app in it the uses fCGI and Postgresql and ready to use by a python host ???

[web2py] Re: Ubuntu and web2py

2011-09-21 Thread Web2Py Freak
i used apache and its working but when i try to enter the admin to edit my site it gives me this : Forbidden You don't have permission to access /admin/default/index on this server. Apache/2.2.17 (Ubuntu) Server at 127.0.1.1 Port 80

[web2py] Re: Ubuntu and web2py

2011-09-22 Thread Web2Py Freak
now apache is working will and i use https to edit my application but now am trying to use postgresql when i installed it and used : sudo apt-get -y install postgresql sudo apt-get -y install python-psycopg2 and then : sudo -u postgres createuser -PE -s myuser # i added my role name and passw

[web2py] web2py handlers

2011-09-25 Thread Web2Py Freak
Dear All , hey guys , when i run web2py on windows from source with my own python it keeps giving me this : No handlers could be found for logger "web2py" ,, why ?? what to do ? it keeps giving me a warning like this : WARNING:web2py.cron:WB2PY CRON : Disabled because no file locking ...

[web2py] Re: web2py handlers

2011-09-26 Thread Web2Py Freak
and how do i install this ??

[web2py] Re: web2py handlers

2011-09-26 Thread Web2Py Freak
Thnx , its working well now

[web2py] Fast CGI

2011-09-26 Thread Web2Py Freak
hey guys , I want to use Fast CGI , what is the steps that i can follow to use it ?? and do i need to edit somthing in the file "fcgihandler.py" to make it work ??

[web2py] Re: Fast CGI

2011-09-27 Thread Web2Py Freak
windows

[web2py] top 5

2011-09-27 Thread Web2Py Freak
Hey guys , how can i get to 5 records from a table ??

[web2py] Re: top 5

2011-09-27 Thread Web2Py Freak
thnx , its working well , i want to ask you if there is a Field in a table type "text" how can i get some of it not all the text ??

[web2py] Re: top 5

2011-09-27 Thread Web2Py Freak
i have a table with 3 Fields : db.define_taboe('person',Field('name'),Field('description','text'),Field('sex')) so i want to get the description but not all of the text in side {{for per in person:}} {{=per.name}} {{=per.description}} ... >> i want to get some of the description for ev

[web2py] roles

2011-10-02 Thread Web2Py Freak
hey guys , i want to use somthing like this in my page but with ROLES: {{if auth.is_logged_in():}} {{pass}}

[web2py] Re: roles

2011-10-02 Thread Web2Py Freak
i have a role called "reg" i tryed : {{ if auth.has_membership('reg') content for reg . {{pass}} but it didnt work

[web2py] Email Form

2011-10-06 Thread Web2Py Freak
Dear all , can anyone tell me how can i make a email form to send to my email am using webfaction for hosting .. so tell me what to do ??

[web2py] Re: Email Form

2011-10-06 Thread Web2Py Freak
ok , but i want to use my gmail hassanalna...@gmail.com to send mail so i did : mail.settings.server ='smtp.gmail.com:587' # your SMTP server mail.settings.sender = 'hassanalna...@gmail.com' # your email mail.settings.login = None # your credentials or None and : form=SQLFORM(db

[web2py] Re: Email Form

2011-10-06 Thread Web2Py Freak
what user name and password ??

[web2py] logged in user

2011-10-07 Thread Web2Py Freak
Dear All , How Can I get the name of the user who is logged in my website ??

[web2py] Re: logged in user

2011-10-07 Thread Web2Py Freak
thnx guys its working now ..

[web2py] Crazy problem !!

2011-10-07 Thread Web2Py Freak
Dear All , i am making an E-learning application and am using auth.user.first_name but when i logout an error happens : ('NoneType' object has no attribute 'first_name') this is the controller : def index(): """ example action using the internationalization operator T and flash

[web2py] Re: Crazy problem !!

2011-10-07 Thread Web2Py Freak
So what to do ??

[web2py] Static forms

2011-10-11 Thread Web2Py Freak
Dear All , i want to build a form in html and when the form is accepted send its content in a Email , i know how to email it but i want to know how can i catch it in the controler and see if its accepted , how can i do that ??

[web2py] Re: Static forms

2011-10-11 Thread Web2Py Freak
when using sqlform-in-html ,do i have to use a table in the db ,, and how can i create a radio button from there ?

[web2py] Re: Static forms

2011-10-11 Thread Web2Py Freak
am trying to use SQLFORM.factory with a widget but its not working : def booking(): content=db(db.page.title=='booking').select(db.page.ALL) form = SQLFORM.factory( Field('your_name', requires=IS_NOT_EMPTY()), Field('your_email'), Field('like',widget=SQLFORM.widgets

[web2py] Re: Static forms

2011-10-11 Thread Web2Py Freak
oh thnx richard its working , and its a radio now but tell me how can i get its valu when accepted ??

  1   2   >