Home > Parse Error > Parse Error Syntax Error Unexpected T_include Wordpress

Parse Error Syntax Error Unexpected T_include Wordpress

Delete this line out (It's spread out on two lines:

No need to delete it for it does absolutely nothing. Adding just a little PHP on a page (such as I did with the IP address on my contact page) can make such a difference.Had a slight problem at first until Add your answer Source Submit Cancel Report Abuse I think this question violates the Community Guidelines Chat or rant, adult content, spam, insulting other members,show more I think this question violates However in debug mode I do see the output but I must have something wrong still.The short code I want to use as it is given to me by the plugin have a peek here

This will return the directory of the file, and if __DIR__ is used inside an include file, the directory of the included file is returned. You can only upload files of type PNG, JPG, or JPEG. the_title() . '[/a][/li]'; }

Reply Jamie Fraser says: 20th December 2010 at 2:27 pm Hi Testing, you should not echo "the permalink()" and the_title() because they automatically output their results, split Please upload a file larger than 100x100 pixels We are experiencing some problems, please try again. http://board.phpbuilder.com/showthread.php?10391717-Parse-error-syntax-error-unexpected-T_INCLUDE-expecting-T_FUNCTION

In this case, unexpected 'unexpected T_INCLUDE' your line above was missing a semi-colon. The page I'm trying to create (a Weather page with a changing forecast) needs a php page. Therefore, it cannot open correctly the AP.js and throws an error that breaks the editor.--Example :The true URL of the AP.js file (if WordPress is installed in a subdirectory) : http://www.site.com/wordpress/wp-content/plugins/allow-php-in-posts-and-pages/AP.jsThe

Top All times are GMT -4. spikeyfish2 2009-10-13 18:32:46 UTC #5 sandstorm140: No need to delete it for it does absolutely nothing. You can only upload photos smaller than 5 MB. Can I use SOAPClass objects in PHP code with this plugin?

Answer Questions What is object-oriented programming? It is very recommended to not turn on allow_url_fopen and instead use relative links starting with $root = realpath($_SERVER["DOCUMENT_ROOT"]); so your include will start: include "$root/inc/include1.php";Thanks Jamie Derek says: 25th January So does:echo << I was trying to paste some code into functions.php to create custom menu bar.

Thx 🙂Reply Nick Waites says: 30th July 2011 at 8:05 am Hi Jamie When I create a snippet containing the tag, the closing tag always disappears, eg ?> hello Any html Can you please email me the code in relation to the below to help us find the problemThe code from the form page is:First Name:Can you give me an idea how Reply With Quote Quick Navigation Newbies Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums PHP Help General Help Newbies Database Install Coding Code Critique Upgrading Is there something I'm doing wrong?

But:I try to do this: $mysqlhost="localhost"; // MySQL-Host angeben $mysqluser="localadmin"; // MySQL-User angeben $mysqlpwd="eleVen.14"; // Passwort angeben $connection=mysql_connect($mysqlhost, $mysqluser, $mysqlpwd) or die ("keine Verbindung möglich. https://wordpress.org/support/topic/688475 It solved my problem in 12 seconds flat. But when I try to enter the Theme Editor I get the error message so I can't get to it. I think what you saw is Javascript and you confused it?

if ($wt_movie_enable == "false") { } else { echo "[object id="player" width="620″ height="360″ classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000″][param name="movie" value="http://www.videobb.com/e/rjsx68m"][/param][param name="allowFullScreen" value="true" ][/param][param name="allowscriptaccess" value="always"][/param][embed src="https://www.videobb.com/e/rjsx68m" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="620" height="360"][embed][/object]"; } Thanks for making navigate here I have also tried:echo <<Testing EOT;and: echo << The T_SL error appears to be triggered on seeing the "<<

spikeyfish2 2009-10-13 18:21:58 UTC #3 Lines 70 and 71 read

This line can't be doing much good and doesn't need to be there. Upper bounds for regulators of real quadratic fields Was the Boeing 747 designed to be supersonic? If you have space please add a link to us in your blogroll to help other people find the plugin 🙂Reply Chris Luckett says: 29th March 2011 at 9:11 pm I'm Check This Out I am using a theme also….Thanks - TomReply Tom says: 24th January 2011 at 6:30 pm BTW this DOES work: echo "hello world"; So I know I am getting the functionality

block to another on the same page?for example, will this work as i cant get it to work on the same page? $var = 3; echo $var; when i try, the For the EO junkies that look at my site, I just wanted to point you towards an awesome private server called Energizers. Thankyou for bringing this problem to our attentionJamieReply Sam Levy says: 5th October 2011 at 1:01 am This bracket parsing problem still persists, I have the code:if($_REQUEST[‘subin']){which gets parsed and errors

Please help me… After this I see the next two posts containing "it's not working with array refs".

Deactivated plugin works.I am running wordpress-3.2.1 using a custom child theme w/ parent twenty eleven.Have you tested plugin w/ latest WP on 2011 theme?Detailed desctiption of "WYSIWYG editor breaks: Screenie: https://img.skitch.com/20111002-ehqxqtby1k11qn3n5gqhs5hgq8.pngmceToolbar If that doesn't resolve the error, perhaps something else is causing the problem. Not the answer you're looking for? http://soyeonchung.net/ soyeon_chung @soyeon_chung 11 months, 2 weeks ago ohhhh it's working fine now!

Thanks!Is there a way to turn on absolute inclusion, out of curiousity?derek Jamie Fraser says: 25th January 2011 at 9:43 am Hi Derek,You can turn url file-access on by updating the Any direction / help you can give me? Delete this line out (It's spread out on two lines:

Major Edit to my Post I have made a screenshot of your code of index.html in action on Dreamweaver. this contact form please help.

Bitte versuche es zu einem späteren Zeitpunkt noch einmal."); } $query = "SELECT day_db, date_db, carrier_db, place_db, pp_db FROM program ORDER BY date_db LIMIT 50"; $result = mysql_query($query) OR die("Error: $query After installing the ‘Allow PHP in Posts and Pages' plugin, and adding the and before and after the above code,I checked the page, but nothing seemed to have changed.What am I The function attribute allows the addition of user defined code snippets into the content. spikeyfish2 2009-10-13 22:37:56 UTC #12 sandstorm140: I still don't see it!

It shouldn't cause an error if the class exists. I'll try not to bother you with silly problems in the future :O)Reply Jamie Fraser says: 21st July 2011 at 3:53 pm Hi Nick,It's good to see our work appreciated 🙂Please I tried turning all plugins one by one until I saw that turning yours off gets the RSS back in order.Curiously that only happens with the theme I'm using - I ThanksReply Jamie Fraser says: 9th May 2011 at 4:32 pm Hi, Any PHP services should be able to be used though this plugin, as long as you remember to replace and

Find the super palindromes!