Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4260
Latest: Verrick
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 43307
Total Topics: 7525
Most Online Today: 310
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 210
Total: 210

Author Topic: just errors  (Read 12097 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: 16457
    • 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: 16457
    • 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: 16457
    • 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
4486 Views
Last post January 28, 2007, 10:48:06 am
by SMFHacks
errors

Started by filipina Support

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

Started by mickjav Support

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

+- Recent Topics

Attachment images Upsidedown or Sideways by donk
Today at 12:57:32 am

“Insert from Gallery” by donk
June 10, 2024, 01:26:57 pm

Pretty Urls extras by SMFHacks
May 13, 2024, 10:28:54 am

Mod question by Verrick
May 11, 2024, 02:42:50 pm

i have paid but cant download ad pro. by SMFHacks
May 02, 2024, 11:29:38 pm

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

Powered by EzPortal