Hi guys, first the problem:
I need some databases with identical structure, but with different data. These databases must be stored with the clients because they want (different locations), but the auth system is unique.
So, my structure by now is: a centralized auth system and some disyributed databases. The centralized system controls access to other databases.
Teoricaly web2py works great with it, because I defined a function that I pass connection string, access control db and its made a lot of databases replicas with foreign keys to access control database.
Without the function it works great, but with, it make a complete first client database and then crash all of web2py. It returns a ciclic ticket error when I try access any application of that web2py, either Welcome application.
Im using web2py 2.7.4 with mysql on ubuntu. So, whats happening? I cant define model with function. Oh, my function is in the same model file.
BR, Diogo
--
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/groups/opt_out.
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/_OnWZGMqkE0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
Yes, thanks Michele!
Omg, I was using web2py with apache. With the same code and using rocket server no errors occurs and the databases was created.
I configured apache with web2py script. Someone knows whats happen?
Anyway, now I can configure database with rocket than manage with apache. It's working now!
I think some index makes apache/mysql crazy and returned this error:
1. | Traceback (most recent call last): |