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

Recent

Welcome to TinyPortal. Please login or sign up.

March 29, 2024, 07:09:22 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,106
  • Total Topics: 21,213
  • Online today: 358
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 141
  • Total: 141

Issue updating to TP 1.1

Started by keithsnell, November 24, 2015, 09:52:18 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

keithsnell

I recently updated my website from SMF 1.1.21 to SMF 2.0.11.  I had TP 0.983 installed on the SMF 1.1.21 site, and intended to uninstall TP 0.983 through the package manager before updating to SMF 2.0.11; however, there was no "uninstall" loaded for that version of TP.  Therefore, I followed the steps here:  http://www.tinyportal.net/index.php?topic=27943.0 then installed TP 1.0 onto SMF 1.1.21.  I then used "uninstall" in the package manager to uninstall TP 1.0 and all other mods/packages from SMF 1.1.21.  I used the Large Upgrade procedures to update SMF to 2.0.11.  Everything seemed to be working properly with SMF 2.0.11.  (I then bridged to Coppermine, although I don't think that is pertinent to this situation.)  I then installed TP 1.1 through the package manager.  Some blocks displayed, others did not.  I deleted all existing blocks then reinstalled the "recent posts" block. 

The issue:  I can't get my articles block to display on the front page, or anywhere for that matter.  Other blocks seem to work fine (so far).  When I try to preview an HTML article, I receive the following error on the bottom of the "unformatted" page:  Fatal error: Call to undefined function tportal_version() in /home/content/k/e/i/keithsnell/html/community/Sources/Load.php(2190) : eval()'d code on line 812

Here is the pertinent info for my site:
Link to my forum: http://www.spiritofphotography.com/community/
SMF version: SMF 2.0.11
TP version: TP 1.1
Default Forum Language: English
Theme name and version: Curve
Browser Name and Version: Firefox 42.0
Mods installed: Only TP 1.1
Related Error messages: Fatal error: Call to undefined function tportal_version() in /home/content/k/e/i/keithsnell/html/community/Sources/Load.php(2190) : eval()'d code on line 812

As a note, I can preview BBC articles, but they still don't appear on my homepage or other pages.

Please let me know what other information you might need to help me solve this issue.

Thanks,
Keith

lurkalot

Quote from: keithsnell on November 24, 2015, 09:52:18 PM
I recently updated my website from SMF 1.1.21 to SMF 2.0.11.  I had TP 0.983 installed on the SMF 1.1.21 site, and intended to uninstall TP 0.983 through the package manager before updating to SMF 2.0.11; however, there was no "uninstall" loaded for that version of TP.  Therefore, I followed the steps here:  http://www.tinyportal.net/index.php?topic=27943.0 then installed TP 1.0 onto SMF 1.1.21.  I then used "uninstall" in the package manager to uninstall TP 1.0 and all other mods/packages from SMF 1.1.21.  I used the Large Upgrade procedures to update SMF to 2.0.11.  Everything seemed to be working properly with SMF 2.0.11.  (I then bridged to Coppermine, although I don't think that is pertinent to this situation.)  I then installed TP 1.1 through the package manager.  Some blocks displayed, others did not.  I deleted all existing blocks then reinstalled the "recent posts" block. 

The issue:  I can't get my articles block to display on the front page, or anywhere for that matter.  Other blocks seem to work fine (so far).  When I try to preview an HTML article, I receive the following error on the bottom of the "unformatted" page:  Fatal error: Call to undefined function tportal_version() in /home/content/k/e/i/keithsnell/html/community/Sources/Load.php(2190) : eval()'d code on line 812

Here is the pertinent info for my site:
Link to my forum: http://www.spiritofphotography.com/community/
SMF version: SMF 2.0.11
TP version: TP 1.1
Default Forum Language: English
Theme name and version: Curve
Browser Name and Version: Firefox 42.0
Mods installed: Only TP 1.1
Related Error messages: Fatal error: Call to undefined function tportal_version() in /home/content/k/e/i/keithsnell/html/community/Sources/Load.php(2190) : eval()'d code on line 812

As a note, I can preview BBC articles, but they still don't appear on my homepage or other pages.

Please let me know what other information you might need to help me solve this issue.

Thanks,
Keith

Keith, hi and welcome.

If you upgraded to SMF 2.0.11 using the large upgrade package, that will leave you with no mods installed. You could have gone straight in and installed TP 1.1 and your other mods, obviously you'll need updated mods that work with that version of SMF.

Please try turning off the articles block and create a new one, see what happens.

illori

do you recall if you use the option to not use SMF templates in your articles? seems that is broken a bit... i will see that we fix it in the next version we are working on releasing.

keithsnell

Quote from: illori on November 24, 2015, 10:59:29 PM
do you recall if you use the option to not use SMF templates in your articles? seems that is broken a bit... i will see that we fix it in the next version we are working on releasing.

I don't think I used that option.

keithsnell

I seem to be making some progress.  I was trying to post "uncategorized" articles, which always worked in the previous version of TP.  Once I assigned my test articles to a category, they posted OK.

The preview function for HTML articles still returns the error listed previouosly. 
Fatal error: Call to undefined function tportal_version() in /home/content/k/e/i/keithsnell/html/community/Sources/Load.php(2190) : eval()'d code on line 812

I'd still like help troubleshooting that issue if possible.  (Being able to preview articles before posting is very useful.)

Thanks for your help.

Keith

lurkalot

Quote from: keithsnell on November 24, 2015, 11:04:05 PM
I seem to be making some progress.  I was trying to post "uncategorized" articles, which always worked in the previous version of TP.  Once I assigned my test articles to a category, they posted OK.

The preview function for HTML articles still returns the error listed previouosly. 
Fatal error: Call to undefined function tportal_version() in /home/content/k/e/i/keithsnell/html/community/Sources/Load.php(2190) : eval()'d code on line 812

I'd still like help troubleshooting that issue if possible.  (Being able to preview articles before posting is very useful.)

Thanks for your help.

Keith

Keith, it's possible you have some code in those html articles that needs updating to work with SMF 2.0.x

Try creating a test article and see if you get the same results, just add a little bit of html code to it.

keithsnell

HTML articles will publish from the article manager when I select toggle front page; however HTML articles will still not display properly when I try to publish them within a block.

I'm getting the following forum error message in the SMF error logs:

http://community.spiritofphotography.com/index.php?cat=19
8: Undefined index: layout
Apply Filter: Only show the errors from this file
File: /home/content/k/e/i/keithsnell/html/community/Themes/default/languages/TPShout.english.php (main sub template - eval?)
Line: 174

If that is any hint?  (I don't have TP shout turned on, so not sure why that would be an issue.

keithsnell

Quote from: lurkalot on November 24, 2015, 11:17:26 PM

Keith, it's possible you have some code in those html articles that needs updating to work with SMF 2.0.x

Try creating a test article and see if you get the same results, just add a little bit of html code to it.

The articles I was testing with were "new" articles produced with the TP article manager.  Just text, no fancy html codes at all.

keithsnell

OK, I have to quit trouble shooting for now.  I'll pick up on this again later.

Keith

lurkalot

Did you clean up the old TP files from the server before you uploaded fresh files from the large upgrade package.  It could be that you have old TP files still there.  It would be an idea to uninstall TP 1.1, then go check if there's any files remaining.

Make sure you don't delete any images of files you need.  It would pay you to back anything up before you delete anything.