TinyPortal

Development => Support => Installation => Topic started by: cmhbob on April 14, 2010, 11:38:36 PM

Title: New Install - Testing Failure
Post by: cmhbob on April 14, 2010, 11:38:36 PM
Link to my site: http://mwf.ravensbeak.com/forum/
SMF version: SMF 1.1.11
TP version: TP v1.0 beta 5
Theme name and version: Default_modern at the moment, but will change to Themis
Browser Name and Version: Firefox/3.6.3
Mods installed: 1.  Stop Spammer     2.2
2.    Prevent Adding Signature Images And Links    1.3
3.    SMF 1.0.17 / 1.1.9 / 2.0 RC1 Update    1.0
4.    SMF 1.0.18 / 1.1.10 / 2.0 RC1-2 Update    1.1
5.    SMF 1.0.19 / 1.1.11 Update    1.0
6.    Twitter mod    1.6
7.    Pretty URLs    1.0RC
8.    Google Analytics Code    1.1
9.    Custom Tab    1.2
10.    Welcome Topic Mod

Related Error messages: " Error in Package Installation
At least one error was encountered during a test installation of this package. etc...." Then "7.     Execute Modification     ./index.php     Test failed"

Not sure why it failed. It's set to 777 using the Package Manager. Prior to install, I optimized tables, and backed things up, then set the forum to maintenance mode.  I let the PM do the chmod, and verified it via FTP after the failure.
Title: Re: New Install - Testing Failure
Post by: IchBin on April 15, 2010, 12:48:55 AM
It's likely failed because TP is looking for code that has been altered by another mod. You have a couple of options:

Easiest option - Go to the mods page for tinyportal on SMF. http://custom.simplemachines.org/mods/index.php?mod=97 Click the parse button for your version of SMF. You'll then get the instructions for how the files are edited for TP. If the only error you have is on index.php, then you'll only need to follow those instructions if you proceed installing the mod (even though it warns you about the failure).

Not so easy option: install everything manually. Upload all the TP files, edit all the SMF files that TP needs, and then run the tp_install.php file.

Could be easy option: If you have no other mods installed, upload a new index.php file from the SMF upgrade package for your version. Then run the install again in the package manager.
Title: Re: New Install - Testing Failure
Post by: cmhbob on April 15, 2010, 01:31:32 AM
Thanks for the reply.

I went ahead with the auto install, intending to modify index.php.

The install appeared to complete properly. However, I got
Quote"Table 'raven_smf1.modules' doesn't exist
File: /home/raven/public_html/mwf/forum/Sources/TPSubs.php
Line: 67 "
I figured out that my files were up to date, but the database was 1.1.8. I applied the upgrade as discussed here (http://www.simplemachines.org/community/index.php?topic=375174.0). That complete properly, but at the moment, I can't access anything in the Admin section, because I keep getting the above error.

Suggestions at this point?
Title: Re: New Install - Testing Failure
Post by: cmhbob on April 15, 2010, 02:14:40 AM
Upon further review...

Turns out that Index.php was not fully upgraded. The line
// TinyPortal
TPortal_init();
didn't get inserted, probably due to the Twitter Mod, as that ended up just before the maintenance_mode check. Looks like I'm up and running.
Title: Re: New Install - Testing Failure
Post by: IchBin on April 15, 2010, 05:26:32 AM
Sweet! Good work, I'll mark your topic solved then. :up: