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,966
  • Latest: safir45
Stats
  • Total Posts: 195,992
  • Total Topics: 21,323
  • Online today: 476
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 182
  • Total: 183
  • lurkalot

SMF 1.1.11 TP 1.0 b5 profile broken

Started by cavedeamon, April 02, 2010, 06:51:33 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

cavedeamon

When trying to visit one of tiny portals profile page I get the following error

URL: /index.php?action=profile;u=11;sa=tp_articles

error:
Fatal error: Call to undefined function tp_articles() in /mounted-storage/home103b/sub009/sc71196-UJCJ/www/forum/Sources/Profile.php on line 364

mods installed:
Another URL Popup          1.0
Forum Epoch                      1.0
Aeva Media                         1.1b
Foxy! for Aeva Media        1.23
Akismet Spam Blocking    1.2 Beta 2
Spoiler Tag                          0.7.2
reCAPTCHA for SMF         0.9.6
Super Admin                        1.5
TinyPortal                             1.098
BBC [you]                              1.2
Anonymize Links                 2.5
The Rules                            1.3
Attachments Positioning    1.2
New Style Message Icon    1.1
SMF Arcade                            2.0.18
Tar Game Uploader            1.0
PopUp Champs                   1.0

NeoMorph

I get the same error... I only have TinyPortal 1.05 installed and when I go to Profile and select "Portal Summary" I get...

QuoteFatal error: Call to undefined function tp_summary() in /home/ethicalg/public_html/f/Sources/Profile.php on line 342

When I click "Articles" in the TP section of the profile I get...

QuoteFatal error: Call to undefined function tp_articles() in /home/ethicalg/public_html/f/Sources/Profile.php on line 342

When I click "From TPShout" in the TP section of the profile I get...

QuoteFatal error: Call to undefined function tpshout_profile() in /home/ethicalg/public_html/f/Sources/Profile.php on line 339

Seems like it isn't calling the "TPmodules.php" include.

IchBin

Make sure that the edits done to your Sources/Profile.php file have been done.
// TinyPortal
require_once($sourcedir. '/TPmodules.php');
tp_getprofileareas($profile_areas);


If they have not, then I would check all the files for the edits to make sure they are done. You can get the edits from clicking the parse button on the mod page at SMF for now.
http://custom.simplemachines.org/mods/index.php?mod=97

cavedeamon

#3
The installation was verified by hand. All changes were made properly during initial installation. Though the code you have in above post is not mentioned anywhere in the tinyportal 1.0 b5 installation for SMF 1.1.11

NeoMorph

Quote from: IchBinâ„¢ on April 02, 2010, 07:55:48 PM
Make sure that the edits done to your Sources/Profile.php file have been done.
// TinyPortal
require_once($sourcedir. '/TPmodules.php');
tp_getprofileareas($profile_areas);


If they have not, then I would check all the files for the edits to make sure they are done. You can get the edits from clicking the parse button on the mod page at SMF for now.
http://custom.simplemachines.org/mods/index.php?mod=97

Well it looks like you installation package is at fault because the above code isn't anywhere in the parse for SMF 1.1.11 if you look at that link above.

IchBin

#5
Oops. Sorry, I was looking at the wrong version. I'm not sure about your problem. Let me look a little closer.

--edit--

Can you verify that the files were all uploaded properly? For SMF1.x the TPortal.php file should have a line that includes the TPmodules.php file.
require_once($sourcedir.'/TPmodules.php');

cavedeamon

on a fresh install of SMF and TP the file sourcedir/tportal.php does Not include the line require_once($sourcedir.'/TPmodules.php');

IchBin

Man.... there's too many versions!!! lmao Sorry, I looked at my SMF1.x beta 4. I need to leave here in a bit. I'll try to check back on this later when I have time to actually trouble shoot and install.

NeoMorph

Dude... don't panic... Stuff like this happens. The number of times I tested and tested an update to a software package and just KNEW it was 99.9% bug free and then when I deployed it I ended up with loads of users tearing their hair out.

Often I ended up feeling a bit  :uglystupid2: when I realised it was just a missing semicolon ruining an install... often it was the installer itself that was the culprit... I have confidence you will find the problem.

It's one reason why I'm testing on a clean install of SMF 1.1.11 with only TP installed (ie no other packages to worry about).

Xarcell

Quote from: NeoMorph on April 02, 2010, 11:46:07 PM
Dude... don't panic... Stuff like this happens. The number of times I tested and tested an update to a software package and just KNEW it was 99.9% bug free and then when I deployed it I ended up with loads of users tearing their hair out.

Often I ended up feeling a bit  :uglystupid2: when I realised it was just a missing semicolon ruining an install... often it was the installer itself that was the culprit... I have confidence you will find the problem.

It's one reason why I'm testing on a clean install of SMF 1.1.11 with only TP installed (ie no other packages to worry about).

let me know how your fresh install goes, if it's error free, or the bug still appears.

This website is proudly hosted on Crocweb Cloud Website Hosting.