Viewing single page adds new page when including Javascript

When viewing a single page Zenpage is creating a new, blank page with the title of any included Javascript.

I thought it may be conflicting code but this happens even if I write '<script type="text/javascript" src="adasd"></script>' - A new page is created with the title 'adasd' with other fields null.

I thought it might be something I had done to my page.php theme file but I can completely remove everything from page.php and it still happens.

I have also tried invalidating MYSQL queries in various functions files to see if an error can be thrown up but so far nothing at all.

Comments

  • acrylian Administrator, Developer
    I can neither reproduce that nor did I ever encounter something like that. When and where does that happen, on the admin or on the site? What do you do exactly, do you use the standard theme or something customized? What version do you use?
  • Hi,

    I'm using a custom theme, no code difference in PHP code.

    I'm using the latest SVN with Zenphoto 1.2.3

    It only happens when rendering a single page. I've tried turning off all the plugins except Zenpage but it still happens.

    I don't have to be logged in as admin for it to happen.

    This is the link to the site, you can see under 'Reviews' there is a blank link to a page with the title of my javascript file: http://www.fs2004.co.uk/fsx/
  • acrylian Administrator, Developer
    I could not reproduce neither with the Zenpage default theme nor with the custom one on the Zenpage project site. Please try with the zenpage default theme.
  • acrylian Administrator, Developer
    Seems that I now encountered something similar. Although no "js title" I got suddenly a page without title that I did not create. But I could not reproduce it by viewing a page on admin or theme site. I will try to investigate on that.
Sign In or Register to comment.