Auto reminder issue

  • andyhowie
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 3 months ago #12805 by andyhowie
Auto reminder issue was created by andyhowie
I am trying to run the eb_auto_reminder.php from a cron but I keep getting the below error:

*****
Status: 301 Moved Permanently
Set-Cookie: 900acc0145740d005dc5761874154161=d5e9bbda835773cbf764bca512530c5d; path=/
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
Location:
Content-type: text/html
******

I am running sh404sef on the site and I thought it might have to do with that but turning it off did not seem to have an effect. Any quick help would be appreciated.

Please Log in or Create an account to join the conversation.

  • andyhowie
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 3 months ago #12821 by andyhowie
Replied by andyhowie on topic Re: Auto reminder issue
The problem appears to be in eb_auto_reminder.php

the line is: require_once dirname(__FILE__).'/index.php';

If I comment this line out the 310 error goes away but of course the reminders do not run either.

Please Log in or Create an account to join the conversation.

More
14 years 3 months ago #12829 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Auto reminder issue
Hi

That's strange. Can you please try to access to the file directly ? yoursiteurl.com/eb_reminder.php to see what it says ?

Tuan

Please Log in or Create an account to join the conversation.

  • andyhowie
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 3 months ago #12850 by andyhowie
Replied by andyhowie on topic Re: Auto reminder issue
It redirects back to www.mysite.org without any index.php at the end.

I think what is happening is that the sh404sef/htaccess file is redirecting index.php so it cannot be required in your code.

Maybe there is another way to call the joomla and event booking setup code?

Please Log in or Create an account to join the conversation.

More
13 years 9 months ago #16268 by viv
Replied by viv on topic Re: Auto reminder issue
I've got the same error happening after running the cron.

How was this resolved please?

Viv

Please Log in or Create an account to join the conversation.

More
13 years 9 months ago #16333 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Auto reminder issue
@viv : What version of the extension you are using ? In the latest version (1.4.4), we don't have to use cron job anymore. Just install and publish the EB Reminder plugin (the file plug_ebreminder.zip in the package) and It will work well. No need for setting up cron jobs anymore.

Regards,

Tuan
The following user(s) said Thank You: viv

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #39279 by Joe Hill
Replied by Joe Hill on topic Re: Auto reminder issue
If that the case with newer versions? We don't need to setup a cron job ever? I am running 1.5.3. the reminders just automatically go out? Can you tell me when they would go, how often is a cycle done?

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #39282 by Joe Hill
Replied by Joe Hill on topic Re: Auto reminder issue
I did some digging and see that you have a plug-in now that does this. I installed it and it is working.

One question - I used [REGISTRATION_DETAIL] and it didn't expand in the detail of the reservation in the reminder email. I want to show the number of guests registered in the group. Is it possible to show that (#Registrants)?

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #52333 by Mtspinto
Replied by Mtspinto on topic Re: Auto reminder issue
Hi there

I have version 1.6 for joomla 3

The auto reminder no longer works - I found an old post that says I can use an "eb_auto_reminder.php" file in root and then create a cron job on the server to run the updates

I have set it to 10am every day and to send me an email

1st attempt
/usr/local/cpanel/bin/jailshell: /home/wor002/public_html/eb_auto_reminder.php: Permission denied
changed CHMODS to 777

2nd attempt
/home/wor002/public_html/eb_auto_reminder.php: line 1: ?php: No such file or directory
/home/wor002/public_html/eb_auto_reminder.php: line 2: [option]: command not found
/home/wor002/public_html/eb_auto_reminder.php: line 3: [task]: command not found
/home/wor002/public_html/eb_auto_reminder.php: line 4: syntax error near unexpected token `('
/home/wor002/public_html/eb_auto_reminder.php: line 4: ` require_once dirname(__FILE__).'/index.php'; '
removed front forward slash

3rd attempt
/home/wor002/public_html/eb_auto_reminder.php: line 1: ?php: No such file or directory
/home/wor002/public_html/eb_auto_reminder.php: line 2: [option]: command not found
/home/wor002/public_html/eb_auto_reminder.php: line 3: [task]: command not found
/home/wor002/public_html/eb_auto_reminder.php: line 4: syntax error near unexpected token `('
/home/wor002/public_html/eb_auto_reminder.php: line 4: ` require_once dirname(__FILE__).'index.php'; '


4th attempt
Status: 500 Internal Server Error
X-Powered-By: PHP/5.4.29
Content-type: text/html

I have an htaccess file that removes index.php from the URL

RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_URI} !^/index\.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L]

Is there a way around this issue - we need the responder to work - it's a new problem and the server has not been upgraded

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #52366 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Auto reminder issue
Hi

Could you please submit a support ticket sending us super admin account of your site so that I can check to see which version you are using and then I can guide you to setup cron job ?

In the new version, the cron job just need to be setup to call an url, not run a file anymore. We will discuss more details when I see your ticket

Tuan
The following user(s) said Thank You: Mtspinto

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc