MantisBT - SMF 2.0
View Issue Details
0004986SMF 2.0Generalpublic2012-05-29 11:132012-06-01 06:57
PlatformOSOS Version
Summary0004986: Fatal Error with mods..
DescriptionSo I am retarded and I left a piece of code in my package xml. It was this:


My mod does not have an install.php so I ended up getting this when I clicked install:

Fatal error: require() [function.require]: Failed opening required '/home/user/public_html/BRS/Packages/temp/install.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user/public_html/BRS/Sources/Packages.php on line 938
Steps To ReproduceMake a mod and insert that line but no file for it. Click install, when it passes the first screen click it again.
Additional InformationJeff Lewis suggested I let you guys know because "fatal errors are icky" lol.
Attached Files

2012-06-01 06:57   
commit b4b86fdccf553aca8db138abb2294d9c52a4a7a9
Author: emanuele
Date: Fri Jun 1 2012

    ! A bit more warnings during packages install if files don't exist and check if the files exist before do a require when performing the real install [Bug 4986]
2012-06-01 06:57   
And of course thanks for the report! :D