close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Not sending in a CRON job

Thread began 6/04/2011 2:24 pm by Paul | Last modified 6/07/2011 11:24 am by Jason Byrnes | 1838 views | 5 replies |

PaulBeta Tester

Not sending in a CRON job

I have a cron job setup to execute my page 'auto-mail.php'

The page comprises of a recordset to pull my users and UE4 uses this to generate the mail and send if its not empty. Simple enough

When I load this pagemanually from the browser, id expect it to run, but it doesn't.

I added a dynamic table to display the recordset result - the email recipients and that doesn't run, so i just added some text in the body and that text doesn't display either.

All i get is a blank page with no errors.
Very odd.

any ideas?
zip attached.

Paul

Attached Files
auto-mail.zip
Sign in to reply to this post

Jason ByrnesWebAssist

If a page displays blank in the browser, it means there is an error on the page but error reporting is turned off.

add the following code at line 1 to turn error reporting on:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>





one problem I see in the code is that the Go to page is set to redirect back to itself. that means that if it does end the email out, it going to redirect back to itself afterwards, which will trigger the email to be sent again.

That redirect will send the page into an endless loop.

Sign in to reply to this post

PaulBeta Tester

Thanks for response Jason.

Code added and file attached containing page output

I also changed the gotopage to my index.php

Paul

Attached Files
output.txt
Sign in to reply to this post

Jason ByrnesWebAssist

please send a copy of the webassist/email/waue_mail_1.php and webassist/email/templates/Block.php pages.

Sign in to reply to this post

PaulBeta Tester

Files attached

Attached Files
Block.zip
waue_mail_1.zip
Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...