Call to undefined function smf_main()