✓ SOLVED: JW's SEO Helper Stack Exposing Code in Foundation Website


(Chet) #1

Hello!

macOS 10.12.1
RW 7.1.5
Stacks 3.2.4
Foundation Theme: 1.7.4

I’m running JW’s SEO Helper stack, but it exposes this code ("’,$ob_meta.’’,$ob_page_head); ?>") at the bottom of the page. The only way I can get it to go away is to disable the SEO Helper stack.

I don’t have this problem in the RW preview or the local preview. The site is not using Cloudflare.

Turning off RW’s minify CSS/JS option did not resolve.

Any other ideas?


(Doug Bennett) #2

They look to PHP variable names. Would guess it is a syntax problem. Would contact joes support.


(Robert Ziebol 🖖🏼) #3

Is your published page have an filename of index.html or index.php? It needs to be index.php


(Chet) #4

Good idea. The filename is index.php.


(Robert Ziebol 🖖🏼) #5

Does your host have PHP on it and if yes, what is the version?


(Chet) #6

Host is running PHP 5.4.


(Chet) #7

Did some testing on two different servers. Appears to definitely be a server issue, not a stack one. Will just use the RW 7 metatags sidebar for this project.

Very handy stack, btw.


(Robert Ziebol 🖖🏼) #8

Could be that you need 5.6 or higher of PHP. 5.4 has been end of life for a while now, and 5.6 is the lowest supported version of PHP currently. See if your host can update to that.


(Chet) #9

Thanks for the tip. I’ll loop up with them