Welcome, Guest
Username: Password: Remember me

TOPIC: Promotion expired, but it is still shown as top ad

Promotion expired, but it is still shown as top ad 2 years 2 months ago #3988

  • Alexba
  • Alexba's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 1
  • Karma: 0
Hi,

In the admin backend I see that promotion date is in the past now. I see the YELLOW STAR (FEATURED AD) next to it.

And the ad is still shown as Top/Featured Ads. :oops:

How can I fix this?

Regards,
Alex
The administrator has disabled public write access.

Promotion expired, but it is still shown as top ad 2 years 2 months ago #3991

  • Super User
  • Super User's Avatar
  • Online
  • Administrator
  • Posts: 2760
  • Thank you received: 292
  • Karma: 40
Dear customer,

Are you using any online CRON services. If yes, you should select "Yes" in the "Cron activated ?" field in your Jomclassifieds Configuration. Else you need to select "No" in that field.

If still you have issues,

Kindly send the below details. So that we will check and fix it.

1. Your site URL.
2. Joomla admin username and password.
3. Your site FTP details.

Thanks.
The administrator has disabled public write access.

Promotion expired, but it is still shown as top ad 2 years 2 months ago #3993

  • Alexba
  • Alexba's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 1
  • Karma: 0
Hi, Thanks for your reply. I had "cron activated" YES and my cronjob entry was:
http://mysite.com.au/index.php?option=com_jomclassifieds&task=cron

For testing, I have set the "cron activated" to NO and accessed the classifieds page. It processed the expired promotions! :) Apprently "cron" is the preferred option as we do not want to process those entries every time someone accesses the classifieds module.

It looks like the cronjob cannot run the HTTP request directly.

Setting the cron tab to the following fixed the issue. Running it once every 10 minutes should be sufficient enough:

wget -qO /dev/null "http://mysite.com/index.php?option=com_jomclassifieds&task=cron"
:woohoo:
The administrator has disabled public write access.
Time to create page: 0.196 seconds