arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post4VPS Post Counter Script
@TrK, @Dynamo and @"Hidden Refuge" Thanks helping me regarding issue with PiratesHosting's post counter script.

I have found the error when i tried fresh script downloading from HMR's github.

Error is:
Quote:[30-Oct-2018 12:07:49 UTC] PHP Warning:  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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/pirates/public_html/forum/postcounter/MyBBPostCounter-master/img.php on line 79

Line #79 code on img.php is:
if (substr($post->plaintext, 0, 3) === 'Yes' or substr($post->plaintext, 0, 3) === 'Tod' or substr($post->plaintext, 0, 3) === 'Les' or substr($post->plaintext, 3, 3) === 'min' or substr($post->plaintext, 2, 3) === 'min' or substr($post->plaintext, 2, 3) === 'hou' or substr($post->plaintext, 3, 3) === 'hou' or substr($post->plaintext, 0, 3) === date("m-") && substr($post->plaintext, 5, 5) === date("-Y")) {
                    $numberofpoststhismonth++;
         }

What's the problem in line #79 ? it fresh's script code i didn't even touch anything except changing mybb forum url changing.
Terminal
Best Regards,
Global Moderator of Post4VPS 

lockThread Closed 


Messages In This Thread
Post4VPS Post Counter Script - by Dynamo - 06-03-2016, 06:32 AM
RE: Post4VPS Post Counter Script - by GodFather - 06-03-2016, 07:18 AM
RE: Post4VPS Post Counter Script - by Conan - 06-03-2016, 07:47 AM
RE: Post4VPS Post Counter Script - by Dynamo - 06-03-2016, 09:21 AM
RE: Post4VPS Post Counter Script - by Dynamo - 06-04-2016, 10:27 AM
RE: Post4VPS Post Counter Script - by Unixfy - 06-04-2016, 10:57 PM
RE: Post4VPS Post Counter Script - by Dudi - 06-05-2016, 09:14 AM
RE: Post4VPS Post Counter Script - by Dynamo - 06-05-2016, 11:25 AM
RE: Post4VPS Post Counter Script - by Unixfy - 06-05-2016, 02:12 PM
RE: Post4VPS Post Counter Script - by Vuluts - 06-06-2016, 04:47 AM
RE: Post4VPS Post Counter Script - by Conan - 06-06-2016, 12:23 PM
RE: Post4VPS Post Counter Script - by Dynamo - 06-06-2016, 01:14 PM
RE: Post4VPS Post Counter Script - by TrK - 06-06-2016, 02:53 PM
RE: Post4VPS Post Counter Script - by Unixfy - 06-06-2016, 07:37 PM
RE: Post4VPS Post Counter Script - by Conan - 06-07-2016, 09:36 AM
RE: Post4VPS Post Counter Script - by Dynamo - 06-07-2016, 10:19 AM
RE: Post4VPS Post Counter Script - by Conan - 06-07-2016, 11:09 AM
RE: Post4VPS Post Counter Script - by Dynamo - 06-07-2016, 11:37 AM
RE: Post4VPS Post Counter Script - by Conan - 06-07-2016, 02:30 PM
RE: Post4VPS Post Counter Script - by Dynamo - 06-07-2016, 02:58 PM
RE: Post4VPS Post Counter Script - by TrK - 06-07-2016, 04:48 PM
RE: Post4VPS Post Counter Script - by Dynamo - 06-07-2016, 05:27 PM
RE: Post4VPS Post Counter Script - by meetdilip - 06-08-2016, 03:36 AM
RE: Post4VPS Post Counter Script - by Conan - 06-26-2016, 10:53 AM
RE: Post4VPS Post Counter Script - by Anik - 07-05-2016, 11:11 AM
RE: Post4VPS Post Counter Script - by perry - 07-05-2016, 01:35 PM
RE: Post4VPS Post Counter Script - by Anik - 07-05-2016, 01:37 PM
RE: Post4VPS Post Counter Script - by Anik - 07-06-2016, 05:53 AM
RE: Post4VPS Post Counter Script - by Dynamo - 08-02-2016, 12:39 PM
RE: Post4VPS Post Counter Script - by meetdilip - 08-02-2016, 03:42 PM
RE: Post4VPS Post Counter Script - by Vuluts - 08-02-2016, 04:17 PM
RE: Post4VPS Post Counter Script - by meetdilip - 08-03-2016, 03:40 AM
RE: Post4VPS Post Counter Script - by TrK - 08-03-2016, 03:55 AM
RE: Post4VPS Post Counter Script - by Anik - 08-04-2016, 04:59 PM
RE: Post4VPS Post Counter Script - by Vuluts - 08-05-2016, 05:22 AM
RE: Post4VPS Post Counter Script - by RickB - 08-11-2016, 05:31 PM
RE: Post4VPS Post Counter Script - by Conan - 08-12-2016, 12:20 PM
RE: Post4VPS Post Counter Script - by RickB - 08-13-2016, 09:08 PM
RE: Post4VPS Post Counter Script - by Anik - 08-24-2016, 11:13 AM
RE: Post4VPS Post Counter Script - by RickB - 08-24-2016, 11:34 AM
RE: Post4VPS Post Counter Script - by RickB - 08-24-2016, 12:06 PM
RE: Post4VPS Post Counter Script - by meetdilip - 08-28-2016, 08:19 PM
RE: Post4VPS Post Counter Script - by RickB - 08-28-2016, 08:24 PM
RE: Post4VPS Post Counter Script - by TrK - 08-25-2016, 04:05 PM
RE: Post4VPS Post Counter Script - by RickB - 08-25-2016, 09:03 PM
RE: Post4VPS Post Counter Script - by TrK - 08-26-2016, 03:23 AM
RE: Post4VPS Post Counter Script - by RickB - 08-26-2016, 06:56 PM
RE: Post4VPS Post Counter Script - by TrK - 08-31-2016, 02:35 PM
RE: Post4VPS Post Counter Script - by meetdilip - 08-31-2016, 07:53 PM
RE: Post4VPS Post Counter Script - by TrK - 09-01-2016, 03:38 AM
RE: Post4VPS Post Counter Script - by meetdilip - 09-01-2016, 03:47 AM
RE: Post4VPS Post Counter Script - by Anik - 09-01-2016, 05:19 AM
RE: Post4VPS Post Counter Script - by TrK - 09-01-2016, 04:39 PM
RE: Post4VPS Post Counter Script - by meetdilip - 09-01-2016, 06:04 PM
RE: Post4VPS Post Counter Script - by Vuluts - 09-02-2016, 10:54 AM
RE: Post4VPS Post Counter Script - by Dynamo - 11-01-2016, 03:57 PM
RE: Post4VPS Post Counter Script - by hazeaj - 11-03-2016, 02:43 PM
RE: Post4VPS Post Counter Script - by meetdilip - 11-01-2016, 04:47 PM
RE: Post4VPS Post Counter Script - by Vuluts - 11-01-2016, 05:24 PM
RE: Post4VPS Post Counter Script - by Dynamo - 11-03-2016, 03:23 PM
RE: Post4VPS Post Counter Script - by RickB - 11-03-2016, 05:38 PM
RE: Post4VPS Post Counter Script - by TrK - 11-04-2016, 05:33 AM
RE: Post4VPS Post Counter Script - by Conan - 12-04-2016, 03:14 PM
RE: Post4VPS Post Counter Script - by Vuluts - 01-18-2017, 05:54 PM
RE: Post4VPS Post Counter Script - by Dynamo - 01-18-2017, 06:01 PM
RE: Post4VPS Post Counter Script - by Vuluts - 01-18-2017, 07:25 PM
RE: Post4VPS Post Counter Script - by xdude - 01-19-2017, 03:06 AM
RE: Post4VPS Post Counter Script - by Anik - 01-19-2017, 05:46 AM
RE: Post4VPS Post Counter Script - by kek - 01-19-2017, 09:14 AM
RE: Post4VPS Post Counter Script - by Dudi - 01-19-2017, 01:44 PM
RE: Post4VPS Post Counter Script - by Honey - 01-19-2017, 04:37 PM
RE: Post4VPS Post Counter Script - by YOuNeS_Dz - 01-20-2017, 07:43 AM
RE: Post4VPS Post Counter Script - by Anik - 01-21-2017, 12:39 PM
RE: Post4VPS Post Counter Script - by Arkiven4 - 03-01-2017, 01:13 AM
RE: Post4VPS Post Counter Script - by humanpuff69 - 04-25-2017, 02:37 PM
RE: Post4VPS Post Counter Script - by YOuNeS_Dz - 04-25-2017, 04:38 PM
RE: Post4VPS Post Counter Script - by Hawkz - 04-25-2017, 05:42 PM
RE: Post4VPS Post Counter Script - by meetdilip - 05-02-2017, 02:35 PM
RE: Post4VPS Post Counter Script - by LazzyBoy - 05-02-2017, 08:55 PM
RE: Post4VPS Post Counter Script - by humanpuff69 - 05-03-2017, 08:22 AM
RE: Post4VPS Post Counter Script - by meetdilip - 05-03-2017, 04:59 PM
RE: Post4VPS Post Counter Script - by Decent12 - 05-03-2017, 09:14 PM
RE: Post4VPS Post Counter Script - by humanpuff69 - 05-04-2017, 01:50 PM
RE: Post4VPS Post Counter Script - by Dynamo - 06-18-2017, 11:07 AM
RE: Post4VPS Post Counter Script - by OldMeister - 06-18-2017, 02:46 PM
RE: Post4VPS Post Counter Script - by Hawkz - 06-18-2017, 02:52 PM
RE: Post4VPS Post Counter Script - by Dynamo - 06-18-2017, 02:54 PM
RE: Post4VPS Post Counter Script - by xdude - 06-18-2017, 03:42 PM
RE: Post4VPS Post Counter Script - by kabir145 - 06-30-2017, 06:39 PM
RE: Post4VPS Post Counter Script - by humanpuff69 - 07-01-2017, 12:55 AM
RE: Post4VPS Post Counter Script - by Dynamo - 07-01-2017, 06:29 AM
RE: Post4VPS Post Counter Script - by perry - 11-01-2017, 03:17 PM
RE: Post4VPS Post Counter Script - by TrK - 11-01-2017, 03:41 PM
RE: Post4VPS Post Counter Script - by TrK - 11-01-2017, 03:55 PM
RE: Post4VPS Post Counter Script - by perry - 11-01-2017, 07:34 PM
RE: Post4VPS Post Counter Script - by TrK - 11-02-2017, 02:54 AM
RE: Post4VPS Post Counter Script - by Vuluts - 11-07-2017, 12:08 PM
RE: Post4VPS Post Counter Script - by Dynamo - 02-23-2018, 06:20 PM
RE: Post4VPS Post Counter Script - by Dynamo - 02-28-2018, 05:59 AM
RE: Post4VPS Post Counter Script - by kabir145 - 02-28-2018, 04:27 PM
RE: Post4VPS Post Counter Script - by Dynamo - 02-28-2018, 04:43 PM
RE: Post4VPS Post Counter Script - by Dudi - 02-28-2018, 06:28 PM
RE: Post4VPS Post Counter Script - by YOuNeS_Dz - 03-01-2018, 02:34 PM
RE: Post4VPS Post Counter Script - by YOuNeS_Dz - 03-01-2018, 05:55 PM
RE: Post4VPS Post Counter Script - by tiwil - 03-02-2018, 12:04 AM
RE: Post4VPS Post Counter Script - by Vuluts - 03-06-2018, 01:58 PM
RE: Post4VPS Post Counter Script - by TimeRider - 03-06-2018, 04:10 PM
RE: Post4VPS Post Counter Script - by Vuluts - 03-06-2018, 04:41 PM
RE: Post4VPS Post Counter Script - by deanhills - 03-08-2018, 09:43 PM
RE: Post4VPS Post Counter Script - by sagher - 03-09-2018, 04:39 AM
RE: Post4VPS Post Counter Script - by Vuluts - 03-09-2018, 11:01 AM
RE: Post4VPS Post Counter Script - by deanhills - 03-09-2018, 10:34 PM
RE: Post4VPS Post Counter Script - by tryp4vps - 03-23-2018, 06:53 AM
RE: Post4VPS Post Counter Script - by sagher - 03-24-2018, 05:44 AM
RE: Post4VPS Post Counter Script - by TrK - 03-24-2018, 10:34 AM
RE: Post4VPS Post Counter Script - by deanhills - 05-03-2018, 07:36 PM
RE: Post4VPS Post Counter Script - by Golden - 07-25-2018, 07:33 AM
RE: Post4VPS Post Counter Script - by arsalahmed786 - 10-30-2018, 04:30 PM
RE: Post4VPS Post Counter Script - by coreyman - 10-30-2018, 04:51 PM
RE: Post4VPS Post Counter Script - by deanhills - 02-20-2019, 04:49 PM

Possibly Related Threads…
Thread
Author
Replies
Views
Last Post
2,579
08-22-2019, 05:41 PM
Last Post: Mashiro

person_pin_circle Users browsing this thread: 2 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting