Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Renew free Ads after expiration

Renew free Ads after expiration 4 years 7 months ago #4998

Hi,

I could find code in 2 files in models directory and add mention code after, but couldn't find the code in payments. php in ect folder.

Now when i want to renew add this message appears:

Error: 1054
Unknown column 'creeateddate' in 'field list' SQL=UPDATE s9g_jomcl_adverts SET isnew=0, renew=0, expired=0, published=1 ,membership=2 ,expirydate='2015-03-08 11:29:54' ,updateddate='2015-03-07 05:20:12' ,creeateddate='2015-03-07 05:20:12' WHERE id=23

Thank you
The administrator has disabled public write access.

Renew free Ads after expiration 4 years 7 months ago #5001

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 3010
  • Thank you received: 350
  • Karma: 46
Sorry for the inconvenience in payments.php (etc folder) , please search the below code,
$where[] = "updateddate=" . $db->quote( $nowDate );

and add the following code after the above line,
$where[] = "createddate=" . $db->quote( $nowDate );

Also earlier in my post, there is a spelling mistake. Kindly change the "creeateddate" to "createddate"

Hope this help you.

Thanks.
The administrator has disabled public write access.

Renew free Ads after expiration 4 years 7 months ago #5005

Hi,

Thank you. It's working now :cheer:
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.149 seconds

Contact us

  No.2/A, Venkateshwara Nagar,
1st Main Road, 100 Feet Road, SBM Towers, Velachery,Chennai - 600 042,India.
 admin@jomclassifieds.com
 skype.jomclassifieds
 
 
Copyright © 2013-2019 Jomclassifieds.com. All rights reserved. The Joomla! name, and logo are used under a limited license granted in the United States and other countries.