ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Sudden php undefined index errors

March 10, 2011 11:23am

Subscribe [3]
  • #1 / Mar 10, 2011 11:23am

    Rene Ruiz

    13 posts

    Hi,

    So we recently moved domains of an EE (1.6.8) site, and I think in the process some of it broke.

    Specifically, there are strange errors that pop up now talking about undefined indexes of core EE php files. Screenshot: http://cl.ly/59Wv

    Obviously none of these have been modified by us. But I’m wondering if anyone can offer any advice on how to fix this? I think the errors are what is preventing EE from applying templates to any of the pages, which is the next big problem.

  • #2 / Mar 11, 2011 3:34am

    John Henry Donovan

    12339 posts

    Rene,

    To clarify, did you change your domain name or just move servers?
    That looks like the third-party add-on SuperSearch. Would I be right?
    Do these errors appear on any other page?

    If they are specific to the SuperSearch results page then you will need to use Solspace’s support.

  • #3 / Mar 11, 2011 8:52am

    Rene Ruiz

    13 posts

    Hey John Henry,

    We only switched domain names.

    We’re not using SuperSearch. It is our own PHP (embedded into templates) that is calling and parsing a MySQL database.

    But it all broke after we switched domains.

  • #4 / Mar 11, 2011 3:53pm

    Sue Crocker

    26054 posts

    Hi, Rene, Since you switched domain names, did any of the PHP code need to be adjusted for the changes? If you use the built in simple search, do results return correctly?

  • #5 / Apr 01, 2011 3:55pm

    Rene Ruiz

    13 posts

    Hi Sue & John Henry,

    So it seems the problem was caused by a weird problem where the template code that lived in the Admin interface was different (& *much* older) than the generated templates files on the FTP.

    So I fixed the templates, but now the problem I’m having is the template tags aren’t being parsed: http://ats2010.thoracic.org/program/session-search/results/?q=h1n1

  • #6 / Apr 01, 2011 5:07pm

    Sue Crocker

    26054 posts

    Hi, Rene. Glad part of it is fixed.

    You mentioned earlier that you’re using your own PHP code searching a MySQL database… how much troubleshooting have you done with that part of things?

  • #7 / Apr 01, 2011 5:26pm

    Rene Ruiz

    13 posts

    Only some.

    Could bad SQL querying PHP code bust template parsing?

  • #8 / Apr 01, 2011 5:39pm

    Sue Crocker

    26054 posts

    No idea. But reducing the complexity of your template would be the first place to start.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases