Title: viewmark's Replies | WordPress.org

---

# viewmark

  [  ](https://wordpress.org/support/users/viewmark/)

 *   [Profile](https://wordpress.org/support/users/viewmark/)
 *   [Topics Started](https://wordpress.org/support/users/viewmark/topics/)
 *   [Replies Created](https://wordpress.org/support/users/viewmark/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/viewmark/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/viewmark/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/viewmark/engagements/)
 *   [Favorites](https://wordpress.org/support/users/viewmark/favorites/)

 Search replies:

## Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)

 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Multiple Headers](https://wordpress.org/support/topic/multiple-headers-8/)
 *  Thread Starter [viewmark](https://wordpress.org/support/users/viewmark/)
 * (@viewmark)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/multiple-headers-8/#post-14066386)
 * Problem has been resolved. Fixed page.php file and pages now display properly.
   But I’m back where I started — trying to build a page with a different header.
   Thanks for your help.
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Multiple Headers](https://wordpress.org/support/topic/multiple-headers-8/)
 *  Thread Starter [viewmark](https://wordpress.org/support/users/viewmark/)
 * (@viewmark)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/multiple-headers-8/#post-14066315)
 * I’ve run in to a real mess in the course of trying to fix this problem. I’ve 
   undoubtedly made a bad problem worse by trying to edit some of the .php files
   associated with my theme. I’ve tried to return things back to normal but so far
   stuff isn’t displaying correctly. It seems if you access a page from my site (
   as opposed to going to a page directly via link) it displays. But if I’m logged
   in as an administrator or I access a page directly I’m having problems. I’ve 
   only edited page.php and added a new header.php file. I’m not sure what I could
   have screwed up. I downloaded the plugin Query Monitor and receive this message
   when I try to view a page as an administrator:
    =========== Fatal error: Uncaught
   Error: syntax error, unexpected ‘locate_template’ (T_STRING) in /home/viewwebinfo/
   public_html/empoweringcoorg/wp-content/themes/Largo-master/page.php on line 1
 * Call stack:
 * require_once()
    wp-blog-header.php:19 require() index.php:17 ================
   ===
 * Here’s a copy of my page.php file:
    ====== <?php
 * /**
 *  * The Template for displaying all pages.
 *  */
 * locate_template( ‘single.php’, true );
 * ==============
    I appreciate any help you’re willing to offer.
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Multiple Headers](https://wordpress.org/support/topic/multiple-headers-8/)
 *  Thread Starter [viewmark](https://wordpress.org/support/users/viewmark/)
 * (@viewmark)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/multiple-headers-8/#post-14066233)
 * Thank you for replying.
 * **which page should have the alternative header?**
 * [https://empoweringcolorado.org/big-pivots/](https://empoweringcolorado.org/big-pivots/)
 * **what is the file name of the alternative header file?**
 * header-big-pivots.php (which includes all of the code in the main header.php 
   file.
 * **what call are you using to get this alternative header in page.php?**
 * <?php if(is_page(‘big-pivots’)) { get_header(‘big-pivots’); } else { get_header();}
   wp_head(); ?–>
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Event Registration] Triple Confirmation/Payment Emails](https://wordpress.org/support/topic/triple-confirmationpayment-emails/)
 *  Thread Starter [viewmark](https://wordpress.org/support/users/viewmark/)
 * (@viewmark)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/triple-confirmationpayment-emails/#post-6677216)
 * The site is:
 * [http://www.iabc-colorado.com/](http://www.iabc-colorado.com/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Event Registration] REG Type Fee](https://wordpress.org/support/topic/reg-type-fee/)
 *  Thread Starter [viewmark](https://wordpress.org/support/users/viewmark/)
 * (@viewmark)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/reg-type-fee/#post-6625567)
 * Host found an Apache error that resided on the server.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Event Registration] REG Type Fee](https://wordpress.org/support/topic/reg-type-fee/)
 *  Thread Starter [viewmark](https://wordpress.org/support/users/viewmark/)
 * (@viewmark)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/reg-type-fee/#post-6625503)
 * Thanks for your reply. I made the changes you suggested and still no luck. calculator.
   js.php resides in the event-registration root directory. In evr_public_form.php
   I changed every instance where I saw the javascript point to ‘public/calculator.
   js.php’ and changed it to ‘calculator.js.php’.
 * <script type=”text/javascript” src=”‘. EVR_PLUGINFULLURL.’calculator.js.php?tax
   =’.$tax_rate.'”></script>’;
    } } else { echo ‘<script type=”text/javascript” 
   src=”‘. EVR_PLUGINFULLURL.’calculator.js.php?tax=’.$tax_rate.'”></script>’; }?
   >
 * Any other suggestions? Thanks for any help you can provide.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Event Registration] Submit button won't activate](https://wordpress.org/support/topic/submit-button-wont-activate/)
 *  Thread Starter [viewmark](https://wordpress.org/support/users/viewmark/)
 * (@viewmark)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/submit-button-wont-activate/#post-6618190)
 * Also, in my event list, the fee is listed as “$ REG | Event Registration Fee.”
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Event Registration] Submit button won't activate](https://wordpress.org/support/topic/submit-button-wont-activate/)
 *  Thread Starter [viewmark](https://wordpress.org/support/users/viewmark/)
 * (@viewmark)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/submit-button-wont-activate/#post-6618184)
 * I believe the fee is set as a REG type fee.
 * On the “Edit Event Cost/Item For” settings page in the “What type of Item/Cost
   is this?” field I have selected the “REG – Registration Attendee” option.
 * Is there another setting I’m missing?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [WPTouch Doesn't Format Mobile Contact Form](https://wordpress.org/support/topic/wptouch-doesnt-format-mobile-contact-form/)
 *  Thread Starter [viewmark](https://wordpress.org/support/users/viewmark/)
 * (@viewmark)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wptouch-doesnt-format-mobile-contact-form/#post-6454269)
 * The site is viewmarkcommunications.com
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Warning: Cannot modify header information – functions.php](https://wordpress.org/support/topic/warning-cannot-modify-header-information-functionsphp/)
 *  Thread Starter [viewmark](https://wordpress.org/support/users/viewmark/)
 * (@viewmark)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-functionsphp/#post-2851453)
 * Solved…I loaded the original functions.php again…and it now seems to work…thanks…
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Warning: Cannot modify header information – functions.php](https://wordpress.org/support/topic/warning-cannot-modify-header-information-functionsphp/)
 *  Thread Starter [viewmark](https://wordpress.org/support/users/viewmark/)
 * (@viewmark)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-functionsphp/#post-2851445)
 * I renamed the theme folder…which allowed me in as WP defaulted to use the twentyeleven
   theme. When I use this theme, I can edit pages.
 * I uploaded the default functions.php (from the original theme files). I also 
   uploaded wp-admin and wp-includes. But no luck…same problem…same error.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Warning: Cannot modify header information – functions.php](https://wordpress.org/support/topic/warning-cannot-modify-header-information-functionsphp/)
 *  Thread Starter [viewmark](https://wordpress.org/support/users/viewmark/)
 * (@viewmark)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/warning-cannot-modify-header-information-functionsphp/#post-2851437)
 * Thought it was solved…but not so fast….
 * Did suggestions 1 & 3…tried renaming my theme file…and when I got into WP…it 
   said it needed to do a database update…
 * When the update completed…everything seemed to work…I could access the site…but
   when I tried to edit a page…I got the same error.

Viewing 12 replies - 1 through 12 (of 12 total)