Update 3.0.0 to 3.0.1 ACP attachment error

Support for upgrading any version of your phpBB3 installation
Forum rules
READ: StarTrekGuide.com Board Rules

Support for upgrading any version of phpBB3 to the most recent version.

Update 3.0.0 to 3.0.1 ACP attachment error

Postby Stoker » 09 Apr 2008, 12:29

Hello

I have updated 3 boards from 3.0.0 to 3.0.1
All 3 almost vanilla boards and there where no problems at all.

By coinsidence I looked at the attachment settings in ACP and saw this error:
fejl.JPG
Attachment ACP error


The error appears on all 3 boards.
Stoker
Stoker    
Borg Drone
Borg Drone
 
Posts: 401
Joined: 24 Nov 2007, 11:05
Location: Denmark
Favorite Team: Highslide JS
Gender: Male
phpBB Knowledge: 4




phpBB Academy at StarTrekGuide
Support STG
Using PayPal Donate

Re: Update 3.0.0 to 3.0.1 ACP attachment error

Postby Ladysarajane » 09 Apr 2008, 13:58

I have filed a bug report about this on phpBB.com
All of my forums are the same way.
Warning: Stay away from Deck 15 if you don't have security clearance level 6 or above! Unauthorized access is prohibited.
Image
User avatar
Ladysarajane
STG Moderator
STG Moderator
 
Posts: 1962
Joined: 21 Mar 2007, 23:35
Favorite Team: Bengals
Gender: Female
phpBB Knowledge: 5

Re: Update 3.0.0 to 3.0.1 ACP attachment error

Postby CoC » 09 Apr 2008, 14:25

removing these lines fixes the error.

Code: Select all
                  'img_max_width'         => array('lang' => 'MAX_IMAGE_SIZE', 'validate' => 'int:0', 'type' => false, 'method' => false, 'explain' => false,),
                  'img_max_height'      => array('lang' => 'MAX_IMAGE_SIZE', 'validate' => 'int:0', 'type' => false, 'method' => false, 'explain' => false,),
                  'img_link_width'      => array('lang' => 'IMAGE_LINK_SIZE', 'validate' => 'int:0', 'type' => false, 'method' => false, 'explain' => false,),
                  'img_link_height'      => array('lang' => 'IMAGE_LINK_SIZE', 'validate' => 'int:0', 'type' => false, 'method' => false, 'explain' => false,),
User avatar
CoC    
MOD Author
MOD Author
 
Posts: 490
Joined: 23 Jan 2007, 11:09
Location: Coventry
Favorite Team: Coventry City
Gender: Male
phpBB Knowledge: 8

Re: Update 3.0.0 to 3.0.1 ACP attachment error

Postby Ladysarajane » 09 Apr 2008, 14:28

Yes, the reply to my ticket says the error will be fixed in the next release and that they
There is a display bug in 3.0.1. The settings are not missing, there are
just four "ghost" lines at the top of the page.


Edit:yes, Coc Thank you! Removing those from include/acp/acp_attachments.php works!
Warning: Stay away from Deck 15 if you don't have security clearance level 6 or above! Unauthorized access is prohibited.
Image
User avatar
Ladysarajane
STG Moderator
STG Moderator
 
Posts: 1962
Joined: 21 Mar 2007, 23:35
Favorite Team: Bengals
Gender: Female
phpBB Knowledge: 5

Re: Update 3.0.0 to 3.0.1 ACP attachment error

Postby Stoker » 09 Apr 2008, 14:52

Thanks for Your answers.
Didnt want to wait until next update so I did what CoC suggested.
I works fine :)
Stoker
Stoker    
Borg Drone
Borg Drone
 
Posts: 401
Joined: 24 Nov 2007, 11:05
Location: Denmark
Favorite Team: Highslide JS
Gender: Male
phpBB Knowledge: 4

Re: Update 3.0.0 to 3.0.1 ACP attachment error

Postby angelside » 01 May 2008, 12:47

I not update, use a fresh phpBB 3.0.1 (one local, one server), but I have same errors:


Code: Select all
'img_max_width'            => array('lang' => 'MAX_IMAGE_SIZE''validate' => 'int:0''type' => false'method' => false'explain' => false,),
'img_max_height'        => array('lang' => 'MAX_IMAGE_SIZE''validate' => 'int:0''type' => false'method' => false'explain' => false,),
'img_link_width'        => array('lang' => 'IMAGE_LINK_SIZE''validate' => 'int:0''type' => false'method' => false'explain' => false,),
'img_link_height'        => array('lang' => 'IMAGE_LINK_SIZE''validate' => 'int:0''type' => false'method' => false'explain' => false,), 


'type' => false ?? maybe change to 'type' => dimension:3:4
phpBB3 Portal | simple portal for phpBB3 Olympus
phpBB Türkiye | Turkish phpBB community
User avatar
angelside
MOD Author
MOD Author
 
Posts: 129
Joined: 20 Jun 2006, 03:17

Re: Update 3.0.0 to 3.0.1 ACP attachment error

Postby Stoker » 01 May 2008, 13:26

angelside wrote:I not update, use a fresh phpBB 3.0.1 (one local, one server), but I have same errors:


Code: Select all
'img_max_width'            => array('lang' => 'MAX_IMAGE_SIZE''validate' => 'int:0''type' => false'method' => false'explain' => false,),
'img_max_height'        => array('lang' => 'MAX_IMAGE_SIZE''validate' => 'int:0''type' => false'method' => false'explain' => false,),
'img_link_width'        => array('lang' => 'IMAGE_LINK_SIZE''validate' => 'int:0''type' => false'method' => false'explain' => false,),
'img_link_height'        => array('lang' => 'IMAGE_LINK_SIZE''validate' => 'int:0''type' => false'method' => false'explain' => false,),  


'type' => false ?? maybe change to 'type' => dimension:3:4


This is actually the correct fix to use: http://code.phpbb.com/repositories/diff ... p?rev=8497
Also see my topic here about attachment quota. Its about another error in the same file.
Stoker
Stoker    
Borg Drone
Borg Drone
 
Posts: 401
Joined: 24 Nov 2007, 11:05
Location: Denmark
Favorite Team: Highslide JS
Gender: Male
phpBB Knowledge: 4

Re: Update 3.0.0 to 3.0.1 ACP attachment error

Postby xceler8shun » 01 May 2008, 18:28

Stoker wrote:This is actually the correct fix to use: http://code.phpbb.com/repositories/diff ... p?rev=8497
Also see my topic here about attachment quota. Its about another error in the same file.


Thanks for the heads up about the code change Stoker :good:
xceler8shun    
Borg Drone
Borg Drone
 
Posts: 71
Joined: 28 Apr 2008, 16:58
Location: Australia
Gender: Male
phpBB Knowledge: 4


Return to phpBB3 upgrade support

Who is online

Users browsing this forum: No registered users and 1 guest