Advertisement:
Advertise With Us!

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004986SMF 2.0Generalpublic2012-05-29 11:132012-06-01 06:57
ReporterAlundra 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
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:

        <code>install.php</code>

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.
Tags2.1
Attached Files

- Relationships

-  Notes
(0014612)
emanuele (Developer)
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]
(0014613)
emanuele (Developer)
2012-06-01 06:57

And of course thanks for the report! :D
MantisBT 1.2.8 (Modified)[^] Copyright © 2000 - 2010 Mantis Group