Question about wordpress.org

Open Question

Parse error: syntax error, unexpected '}' in D:\InstantWP_4.3.1\iwpserver\htdocs\wordpress\wp-content\themes\twentyten\header.php on line 74

Please give me solutions to this error

Posted by Anonymous on

3 Suggested Answers

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

  • 1833 Answers

SOURCE: I am using the wordpress

Hi,

According to your problem, First mind it the wordpress header is by default a simple piece of code. You do not have to get into the code to change the header that comes with whatever wordpress Theme you choose. You set the blog or website title and description in the Administration > Settings > General panel, and wordpress does the rest. The wordpress Default Theme features an image in the background and presents the header like this in wp-content/themes/default/header.php. the wordpress Classic Theme features the header code like this in the wp-content/themes/classic/header.php template file. So put the code properly. To know more or learn details you can visit codex.wordpress.org.

Posted on Mar 31, 2011

  • 2825 Answers

SOURCE: How do I fix this Parse error: syntax error, unexpected '.', expecting ')' in /home1/ragtop23/public_html/wp-content/themes/twentyten/comments.php on line 78?

Change to another theme.
Delete the twentyten theme
download and install twentyten again. Done...

next time save a backup of the file before you start editing it.

Posted on Dec 21, 2014

Testimonial: "Thanks Jay for your comeback. I really wasn't all that happy with the twentyten theme anyway, so I did change to one I liked better."

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

Tip

How to upload a logo in wordpress


Uploading a logo to your wordpress website is very straight forward and simple.
It takes usually less than 5 mins to upload a logo to your wordpress website or blog.

Step 1: Login to you WordPress backend or cms administration end.
y default you could reach your wordpress admin end by typing in /wp-admin/ at the end of the website or blog url and pressing enter key.

So example could be : www.example.com/wp-admin/

This could be another url in your case, if your website administrator or web developer changed it for security reasons, in that case contact your webmaster.

Step 2: Assuming that you have opened the admin end of the website or blog, now its time to login using your login username/email id and password.

Step 3: After you have successfully logged in, you could see this kind of options in the sidebar (left ) in wordpress dashboard.

Step 4: Locate Appearance>> Customize if you are not using default themes or if you are using some custom purchased themes for you self hosted wordpress then the option to upload the logo would be in theme settings and logo options.

write_tip-qat13ikhalfno0eph3ijnj10-5-0.png

Step 5: After you click customize you can see header image option where you can add the image.

on Jun 23, 2015 | wordpress.org

1 Answer

What is fatal error 762


Trying to test this plugin on XAMPP localhost test site. Nothing shows up so I looked for errors and found this: Warning: require_once(C:\Data\xampplite\htdocs\zinnia\wp\wp-content\plugins\blip-slideshow): failed to open stream: Permission denied in C:\Data\xampplite\htdocs\zinnia\wp\wp-content\plugins\blip-slideshow\blip.php on line 762 Fatal error: require_once(): Failed opening required 'C:\Data\xampplite\htdocs\zinnia\wp\wp-content\plugins\blip-slideshow' (include_path='.;C:\Program Files (x86)\xampplite\php\PEAR') in C:\Data\xampplite\htdocs\zinnia\wp\wp-content\plugins\blip-slideshow\blip.php on line 762 --------------- The code on line 762 is the require_once, but here's a few lines before // attempt to talk to WordPress $blog_header_path = preg_replace("/wp-content\/.*/", "wp-blog-header.php", getcwd()); if (file_exists($blog_header_path)) { require_once($blog_header_path); }

Feb 12, 2015 | Office Equipment & Supplies

1 Answer

How do I fix this Parse error: syntax error, unexpected '.', expecting ')' in /home1/ragtop23/public_html/wp-content/themes/twentyten/comments.php on line 78?


Change to another theme.
Delete the twentyten theme
download and install twentyten again. Done...

next time save a backup of the file before you start editing it.

Dec 20, 2014 | wordpress.org

1 Answer

I built a website using wordpress and i changed a lot of Theme in a very short period of time... then i was redirected to this page .. what should i do? Parse error: syntax error, unexpected T_FUNCTION...


This sounds like a problem with one of the theme files. Do you have a fresh copy of the theme files? There are a few ways you can fix this. One, you can change to a default theme or you can replace the current theme files with fresh copies.

1 to change the theme to a default theme such as twentyeleven, you will need access to your database using PHPMyAdmin. That is in your cPanel. It is in the Database section. You will need to know which database to work with.

