Facebook 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4291
Latest: Robertqt
New This Month: 5
New This Week: 0
New Today: 0
Stats
Total Posts: 43744
Total Topics: 7590
Most Online Today: 83
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 80
Total: 81

Author Topic: just errors  (Read 12263 times)

0 Members and 1 Guest are viewing this topic.

Offline Marcel

  • Member
  • *
  • Posts: 18
    • View Profile
just errors
« on: August 14, 2011, 11:11:19 pm »
I am just trying to run my first newsletter, set up a cron job and I get the email notification from the server below:

/home2/......../www/forum/newscron2.php: line 1: ?php: No such file or directory
/home2/......../www/forum/newscron2.php: line 2: syntax error near unexpected token `"display_errors",1'
/home2/......../www/forum/newscron2.php: line 2: `ini_set("display_errors",1);'

no e-mails sent - any ideas?

Much appreciate your help!

SMF 2.0 / Newsletter Pro 2.07

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16653
    • View Profile
Re: just errors
« Reply #1 on: August 14, 2011, 11:23:16 pm »
You need to either do
wget http://www.yoursite.com/newscron2.php

Or do a php command line called to excute that php script
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Marcel

  • Member
  • *
  • Posts: 18
    • View Profile
Re: just errors
« Reply #2 on: August 15, 2011, 12:11:08 am »
Quote
Or do a php command line called to excute that php script

How do I do that??

trying out
Quote
wget http://www.yoursite.com/newscron2.php

results in:

Resolving www.xxxxxxxx.org... 67.20.xx.xx Connecting to www.xxxxxxxx.org|67.20.xx.xx|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2011-08-14 23:14:01 ERROR 500: Internal Server Error.
« Last Edit: August 15, 2011, 12:16:39 am by Marcel »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16653
    • View Profile
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Marcel

  • Member
  • *
  • Posts: 18
    • View Profile
Re: just errors
« Reply #4 on: August 15, 2011, 12:19:30 am »
sorry I modified my post by the time you replied....

I think the first option might be easier to achieve since I am already half way there...

Any idea why I get the 500 error?

Thanks & I really appreciate your help!

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16653
    • View Profile
Re: just errors
« Reply #5 on: August 15, 2011, 12:22:45 am »
Change permissions on the newscron2.php to 755
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Marcel

  • Member
  • *
  • Posts: 18
    • View Profile
Re: just errors
« Reply #6 on: August 15, 2011, 12:27:12 am »
Done!
Thanks plenty for your help!

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
4628 Views
Last post January 28, 2007, 10:48:06 am
by SMFHacks
errors

Started by filipina Support

1 Replies
3685 Views
Last post June 18, 2007, 06:42:22 pm
by SMFHacks
4 Replies
15180 Views
Last post December 04, 2007, 09:27:54 pm
by SMFHacks
2 Errors

Started by mickjav Support

2 Replies
8760 Views
Last post March 07, 2022, 11:31:59 am
by mickjav
1 Replies
894 Views
Last post March 13, 2022, 07:20:50 pm
by SMFHacks

+- Recent Topics

Downloading with Zero Credits? by SMFHacks
March 23, 2025, 01:40:50 pm

Some minor Layout modifications by Senkusha
March 22, 2025, 06:30:31 pm

Uploading Bulk files to a Category? by SMFHacks
March 21, 2025, 08:26:01 pm

Mod for compare gallery.text with board.text by SMFHacks
March 21, 2025, 05:52:46 pm

ST Shop integration by Senkusha
March 18, 2025, 07:33:13 pm

Contact Us by SMFHacks
March 16, 2025, 07:49:23 pm

HTTP 500 error during install by SMFHacks
March 13, 2025, 10:44:31 am

Site upgrade to 2.1 by SMFHacks
March 12, 2025, 09:29:43 pm

[Mod]WebP and AVIF File Support for SMF 2.1 by SMFHacks
March 10, 2025, 04:32:57 pm

Pretty URL's Pro support/help by [chrisB]
March 03, 2025, 10:18:09 am

Powered by EzPortal