On Sat, Sep 13, 2008 at 8:09 AM, teleki <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have a Zend site (PHP5, etc. all at latest versions) that runs fine under
> Windows with XAMPP. We moved the server over to Apache2 on Linux (Ubuntu,
> PHP5, Zend 1.6) and most elements work fine, except one of the two Google
> AdSense adverts no longer display on some pages....
>
> After investigation we stripped down the problem to a page generated by
> layout.phtml that just includes the two adverts. Alas this still only
> rendered the top banner advert and not the 2nd column advert. However, if we
> 'View Source' in the browser the HTML shows the HTML/JS for both ads. IF we
> then safe that HTML to either an HTML file served directly by the Apache2
> server or via file:// both adverts render fine!
>
> This has us confused, because the HTML from the zend/PHP serving is
> *exactly* the same as the page being served through Apache2 that we saved.
> So why if the HTML is the same do the two pages (one served through
> Zend/PHP/layout.phtml; and one as a straight HTML file) act differently????
>
> :confused:
>
> Here it is the stripped down layout.phtml we are trying for testing:

1) Is this really relevant to the Zend Framework? ;)
2) Try to debug this with firebug for example - to rule out weird errors.
3) Maybe the fill rate is not at 100% (though we never had this
problem with Adsense).
4) Maybe query Google for support, they probably have people to help you. :)

Hope that helps,
Till

Reply via email to