When you go to subscription manager in admincp. If you have a 30 year subscription (set up in 2007) and then when it goes to 2008, that 30 year subscription now wants to make it go to the year 2038. that causes the below error when you press, add new user.
found the problem
You can only currently set a max time of 29 years for your subscription. if you have 30 years, you will get the above error and will not be able to add people to the subscription.
I guess the max year it will currently add to is 2037
Kind of like the Y2K bug lol
however I want to make the subscriptions longer then 29 years, I want to make it look like a lifetime license.
any ideas how to fix this?
I am using:
Apache v2.2.6
PHP 5.2.4
MySQL Version 5.0.45-community
Also tested with:
LiteSpeed
PHP 5.2.5
MySQL Version 5.0.45-community
vbulletin: 3.6.8 pl2 latest
ps. dont bother asking me to upload all original files, and disabling plugins. already done.
Thanks.
Fatal error: strtotime returned an invalid value, upgrade PHP to at least 5.1.2 in /includes/class_paid_subscription.php on line 155
#0 vb_error_handler(256, strtotime returned an invalid value, upgrade PHP to at least 5.1.2, /home/gamerzne/public_html/forums/includes/class_paid_subscription.php, 155, Array ([regdate] => 1200877225,[length] => 30,[units] => Y,[units_full] => Array ([D] => day,[W] => week,[M] => month,[Y] => year),[formatted] => 20 January 2008 19:00,[time] => )) called at [(null):0] #1 trigger_error(strtotime returned an invalid value, upgrade PHP to at least 5.1.2, 256) called at [/home/gamerzne/public_html/forums/includes/class_paid_subscription.php:155] #2 vB_PaidSubscription->fetch_proper_expirydate(1200877225, 30, Y) called at [/home/gamerzne/public_html/forums/samsung/subscriptions.php:719] #3 require(/home/gamerzne/public_html/forums/samsung/subscriptions.php) called at [/home/gamerzne/public_html/forums/vbseo.php:1129]
#0 vb_error_handler(256, strtotime returned an invalid value, upgrade PHP to at least 5.1.2, /home/gamerzne/public_html/forums/includes/class_paid_subscription.php, 155, Array ([regdate] => 1200877225,[length] => 30,[units] => Y,[units_full] => Array ([D] => day,[W] => week,[M] => month,[Y] => year),[formatted] => 20 January 2008 19:00,[time] => )) called at [(null):0] #1 trigger_error(strtotime returned an invalid value, upgrade PHP to at least 5.1.2, 256) called at [/home/gamerzne/public_html/forums/includes/class_paid_subscription.php:155] #2 vB_PaidSubscription->fetch_proper_expirydate(1200877225, 30, Y) called at [/home/gamerzne/public_html/forums/samsung/subscriptions.php:719] #3 require(/home/gamerzne/public_html/forums/samsung/subscriptions.php) called at [/home/gamerzne/public_html/forums/vbseo.php:1129]
You can only currently set a max time of 29 years for your subscription. if you have 30 years, you will get the above error and will not be able to add people to the subscription.
I guess the max year it will currently add to is 2037
Kind of like the Y2K bug lol
however I want to make the subscriptions longer then 29 years, I want to make it look like a lifetime license.
any ideas how to fix this?
I am using:
Apache v2.2.6
PHP 5.2.4
MySQL Version 5.0.45-community
Also tested with:
LiteSpeed
PHP 5.2.5
MySQL Version 5.0.45-community
vbulletin: 3.6.8 pl2 latest
ps. dont bother asking me to upload all original files, and disabling plugins. already done.
Thanks.
Comment