JasonS92 Posted April 26, 2010 Share Posted April 26, 2010 Hi, im relatively new to php.. And a friend of mine has made me a script to use on the myspace app, Mobsters. I click to run it with php, after entering the email settings, the command prompt comes up for less than 2 seconds, then disappears. It has an error warning saying, Connecting to myspace for: EXAMPLE@EXAMPLE.COM Please stand by PHP Warning: Get_Myspace_Header(): 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 'Europe/london' for '1.0/DST' instead in C:\wamp\www\mysuiciders\suicider script.php on line 178 Quote Link to comment Share on other sites More sharing options...
JasonS92 Posted April 26, 2010 Author Share Posted April 26, 2010 Any ideas on how i can fix this? Much appreciated. Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted April 26, 2010 Share Posted April 26, 2010 Yes, read the error message and set the timezone using one of the methods that it went to the trouble of telling you to use. Quote Link to comment Share on other sites More sharing options...
JasonS92 Posted April 26, 2010 Author Share Posted April 26, 2010 Line #178 is this: $ch=curl_init(); Sorry about this, im really so stupid Quote Link to comment Share on other sites More sharing options...
JasonS92 Posted April 26, 2010 Author Share Posted April 26, 2010 on line 178 it says $ch=curl_init(); but then in the error it says to use the default time zone function. I changed that line to date_default_timezone_set('Europe/London'); And still nothing, Could you help me on this? i would MUCH appreciate it, thankyou, Jason. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.