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.

PHP Page within Site

March 22, 2013 11:37am

Subscribe [1]
  • #1 / Mar 22, 2013 11:37am

    jorlee90

    7 posts

    I just upgraded from EE1 to EE2.  In my EE1 site I had a template that had heavy use of PHP.  Reason being is because it was pulling data and files (with an API) from an external system (i.e. same domain but not EE).  It worked fine in EE1 with PHP enabled on output but on EE2 I get a lot of eval()‘d errors.  I’m sure the right way would be to rewrite in a plugin, but I need this up right away.  Is there something I can do to have this template with php work like it did in EE1?

    **EDIT** - I just realized those errors were just notices that were only showing to the super admin.  Are they harmful in any way?  Here is one:

    “A PHP Error was encountered
    Severity: Notice

    Message: Undefined index: album

    Filename: libraries/Functions.php(683) : eval()‘d code”

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

ExpressionEngine News!

#eecms, #events, #releases