Customizing SMF > Modifications and Packages

TinyPortal - v1.0 - update Apr. 1, 2012

<< < (370/400) > >>

warhonowicz:

--- Quote from: IchBin™ on May 24, 2012, 05:58:15 PM ---What version of TP are you using? IIRC that error was fixed in one of the RC's a while ago. It comes from you not having all the layout options selected in your category settings. If you are running TP1.0 just update your category layout settings and it should be fixed.

--- End quote ---

I am using TP 1.107. I have updated my category layout settings and deleted the log entries. Hopefully that will have fixed it.


--- Quote from: Liam_michael on May 24, 2012, 07:46:12 PM ---Perhaps the coding you've added in one of your blocks is conflicting... Do you have any PHP-based blocks?

--- End quote ---

I've got two PHP based blocks. One displays the top 15 contributors on the forum and the other random pictures from the gallery (smf gallery lite).

IchBin™:
warhonowicz, you can test if it worked by hitting the URL to your site that you posted in your error.

Liam_michael,
The error doesn't have anything to do with blocks if you look at the code it's pointing to in the file.

warhonowicz:
thanks to a bank holiday weekend in Germany I was away for a few days ... the error still comes up, with a slight variation


--- Code: ---http://www.mmc.uk.com/index.php?cat=-9.9
2: in_array() expects parameter 2 to be array, null given
File: /home/mmc/public_html/Themes/default/TPBlockLayout.template.php
Line: 82
--- End code ---



When I go to http://www.mmc.uk.com/index.php?cat=9 I get a page with the article categories listed across the top but no content, when I go to http://www.mmc.uk.com/index.php?cat=-9.9 I get an error page


--- Code: ---Wrong value type sent to the database. Integer expected. (cat)
--- End code ---

In the categories I have selected:

a name
a parent where applicable
do not use an icon
sort by date in descending order
5 articles per page
short name 17
Layout A
Normal article layout
Display child categories where applicable
Display left, top, upper and right panel (I do not use the lower and bottom)
Membergroups as needed

IchBin™:
Can you show me a screenshot of those category settings?

Why is your category named -9.9 ? That could be it I suppose. TP may not handle the name properly in order for you to use a title name like that.

warhonowicz:
Sorry, been away with work, here's the screenshots. As far as I know I do not have a category name -9.9

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version