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.

Comment submission

December 15, 2011 12:58pm

Subscribe [2]
  • #1 / Dec 15, 2011 12:58pm

    ibuck

    19 posts

    I have a simple comment submission form that works fine in my local dev environment but is failing when I upload to staging.

    When submitting locally I get the standard

    “Thank you, your comment has been submitted for approval/moderation, etc”.


    However on staging I am taken to the standard ExpressionEngine error page with the following message:

    An Error Was Encountered

    Non-existent class: Template

    « Back

    Here is my form code

    {exp:comment:form site="default_site" entry_id="99929"}
    
     <div class="field textarea">
      <textarea name="comment" cols="70" rows="10">{comment}</textarea>
     </div>
     <div class="actions">
    <input type="submit" alt="Submit" value="" class="btn-submit no-default-btn-styles" data-role="none" />
     </div>
     
    {/exp:comment:form}

    I’m not really sure where to start looking. The error is being thrown in Loader.php line 944 (log_message(‘error’, “Non-existent class: “.$name);).

    Maybe I am missing files or permissions are incorrect?

    Thanks

    ExpressionEngine 2.3.1

     

  • #2 / Dec 16, 2011 7:45pm

    Sean C. Smith

    3818 posts

    Hi ibuck,

    Could you confirm that you have correctly uploaded all the files from your development to staging server? Also check all permission settings from the Moving EE to a new server.

    Sean

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

ExpressionEngine News!

#eecms, #events, #releases