viewmark
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Multiple HeadersProblem 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
In reply to: Multiple HeadersI’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 1Call 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
In reply to: Multiple HeadersThank you for replying.
which page should have the alternative header?
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
In reply to: [Event Registration] Triple Confirmation/Payment EmailsThe site is:
Forum: Plugins
In reply to: [Event Registration] REG Type FeeHost found an Apache error that resided on the server.
Forum: Plugins
In reply to: [Event Registration] REG Type FeeThanks 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
In reply to: [Event Registration] Submit button won't activateAlso, in my event list, the fee is listed as “$ REG | Event Registration Fee.”
Forum: Plugins
In reply to: [Event Registration] Submit button won't activateI 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
In reply to: WPTouch Doesn't Format Mobile Contact FormThe site is viewmarkcommunications.com
Forum: Fixing WordPress
In reply to: Warning: Cannot modify header information – functions.phpSolved…I loaded the original functions.php again…and it now seems to work…thanks…
Forum: Fixing WordPress
In reply to: Warning: Cannot modify header information – functions.phpI 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
In reply to: Warning: Cannot modify header information – functions.phpThought 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.