Jump to content

Nathan54AB

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Everything posted by Nathan54AB

  1. Nope, but now that I did try it, it works now. *facepalm*
  2. I'm playing around with Joomla and phpBB3 installed on my XAMPP server and everywhere I go I'm getting this errors like this: Warning: date() [function.date]: 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 '-8.0/no DST' instead in C:\xampp\htdocs\Joomla\libraries\joomla\utilities\date.php on line 198 This is one example, but they're all pretty much the same. Others just point to different files and line numbers. I did some research on this error, and from what I've been finding it has to do with the date.timezone setting in my php.ini file. So I added the following like in my php.ini file so the part under [Date] looks like this: [Date] ; Defines the default timezone used by the date functions ; http://php.net/date.timezone date.timezone = "America/Los_Angeles" However, this hasn't changed anything. I still get the same errors everywhere. Tell me, how do I fix this? I suppose I could go into each PHP file and manually set the timezone in the problem lines using some function, but I really don't want to do that. I'd like to just change one setting so it automatically fixes every occurrence of this error at once.
  3. I'm a newbie to PHP programming, and for that matter any programming. I've been learning with Larry Ullman's PHP For the World Wide Web Second Edition. I'm in a section that's indroducing the "if" concept and wrote their sample script. Testing it, I get the following error: Parse error: syntax error, unexpected '>' in directory\registration.php on line 26 For the life of me I can't figure out why it would be having this error and I can't spot any stray >'s (If that's what that error implies). Attached to this post is the file involved, registration.php. There is also a registration.html that the PHP file receives, but I'm not able to upload html files here. [attachment deleted by admin]
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.