MoonPoint Support Logo

 

Shop Amazon Warehouse Deals - Deep Discounts on Open-box and Used ProductsAmazon Warehouse Deals



Advanced Search
July
Sun Mon Tue Wed Thu Fri Sat
         
7
           
2011
Months
Jul


Thu, Jul 07, 2011 10:34 pm

Tiny Portal Install Fail for Subs.php

When I attempted to install TinyPortal 1.104 (listed as 1.0 RC2 on SMF site, but shows 1.104 when installed) on an SMF 2.0 forum, the installation process indicated Test failed for ./Sources/Subs.php . When I checked the test that failed, I found it was looking for 'calendar' => array(. I found that text in the file, so I used a hexadecimal editor to examine the ./Sources/Subs.php file and compared it against the code for which the installation process was looking.

Inside the TinyPortal1_RC2.zip file is a package-info.xml file that indicates what file will be used for installing the mod on various versions of the SMF forum. For SMF 2.0 SMF\tinyportal200.mod provides the instructions for installing the mod. That file can be found by extracting the contents of the zip file or it can be found in Packages/temp/SMF2 after you click on Install Mod.

When I examined that file with the hexadecimal editor, Freeware Hex Editor XVI32, I found there were three tab characters (hexadecimal 09) occuring before 'calendar' => array(. But when I examined ./Sources/Subs.php with a hexadecimal editor, I found there was only one tab character present in that file. I inserted two additional tab characters and was then able to install TinyPortal without any of the installation tests failing.

References:

  1. Installing TinyPortal 1.0 RC2 on SMF 2.0
    MoonPoint Support

[/network/web/forums/smf] permanent link

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo