TinyPortal

Development => Feedback => Bugs/Errors => Topic started by: TestMonkey on April 26, 2007, 11:56:30 AM

Title: TP-Custom Sizing Oddities
Post by: TestMonkey on April 26, 2007, 11:56:30 AM
Not sure if this is theme specific where each theme needs to update to new TP standard or just something overlooked.. appears to be isolated to the download area.

Fatal error: Cannot redeclare tpdownload() (previously declared in /home/tpnet/public_html/Sources/Profile.php:2929) in /home/tpnet/public_html/Sources/TPdlmanager.php on line 794


This happens on themes where you can change the width and other style attributes onclick via javascript some work fine some.. not so much..
Follow this link: example (http://www.tinyportal.net/index.php?action=tpmod;dl=0&theme=7)
Click the links uptop right to change the width that should generate the error.
Found this to be happening only in the download manager area in many of the themes..
Title: Re: TP-Custom Sizing Oddities
Post by: Zetan on April 26, 2007, 12:05:23 PM
I get that too. Does seem to be a bug here.
Title: Re: TP-Custom Sizing Oddities
Post by: G6Cad on April 26, 2007, 12:48:38 PM
In Sources/Profile.php

change the line function tpdownload($memID) to function tp_download($memID)
Title: Re: TP-Custom Sizing Oddities
Post by: Zetan on April 26, 2007, 01:26:42 PM
Its a bug here at TinyPortal  :o
Title: Re: TP-Custom Sizing Oddities
Post by: G6Cad on April 26, 2007, 01:54:21 PM
Yes, and i wrote the fix ;)  I had the same on my forum to with Azure theme
Title: Re: TP-Custom Sizing Oddities
Post by: Zetan on April 26, 2007, 03:08:57 PM
Can't say I noticed on mine. Well, as long as you know about it  :)
Title: Re: TP-Custom Sizing Oddities
Post by: TestMonkey on May 08, 2007, 04:35:37 AM
Thanks G6, I forgot to check back on this has been a busy few weeks.