[Typo3-debian] problem with sql installation
Tokeiito
tokeiito at takas.lt
Mon Jan 17 09:49:55 CET 2005
sorry. i found how to patch. but when i try to do this, i got error:
Hunk #1 FAILED at 467.
1 out of 1 hunk FAILED -- saving rejects to file class.t3lib_install.php.rej
and this is class.t3lib_install.php.rej file:
***************
*** 467,472 ****
if (is_array($info['fields'])) {
foreach($info['fields']
as $fN => $fV) {
if
($info['whole_table']) {
$whole_table[]=$fN.' '.$fV;
} else {
if
($theKey=='extra') {
--- 467,477 ----
if (is_array($info['fields'])) {
foreach($info['fields']
as $fN => $fV) {
if
($info['whole_table']) {
+
if(!strcmp($fN,'uid')) {
+
if(strstr($fV,'auto_increment')) {
+
$fV = eregi_replace('default\'0\'','',$fV);
+ }
+ }
$whole_table[]=$fN.' '.$fV;
} else {
if
($theKey=='extra') {
Tokeiito wrote:
> ok, i got patch. and how to install it?
>
> Darius Tumas (Tokeiito)
>
> Frank Sertic wrote:
>
>> tokeiito <tokeiito at takas.lt> wrote:
>>
>>
>>> MySQL said:
>>> #1067 - Invalid default value for 'uid'
>>>
>>> how to fix it?
>>>
>>
>>
>> Install the Patch
>> http://bugs.typo3.org/bug_view_page.php?bug_id=0000416
>>
>> Gruss Frank
>>
>>
>>
>>
>>
>
>
> _______________________________________________
> Typo3-debian mailing list
> Typo3-debian at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-debian
>
>
More information about the TYPO3-debian
mailing list