Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2008
    Posts
    28
    Plugin Contributions
    0

    application error unexpected T_CONSTANT_ENCAPSED_STRING (autoload_func.php)

    So I've been reading FAQs upon FAQs to try to solve the problem. Here's how it started:

    My hoster (apollohosting) migrataed us to a new server/platform. It was supposed to be seamless but you know how that goes. It started with HTTP 500 errors - which I learned to fix by making my own php.ini and getting php directives out of .htaccess.

    Now I am getting the following error when I try to load my store or my admin page:
    Code:
    PHP Parse error:  syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /hermes/bosweb/web107/b1073/apo.ungaroj/ungarodesigns.com/ud/includes/autoload_func.php on line 49
    Now I am running ZenCart 1.3.8 and it was fine before they moved me to whatever new server they have me on. I've put in a ticket with them but I thought the zen-cart community is probably smarter!

    I am going to attach as much as I can to this posting so as to be complete.

    First - the server php.ini file (PHP 5.2.4) - i had to remove lots of comments to get it to fit...
    <SNIPPED BY MODERATOR>

    Now My php.ini:
    Code:
    php_flag session.use_trans_sid 0
    php_flag register_globals 0
    php_value memory_limit 16M
    php_flag output_buffering on
    And my main .htaccess:
    Code:
    DirectoryIndex index.php
    <Files ".ht*">
    deny from all
    </Files>

    So any thoughts? What else should I include to help diagnose?

  2. #2
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: unexpected T_CONSTANT_ENCAPSED_STRING (autoload_func.php)

    have you tried reloading the includes/autoload_func.php file?
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  3. #3
    Join Date
    Feb 2008
    Posts
    28
    Plugin Contributions
    0

    Default Re: unexpected T_CONSTANT_ENCAPSED_STRING (autoload_func.php)

    Quote Originally Posted by barco57 View Post
    have you tried reloading the includes/autoload_func.php file?
    Yes. But I will try it again.

  4. #4
    Join Date
    Feb 2008
    Posts
    28
    Plugin Contributions
    0

    Default Re: unexpected T_CONSTANT_ENCAPSED_STRING (autoload_func.php)

    Quote Originally Posted by ungarod View Post
    Yes. But I will try it again.
    CRAP - that fixed it the second time!

    THANK YOU

  5. #5
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: unexpected T_CONSTANT_ENCAPSED_STRING (autoload_func.php)

    Glad I could be of assistance
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

 

 

Similar Threads

  1. v151 PHP Fatal error: Class 'QueryCache' (autoload_func.php)
    By Debbie2014 in forum General Questions
    Replies: 2
    Last Post: 20 Oct 2012, 05:01 PM
  2. Replies: 0
    Last Post: 29 Feb 2012, 02:07 AM
  3. Replies: 6
    Last Post: 3 Jun 2010, 06:15 PM
  4. unexpected T_CONSTANT_ENCAPSED_STRING
    By Kruna in forum General Questions
    Replies: 7
    Last Post: 8 Feb 2007, 02:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg