Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4274
Latest: kellanphil
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43645
Total Topics: 7572
Most Online Today: 129
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 57
Total: 57

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

Started by filipina Support

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

Started by mickjav Support

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

+- Recent Topics

Ability to exclude categories from ezPortal SMF Gallery random image ezblock by Alistair
Today at 08:20:13 am

How to move SMF to new server by SMFHacks
January 21, 2025, 08:45:53 pm

Figuring out settings by SMFHacks
January 12, 2025, 04:56:14 pm

Filesizes incorrect by SMFHacks
January 12, 2025, 02:02:47 pm

December 2024 Sale! by SMFHacks
December 02, 2024, 10:30:38 pm

Denying members some admin settings by rickk
November 17, 2024, 12:02:55 pm

Weird setup by SMFHacks
November 07, 2024, 06:37:41 am

Restoring a deleted photo by Monocero
November 01, 2024, 04:23:56 am

Gallery Pro reinstalation by Lirorobert
October 14, 2024, 01:43:43 am

Move picture from main gallery to user gallery by SMFHacks
October 11, 2024, 09:11:00 pm

Powered by EzPortal