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: