TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,242
  • Total Topics: 21,353
  • Online today: 488
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 204
  • Total: 204

Some TP 1.0 RC1 for RC4 Issues

Started by Skhilled, December 12, 2010, 07:20:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Skhilled


Link to my site: http://www.skhilled.com/smf
SMF version: SMF 2RC4
TP version: TP 1.0 RC1 for SMF 2RC4
Default Forum Language: English
Theme name and version: Core
Browser Name and Version: Firefox 3.6.13
Mods installed: None when I found these errors but installed a few afterwards
Related Error messages:
Quotehttp://www.skhilled.com/smf/index.php?8: Undefined index:  realName
File: /home/skhille1/public_html/smf/Sources/TPortal.php
Line: 1843

http://www.skhilled.com/smf/index.php?http://www.skhilled.com/smf/
8: Undefined index:  realName
File: /home/skhille1/public_html/smf/Sources/TPortal.php
Line: 1843                    
http://www.skhilled.com/smf/index.php?action=tpadmin8: Undefined index:  3
File: /home/skhille1/public_html/smf/Sources/TPortalAdmin.php
Line: 1845

http://www.skhilled.com/smf/index.php?action=tpadmin
8: Undefined index:  5
File: /home/skhille1/public_html/smf/Sources/TPortalAdmin.php
Line: 1845

http://www.skhilled.com/smf/index.php?action=tpadmin
8: Undefined index:  4
File: /home/skhille1/public_html/smf/Sources/TPortalAdmin.php
Line: 1845

http://www.skhilled.com/smf/index.php?action=tpadmin
8: Undefined index:  6
File: /home/skhille1/public_html/smf/Sources/TPortalAdmin.php
Line: 1845                    
http://www.skhilled.com/smf/index.php?action=tpadmin8: Undefined index: 1
File: /home/skhille1/public_html/smf/Sources/TPortalAdmin.php
Line: 1845

1.  Cannot save a BBC article with anything in it but no errors are given. It will create an empty article. No matter what you put in it, it will delete it when you click "Save". Please see bottom portion of the 1st image.

2.  When putting a frontpage article in a Front Page Block, it will not show the author. Please see top portion of 1st image, 2nd image, and 1st error.

3.  There is nothing in the dropdown for selecting an article in the Front Page Block's settings. Please see image 3.

4.  I get the 2nd "realName" error when selecting users to see the block in its settings. See 2nd error and notice the double URL's.

5.  Not sure how I got the undefined index # errors and can't recreate them atm.

IchBin

I think you have something wrong with your install.
1. I do not have the same problem. No problems with BBC in the articles.
2. No problems here either. Just did a quick frontpage block and added an article. It displays just fine for me.
3. Again, the dropdown displays fine for me.
4 & 5. At this point I don't know, but I bet it's related to you having other problems.

Skhilled

#2
Ok, I uploaded all new smf files and ran upgrade.php just to make sure my db was right. I then ran a few tests with SMF which ran fine without any errors. No other mods installed. I installed TP and the same errors showed except for the number errors.

I then repeated the same process above BUT I deleted the TP tables from the db this time. No errors when running TP. I created a category (Front Page News) and a html article (named Test) and did not check the "Show Author" setting. No errors.

As soon as I ticked that setting ("Show Author") and saved it, I get the realname error and the author's name does not show in the article/block. If I'm viewing that block's setting page, I get the error with the double URL's for my site.

You cannot uncheck the "Show Author" setting even after saving it again. I am starting to assume that that is part of the problem.

BBC articles still do not work as before. I have not gone over every bit of code to make sure it installed properly but there were no other signs that would indicate it did not. Doesn't mean that it did. LOL

But I get no other errors although I have not tested many of the other settings very thoroughly...but just quickly to see if any errors popped up.

EDIT: When the article is disabled in the front page block settings it still shows on the front page.

If you go to the article itself, you can disable it and it will not show.

EDIT AGAIN (LOL): I've noticed that most of the blocks have option circles instead of checkboxes. Perhaps, there is something wrong with that?

IchBin

I'm not able to reproduce a single error that you have. I have no problem with articles and selecting the "Display Author Avatar/Info" or  the "Display Author" check boxes. I don't see a "Show Author" option in articles.

QuoteEDIT: When the article is disabled in the front page block settings it still shows on the front page.

Huh? lol What do articles have to do with frontpage blocks? Can you explain that better?

QuoteEDIT AGAIN (LOL): I've noticed that most of the blocks have option circles instead of checkboxes. Perhaps, there is something wrong with that?

Are you saying that you have more radio boxes than check boxes? The only radio boxes for blocks that I have are everything down to member group selection. The rest are check boxes.

Can someone else test some of these things?

lurkalot

Quote from: IchBin on December 16, 2010, 12:51:52 AM

I don't see a "Show Author" option in articles.


Quote

The only radio boxes for blocks that I have are everything down to member group selection. The rest are check boxes.


Ditto, both of these.

As I know Skhilled, I've sent him one of my testbed logins with admin  access, so he can compare mine to his.  I'd like him to test the same stuff on my site a see if he gets the same results.  I couldn't, but then I wasn't sure exactly what he was doing.  :-[ 

Skhilled

OK, let me elaborate.

1.  I created a html article cause I can't create BBC articles, for some reason. (I still haven't looked over the code to make sure it's all there yet but they do work on Lurk's test site. :P )

2.  I created a new Front Panel Block and set it to "Articles In A Category" and saved it.

You can then see that you cannot use the dropdown (it will not show any articles previously created) to select articles on the Blocks page as in the first image below BUT it does show any articles that are ticked to "Show on Frontpage". Same thing happens on Lurk's site.

3.  I checked the box for "Show author?" for that Front Panel Block and saved it. If you try to uncheck it and save it, it will not save it as unchecked. It will always stay checked. Same thing happens on Lurk's site.

4.  You can see the articles in that Front Panel Block BUT it will not show the author.

I believe this (number 3 and number 4 above) are what is causing the "realName" error. And anyone who views index.php will cause that "realName" error and it will fill up your log quickly if a lot of people are viewing index.php.

On Lurk's site, I created an uncategorized article and tried to use that as a test...on my site I assigned it to a category. I noticed this error on his site:

http://thepicvault.com/smf1.1.11/index.php?action=tpadmin;sa=articles;sa=strays8: Undefined index:  indent
File: /home/thepicva/public_html/smf1.1.11/Themes/default/languages/TPShout.english.php (main sub template - eval?)
Line: 209

Funny the URL says tpadmin articles but the file says tpshout language?...also a template issue?

EDIT: Crap! Deleted it by mistake! LOL

lurkalot

#6
Hmm.  Thanks for checking on my testsite Skhilled.  O0

I can see what you were doing now, and understand the problems a bit better now.  That testbed is running SMF2 RC 4 and TP1.0 RC1

Tried this on a second (one of my early) testsites, running the test release from Bloc a while back, this is running SMF2 RC3 and TP1.0 RC1.

Same problems on that one too.  2, 3, and 4  and this error in my log.

http://xxxxxxxxxxx.com/forum/index.php?8:
Undefined index: realNameFile: /home/xxxxxx/public_html/forum/Sources/TPortal.php
Line: 1809


IchBin

Man this stuff is going to drive me crazy. I didn't realize you were doing most of this with front blocks. I couldn't even get front blocks to display on my site today for admin. I found and fixed that bug, but I can't reproduce the "realName" error. I'll have to come back to this when my brains not so fried from bug hunting.

lurkalot

Quote from: IchBin on December 16, 2010, 11:32:02 PM

but I can't reproduce the "realName" error. I'll have to come back to this when my brains not so fried from bug hunting.


Brad, if you need a admin test login for my testsite, then just shout.  ;)

IchBin

OK, I've confirmed the article drop down error not showing, as well as the realName error with the show author option not working. If one of you wouldn't mind putting something in the bugtracker that would be great.

I have not been able to confirm the problem with creating BBC articles.

The reason for the error not pointing to the right file, is because you have disable eval for template in the server settings.

This website is proudly hosted on Crocweb Cloud Website Hosting.