I've read all of the documentation on the dbal at wiki.phpbb.com, a bunch of topics at various support sites, and the MySQL documentation, itself, but I'm still having problems with SQL queries within phpBB3.
For example, I cannot use build_sql_query (and certain other non-SQL related functions) on a setup across sub-domains. If I include the dbal files, it, of course, gives a fatal error that you cannot redeclare the class.
Another problem is on a MOD that I've been working on for a name generator. This issue has to be with my syntax, but I can't spot it.
I don't know. I suck at SQL. Any one have some other resources I could check out?
SQL resources?
-
- New member
- Posts: 7
- Joined: 04 Jul 2009, 21:35
- Real name: Jason
- Location: North Carolina
- Contact:
Re: SQL resources?
across sub domains? What exactly do you mean by that?
Including the dbal files would probably throw an error because they are already loaded...
Can you turn on debug extra, and give us any errors you get when using dbal::build_sql_query() ?
Including the dbal files would probably throw an error because they are already loaded...
Can you turn on debug extra, and give us any errors you get when using dbal::build_sql_query() ?
-
- New member
- Posts: 7
- Joined: 04 Jul 2009, 21:35
- Real name: Jason
- Location: North Carolina
- Contact:
Re: SQL resources?
Be sure to post up some of the usage that you have for build_sql_query, we'll see what's the issue.
-
- New member
- Posts: 7
- Joined: 04 Jul 2009, 21:35
- Real name: Jason
- Location: North Carolina
- Contact:
-
- New member
- Posts: 7
- Joined: 04 Jul 2009, 21:35
- Real name: Jason
- Location: North Carolina
- Contact:
Return to “phpBB Development discussion”
Who is online
Users browsing this forum: No registered users and 30 guests