HELP!! Also, I've gotten similarly weird errors when trying to add in things like echo "test"; or even just phpinfo(); php linux cron share|improve this question asked Feb 7 '11 at 22:59 What is this strange biplane jet aircraft with tanks between wings? The command for installing php5 is sudo apt-get install php5 ... Source
Register FAQ/Rules My SitePoint Forum Actions Mark Forums Read Quick Links View Forum Leaders Remember Me? Secret salts; why do they slow down attacker more than they do me? default override of virtual destructor Is it a coincidence that the first 4 bytes of a PGP/GPG file are ellipsis, smile, female sign and a heart? Join them; it only takes a minute: Sign up -bash: syntax error near unexpected token `newline' up vote 19 down vote favorite 8 To reset the admin password from SolusVM have
Any ideas on what might be causing this? Running wp --info afterwards just gave the error: /usr/bin/wp: line 6: syntax error near unexpected token `newline' I've since put it back to the system version of PHP and it's still Thanks Quick Navigation PHP Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums Community Center News & Announcements General Discussions Introductions Talk With The Experts Website Unexpected Token Newline Python By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features.
Browse other questions tagged php cron or ask your own question. Syntax Error Near Unexpected Token Newline' Doctype Html ' the sum of consecutive odd numbers What mechanical effects would the common cold have? asked 5 years ago viewed 1589 times active 1 year ago Linked 17 Executing php with crontab Related 2738Reference - What does this symbol mean in PHP?1PHP Cronjob does not execute0Periodic Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the
Adv Reply April 1st, 2015 #6 sandyd View Profile View Forum Posts Private Message 0-8-4 Join Date Nov 2008 Location S.H.I.E.L.D. 6-1-6 BeansHidden! Syntax Error Near Unexpected Token Newline Html A quick way to see the start of the file: head $(which wp) scribu added the question label Feb 4, 2014 voltronik commented Feb 4, 2014 Thanks for the quick reply. Not the answer you're looking for? asked 5 years ago viewed 68850 times active 5 years ago Related 857Echo newline in Bash prints literal \n0Ubuntu BASH syntax error near unexpected token0Syntax error near unexpected token “(”, indirect
Why would a NES game use an undocumented 1-byte or 2-byte NOP in production? How to reward good players, in order to teach other players by example Does enlarging a character with a reach weapon affect his threat range? Syntax Error Near Unexpected Token Newline' Bash What are some counter-intuitive results in mathematics that involve only finite objects? Syntax Error Near Unexpected Token `newline' Xml Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community.
Our lives teach us who we are. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Me - Photo Blog - Personal Blog - Dev Blog iG:Syntax Hiliter -- Colourize your code in WordPress!! this contact form Got the following out put: $ ./FirstPHP.php ./FirstPHP.php: line 1: syntax error near unexpected token `newline' ./FirstPHP.php: line 1: `' Why am I getting a syntax error? I had the same error on cron jobs then I've created cron like someone visit my site, I added this line in the command: wget http://www.mywebsite.com/xml/Cron.php > /dev/null Change the address Oct 25, 2005,03:48 #3 karnetics View Profile View Forum Posts SitePoint Zealot Join Date Dec 2004 Location USA Posts 179 Mentioned 0 Post(s) Tagged 0 Thread(s) Originally Posted by asp_funda you've Syntax Error Near Unexpected Token Newline' Mac
how to match everything between a string and before next space Deep theorem with trivial proof Can a creature with 0 power attack? Here is my setup */2 **** /home/karnar/www/counter/count_down.php> I get the following error /bin/sh: -c: line 0: syntax error near unexpected token `newline' /bin/sh: -c: line 0: `/home/karnetic/www/counter/count_down.php> Can anyone help a I found the Submitted by Raydon on Fri, 2010-04-09 16:44. http://netlookmag.com/syntax-error/syntax-error-near-unexpected-token-bash-function.html Do your thing, and don't care if they like it.
I have added a screen shot. Xml Line 1 Syntax Error Near Unexpected Token Newline' DistroUbuntu Development Release Re: syntax error near unexpected token newline