Adding sql database inserts to phpbb3.0 Install Script
- igorw
- Past Contributor
- Posts: 1967
- Joined: 01 Jun 2006, 20:48
- Real name: Igor [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Adding sql database inserts to phpbb3.0 Install Script
Yes, that's another SQL command...
- we're poor!
- Ganon_Master
- Past Contributor
- Posts: 311
- Joined: 20 Nov 2006, 16:23
- Real name: Hidde
- Location: Soesterberg, Utrecht, The Netherlands
- Contact:
Re: Adding sql database inserts to phpbb3.0 Install Script
from the error message do you think the other command went through in the database alright?
and does it matter where I add it in every file because your find, isn't always there
and does it matter where I add it in every file because your find, isn't always there
| | |
- Ganon_Master
- Past Contributor
- Posts: 311
- Joined: 20 Nov 2006, 16:23
- Real name: Hidde
- Location: Soesterberg, Utrecht, The Netherlands
- Contact:
Re: Adding sql database inserts to phpbb3.0 Install Script
If you are adding lots of tables or new field i HIGHLY recommend you look at create_schema_files.php in the /develop folder in the CVS.
In there you store the schema as an array and then let the script generate the schema files. This is better than editing the schema files as datatypes can be different across the DBMS that phpBB supports.
In there you store the schema as an array and then let the script generate the schema files. This is better than editing the schema files as datatypes can be different across the DBMS that phpBB supports.
My Mods :, ,
My Blog :
My Blog :
- Lord Le Brand
- Website Team
- Posts: 223
- Joined: 08 Sep 2006, 15:44
- Real name: Leroy
- Location: Parkstad, Limburg, the Netherlands (GMT+1) [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Adding sql database inserts to phpbb3.0 Install Script
good thing i was bored and checked this topic
Thanks for that tip poyntesm! VERY useful for phpBB Project
Thanks for that tip poyntesm! VERY useful for phpBB Project
Re: Adding sql database inserts to phpbb3.0 Install Script
Yes, very important. I have a post nearly ready on it all.
My Mods :, ,
My Blog :
My Blog :
Return to “phpBB Development discussion”
Who is online
Users browsing this forum: No registered users and 7 guests