JContentSubscription — Pay and Read Content Component

Attention!!! We are working from Monday till Friday, any time from 9:00 AM till 6:00 PM (+6 GMT) or, from 4:00 PM till 1:00 AM (EST). During weekends nobody from support team can answer topics.

News Joomla Components arrow Forum
  LoudMouth Board
  General
   Support Desk
    JCS: Unable to update Start and Expirey dates in Edit User Subscription
     Viewing Reply
JCS: Unable to update Start and Expirey dates in Edit User Subscription
I am unable to edit the Start and Expiry Dates in User Subscriptions.

Whenever I update the dates, and hit Update or Save, the fields get filled with zeroes and database doesn't get updated.

Navigator
Re: JCS: Unable to update Start and Expirey dates in Edit User Subscription
 
Thursday, 29 May 2008
Hello triresources,


Thank you for sharing us solution, this is almost the same we did for customers with this issue, what is strange that this happened not for all servers, so I am presume this could be some server configuration. Anyway will inform head developer of component so he do apropriate changes.
The exactly what we have to do is small hack:
File:\administrator\components\com_jcs\admin.jcs.php
Lines: 120, 121
$ctime  = mosGetParam( $_REQUEST, 'ctime', 0);
$extime = mosGetParam( $_REQUEST, 'extime', 0);
Changed to:
$ctime  = $_REQUEST['ctime'];
$extime = $_REQUEST['extime'];
Please be careful before applying this hack be sure that subscriptions are zeroing.

PS. I also I guess the hack suggested by triresources, more relevant so anyone having this trouble could use either that solution. Anyway developer did informed and I do think this will be fixed.


Thank you.
Last Updated ( Tuesday, 10 June 2008 )
Read more...
< Prev Next >
Address: Joomla Equipment, Box 1951, Bishkek, 720000, Kyrgyzstan
Telephones: Office: +996 312 68-91-34, Mobile: +996 543 91-81-42
More contacts...