1. Choose the database from the dropdown box on the left side of the page..
2. Find the wp_options table and click it.
3. On the main screen (right side of the page find the > link and go to page 2. Then find these rows: 44 and 45.
4. Edit them by clicking on edit and change the Option Value box to the defualt theme. Usually it is twentyeleven, twentytwelve, or twentythirteen. Change both rows and save by clicking go.

Sep 26, 2013 | Apple MacBook Air

1 Answer

White Screen In Dashboard


Hello Harmanrainu, First I do want to point out that majority of WordPress issues that involve white screens are mostly caused by php and database issues. IF you have access to your database via PHPMyAdmin, what I would suggest is to run through a check on tables, to verify that your tables are not corrupted or missing data. steps to do that are here: Repair and Optimize MySQL Databases with PhpMyAdmin Tutorial

Once you do that I would also run through and check the following:

A Plugin may be causing compatibility issues. If you can access the Administration Screens try deactivating all of your Plugins and then reactivating them one by one. If you are unable to access your Screens, log in to your website via FTP. Locate the folder wp-content/plugins and rename the Plugin folder plugins_old. This will deactivate all of your Plugins. You can read more about manually deactivating your plugins in the Troubleshooting FAQ.

Your Theme may be causing the problem. This is especially likely if you are experiencing the "WSOD" after you have just activated a new Theme. Log in to the WordPress Administration Screens and activate the default WordPress theme. If you can't access your Administration Screens, access your website via FTP and navigate to the /wp-content/themes/ folder. Rename the folder for the active Theme.

This should resolve any white screen problems



Knowledge is power
Jon Justiniano
Customer Service rep with:
Web Hosting Dedicated Server Hosting Domains AIT com

May 23, 2013 | wordpress.com Computers & Internet

1 Answer

Cannot view my own website. it reads: "Parse error: syntax error, unexpected $end..." in my index.php file. HELP


Syntax errors are the most common problem for developers. A single syntax error can cripple even the best applications and websites. You can correct syntax errors easily once you find them. Typical errors include missing commas, semicolons and parenthesis. Debuggers are available in many software development kits to aid you in the location of syntax errors. However, you can find and correct syntax errors manually as well. Learning how to correct syntax errors is an essential part of being a software developer.

Locate the syntax error manually. Step through each section of your code. Most code will be sectioned off into groups or functions. Carefully proof your code. Be sure to pay close attention to how lines are grouped. A common syntax mistake is incorrect grouping.

For instance, if you have an If Else statement embedded in another If Else statement, be sure the embedded statement is surrounded by a separate set of parenthesis or brackets, depending on your language. Double-check notes sections. Notes are only for the developer to see. However, if the syntax isn't correct, the notes may become part of your application, which may not agree with existing code. Ensure the syntax around your notes is correct. Run a debugger if possible. This will make locating errors much easier. A debugger will be found under a menu such as Debug, Run or Tools or as part of your SDK's toolbar. Allow the debugger to run. Errors will be listed at the bottom or right side of your screen. Many debuggers will highlight possible errors in your code as well. A line number, along with the possible error, will be listed in the error message. Locate your syntax error if the debugger isn't correct. Sometimes a debugger will show you where your application stopped working correctly. The syntax error itself may be above or below the line listed in the debugger message. Check all syntax within the surrounding area, especially within the line's function. Run your application after correcting the syntax error. Check every possible function of your application to ensure it works correctly. If you find a problem, double-check the syntax in your code that surrounds the problem area. For instance, if your application has a log-in screen that isn't accepting passwords correctly, check the code for the log-in screen. Remove Syntax Error syntax error typically occurs when the Web page you are loading causes a script error in the browser. This is caused by incorrect code that displays an error message or results in a Web page that does not load correctly. You can remove a syntax error by making a change to the settings of your Web browser. Common Web browsers that can experience this type of error include Internet Explorer, Mozilla Firefox and Safari.
Double-click the "Internet Explorer" icon to open the program. Click the "Tools" drop-down menu and select "Internet Options." This will display the Internet Options window. Go to the "Advanced" tab and scroll down to the "Browsing" section. Remove the check from the box for "Disable script debugging (Internet Explorer)," "Disable script debugging (Other)" and "Display a notification about every script error." Click the "Apply" button to save the changes. Click the "OK" button to close the Internet Options window. Close and restart the Internet Explorer browser for the changes you made to take effect. b> Mozilla Firefox b> Double-click the "Mozilla Firefox" icon to open the program. Type "about:config" into the address bar and press the "Enter" key. Type "dom.max_script_run_time" into the Filter text box and press the "Enter" key. Double-click "dom.max_script_run_time" to display the Enter Integer Value dialog box. Enter a value of "10" or "15" into the text box and click the "OK" button to save the change. Close and then restart the Firefox browser for the change to take effect. b> Safari b> Click the "Safari" icon to open the Web browser. Select the option for "Preferences" from the menu bar. Go to the Advanced tab and click the option for "Show Develop menu in menu bar." Click the option for "Develop" from the menu bar. Click the option for "Disable Runaway JavaScript Timer." Close and re-open the browser for the change to take effect.

b>

b>

Apr 06, 2013 | Computers & Internet

1 Answer

Parse error: syntax error, unexpected '<' in /home/nicoc/public_html/file.php on line 15


Contact the owner of the 'nicoc' account on the web-site.
The 'file.php' page, written in the PHP scripting-language, has a "bug" in the programming.

Nov 16, 2009 | Microsoft Windows XP Professional

1 Answer

Parse error: syntax error, unexpected T_STRING in /home/a4491082/public_html/savefile_php/config.php on line 4


T_STRING is a string error. It usually means one of two things.

1. The string is formatted incorrectly. In your case check on line 4. Make sure if you have a ' that you close it with a '. Same with ". Close all " with another " somewhere. Make sure line 4 ends wth semi-colon ;

2. Usually this is the case. The line above the string it states doesn't have a semi-colon to complete the statement. In your case, check that line 3 ends with a ;
That is why it says unexpected T_STRING which means "unexpected string". The string on line 4 is unexpected because line 3 wasn't closed properly.

Aug 26, 2008 | Computers & Internet

1 Answer

Syntax error


go to this site and look under "error codes"
go to computer and system error codes

http://checkitright.spruz.net//main.asp?page=dp&dis=834222

Feb 07, 2008 | Computers & Internet

Not finding what you are looking for?

Open Questions:

wordpress.org Logo

Related Topics:

26 people viewed this question

Ask a Question

Usually answered in minutes!

Top wordpress.org Computers & Internet Experts

Jay Plesset

Level 3 Expert

2825 Answers

Lesley Cameron
Lesley Cameron

Level 3 Expert

371 Answers

Zia ur Rahim
Zia ur Rahim

Level 1 Expert

16 Answers

Are you a wordpress.org Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...