You can try it...but it's your funeral if it doesn't work and you definitely won't be getting support for doing that. I'm sure there's good reasons why Ex stated it's only for php 5 and up...wolf2009 wrote:no way to get this working on php 4.4.8 ?
You can try it...but it's your funeral if it doesn't work and you definitely won't be getting support for doing that. I'm sure there's good reasons why Ex stated it's only for php 5 and up...wolf2009 wrote:no way to get this working on php 4.4.8 ?
so do I ask my Hoster to update to php 5 ?DavidIQ wrote:You can try it...but it's your funeral if it doesn't work and you definitely won't be getting support for doing that. I'm sure there's good reasons why Ex stated it's only for php 5 and up...wolf2009 wrote:no way to get this working on php 4.4.8 ?
what kind of issues ?EXreaction wrote:Updating PHP should not be any issue, but usually, when hosts update PHP they update MySQL as well, which might give some issues depending on what version you currently have and what version they update to.
Code: Select all
General Error
SQL ERROR [ mysql4 ]
Field 'poll_title' doesn't have a default value [1364]
SQL
INSERT INTO phpbb_blogs (user_id, user_ip, blog_time, blog_subject, blog_text, blog_checksum, blog_approved, enable_bbcode, enable_smilies, enable_magic_url, bbcode_bitfield, bbcode_uid, blog_edit_reason) VALUES ('2', '71.238.201.170', 1227652140, 'Welcome to the User Blog Mod!', 'Welcome to the User Blog Mod!\n\nRelease Topic:\n<!-- m --><a class=\"postlink\" href=\"http://lithiumstudios.org/forum/viewtopic.php?f=41&t=433\">http://lithiumstudios.org/forum/viewtop ... f=41&t=433</a><!-- m -->\n\nSupport will only be given at lithiumstudios.org. If you have any comments or need support ask in this forum:\n<!-- m --><a class=\"postlink\" href=\"http://lithiumstudios.org/forum/viewforum.php?f=41\">http://lithiumstudios.org/forum/viewforum.php?f=41</a><!-- m -->', '2c01862dbe8ccd69da8113703f825792', 1, 1, 1, 1, '', '2rx2ti39', '')
BACKTRACE
FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()
FILE: blog/install/data.php
LINE: 93
CALL: dbal_mysql->sql_query()
FILE: blog/install.php
LINE: 71
CALL: include('blog/install/data.php')
Hmm, not sure why you would get that.M0PIES wrote:I went to blog/install.php and got this error:Code: Select all
General Error SQL ERROR [ mysql4 ] Field 'poll_title' doesn't have a default value [1364] SQL INSERT INTO phpbb_blogs (user_id, user_ip, blog_time, blog_subject, blog_text, blog_checksum, blog_approved, enable_bbcode, enable_smilies, enable_magic_url, bbcode_bitfield, bbcode_uid, blog_edit_reason) VALUES ('2', '71.238.201.170', 1227652140, 'Welcome to the User Blog Mod!', 'Welcome to the User Blog Mod!\n\nRelease Topic:\n<!-- m --><a class=\"postlink\" href=\"http://lithiumstudios.org/forum/viewtopic.php?f=41&t=433\">http://lithiumstudios.org/forum/viewtop ... f=41&t=433</a><!-- m -->\n\nSupport will only be given at lithiumstudios.org. If you have any comments or need support ask in this forum:\n<!-- m --><a class=\"postlink\" href=\"http://lithiumstudios.org/forum/viewforum.php?f=41\">http://lithiumstudios.org/forum/viewforum.php?f=41</a><!-- m -->', '2c01862dbe8ccd69da8113703f825792', 1, 1, 1, 1, '', '2rx2ti39', '') BACKTRACE FILE: includes/db/mysql.php LINE: 174 CALL: dbal->sql_error() FILE: blog/install/data.php LINE: 93 CALL: dbal_mysql->sql_query() FILE: blog/install.php LINE: 71 CALL: include('blog/install/data.php')
Code: Select all
INSERT INTO phpbb_config (config_name, config_value) VALUES ('user_blog_version', '1.0.8');
Code: Select all
General Error
SQL ERROR [ mysql4 ]
Table 'phpbb_blogs' already exists [1050]
SQL
CREATE TABLE phpbb_blogs ( blog_id mediumint(8) UNSIGNED NOT NULL auto_increment, user_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, user_ip varbinary(40) DEFAULT '' NOT NULL, blog_subject blob NOT NULL, blog_text mediumblob NOT NULL, blog_checksum varbinary(32) DEFAULT '' NOT NULL, blog_time int(11) UNSIGNED DEFAULT '0' NOT NULL, blog_approved tinyint(1) UNSIGNED DEFAULT '1' NOT NULL, blog_reported tinyint(1) UNSIGNED DEFAULT '0' NOT NULL, enable_bbcode tinyint(1) UNSIGNED DEFAULT '1' NOT NULL, enable_smilies tinyint(1) UNSIGNED DEFAULT '1' NOT NULL, enable_magic_url tinyint(1) UNSIGNED DEFAULT '1' NOT NULL, bbcode_bitfield varbinary(255) DEFAULT '' NOT NULL, bbcode_uid varbinary(8) DEFAULT '' NOT NULL, blog_edit_time int(11) UNSIGNED DEFAULT '0' NOT NULL, blog_edit_reason blob NOT NULL, blog_edit_user mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, blog_edit_count smallint(4) UNSIGNED DEFAULT '0' NOT NULL, blog_edit_locked tinyint(1) UNSIGNED DEFAULT '0' NOT NULL, blog_deleted mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, blog_deleted_time int(11) UNSIGNED DEFAULT '0' NOT NULL, blog_read_count mediumint(8) UNSIGNED DEFAULT '1' NOT NULL, blog_reply_count mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, blog_real_reply_count mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, blog_attachment tinyint(1) UNSIGNED DEFAULT '0' NOT NULL, perm_guest tinyint(1) DEFAULT '1' NOT NULL, perm_registered tinyint(1) DEFAULT '2' NOT NULL, perm_foe tinyint(1) DEFAULT '0' NOT NULL, perm_friend tinyint(1) DEFAULT '2' NOT NULL, rating decimal(6,2) DEFAULT '0' NOT NULL, num_ratings mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, poll_title blob NOT NULL, poll_start int(11) UNSIGNED DEFAULT '0' NOT NULL, poll_length int(11) UNSIGNED DEFAULT '0' NOT NULL, poll_max_options tinyint(4) DEFAULT '1' NOT NULL, poll_last_vote int(11) UNSIGNED DEFAULT '0' NOT NULL, poll_vote_change tinyint(1) UNSIGNED DEFAULT '0' NOT NULL, PRIMARY KEY (blog_id), KEY user_id (user_id), KEY user_ip (user_ip), KEY blog_approved (blog_approved), KEY blog_deleted (blog_deleted), KEY perm_guest (perm_guest), KEY perm_registered (perm_registered), KEY perm_foe (perm_foe), KEY perm_friend (perm_friend), KEY rating (rating) )
BACKTRACE
FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()
FILE: blog/install/tables.php
LINE: 53
CALL: dbal_mysql->sql_query()
FILE: blog/install.php
LINE: 67
CALL: include('blog/install/tables.php')
No problem. I've already fixed the cause of it in SVN and it'll be permanently fixed with the next version (whenever that gets released).M0PIES wrote:Alright, everything is working fine now, Thanks.
Code: Select all
[phpBB Debug] PHP Notice: in file /blog/install/tables.php on line 21: Undefined property: dbal_mysql::$mysql_version
Code: Select all
if ($dbms == 'mysqli' || version_compare($db->mysql_version, '4.1.3', '>='))