Joel Shapiro Posted October 15, 2014 Posted October 15, 2014 Hi Tim Just testing out FM WebFrame for my first time, starting with Container Uploading. I'm using your Demo (on my server) and when I first loaded the site in my browser, I got Notice: Use of undefined constant nickname - assumed 'nickname' in /Library/WebServer/Documents/FMWebFrameDemo/FMWebFrame/settings.php on line 91 & similar for lines through 95. Wrapping each of those keys in quotes seems to fix the Notice. (I also got: Warning: date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /Library/WebServer/Documents/FMWebFrameDemo/application/ui-template.php on line 127 so I added date_default_timezone_set('America/Los_Angeles'); to settings.php, although I realize you may just expect developers to do that on their own sites anyway.) PHP 5.3.28 on OS X Just thought you might like to know. Thanks for building this! Best, -Joel
timdietrich Posted October 15, 2014 Posted October 15, 2014 Joel -- Thanks for the heads up. I think you're seeing these notices and warnings because of how PHP is configured. In any case, I've adjusted the code, and you'll see these addressed in the next version (which is, hopefully, coming soon). Please let me know if you see any other notices or warnings, or if you have any suggestions for future versions. -- Tim
Joel Shapiro Posted October 25, 2014 Author Posted October 25, 2014 Hi TIm  You asked for any other warnings. I just got these when testing on Windows Server 2008.  The file did upload (although with the .html issue mentioned in my other thread)  Perhaps a forward/backward slash issue?  -Joel Â
Recommended Posts
This topic is 3751 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now