Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Location
    Virginia Beach, VA
    Posts
    2
    Plugin Contributions
    0

    Default Getting a fatal error

    Ok the first time I did a clean install I had no problem but after getting my store almost perfect and then trying to install zenmagick I really screwed things up. Even though I backed up I can't seem to get the backup reinstalled so I am going with a fresh install again. I deleted everything from my cpanel.
    I reinstalled.
    <p>
    Now I get this error which I have no idea how to fix. Can anyone please help me.

    My admin is working fine but I cannot view anything yet because I am getting this error:

    Warning: main(includes/languages/.:/usr/lib/php:/usr/local/lib/php) [function.main]: failed to open stream: No such file or directory in /home/kimberly/public_html/catalog/index.php on line 31

    Warning: main(includes/languages/.:/usr/lib/php:/usr/local/lib/php) [function.main]: failed to open stream: No such file or directory in /home/kimberly/public_html/catalog/index.php on line 31

    Fatal error: main() [function.require]: Failed opening required 'includes/languages/.:/usr/lib/php:/usr/local/lib/php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/kimberly/public_html/catalog/index.php on line 31

    Please help...

  2. #2
    Join Date
    Feb 2006
    Location
    New Zealand
    Posts
    28
    Plugin Contributions
    2

    Default Re: Getting a fatal error

    Quote Originally Posted by Sparkygirl View Post
    Ok the first time I did a clean install I had no problem but after getting my store almost perfect and then trying to install zenmagick I really screwed things up. Even though I backed up I can't seem to get the backup reinstalled so I am going with a fresh install again. I deleted everything from my cpanel.
    I reinstalled.
    <p>
    Now I get this error which I have no idea how to fix. Can anyone please help me.

    My admin is working fine but I cannot view anything yet because I am getting this error:

    Warning: main(includes/languages/.:/usr/lib/php:/usr/local/lib/php) [function.main]: failed to open stream: No such file or directory in /home/kimberly/public_html/catalog/index.php on line 31

    Warning: main(includes/languages/.:/usr/lib/php:/usr/local/lib/php) [function.main]: failed to open stream: No such file or directory in /home/kimberly/public_html/catalog/index.php on line 31

    Fatal error: main() [function.require]: Failed opening required 'includes/languages/.:/usr/lib/php:/usr/local/lib/php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/kimberly/public_html/catalog/index.php on line 31

    Please help...
    A couple questions to start with (I am the developer of ZenMagick...):
    - What was the problem installing ZenMagick?
    - Did you try uninstalling ZenMagick properly?

    - Did you rebuild the database (ie. dropped the database or at least deleted all tables?)
    - What is on line 31 in index.php?

    If you didn't reinstall all zen-cart files and just deleted ZenMagick files without reverting the ZenMagick patches, then you have modified zen-cart files. That would explain the error message as index.php would try to load a ZenMagick file.

    If my assumptions are correct, I suggest:
    a) Follow the instructions about removing files as documented here: http://wiki.############################/index.php/...ling_ZenMagick

    b) Update the following zen-cart files/directories:
    - index.php
    - includes/functions
    - admin/customers.php
    - includes/classes/class.base.php
    - includes/languages/*.php
    - .htaccess (there is none in zen-cart, so you might want to remove it)

    mano

  3. #3
    Join Date
    Nov 2007
    Location
    Virginia Beach, VA
    Posts
    2
    Plugin Contributions
    0

    Default Re: Found a solution!!!!

    OK. I finally found a solution that seemed to work.

    I was having some problems when my store opened. I could get into admin but I could not pull up my store.

    I figured why not just replace the index.php in case it was corrupt.

    Well I renamed the old index.php to indexoriginal.php and tried copying a new copy of index.php from the full file set available at the zencart download and sure enough as soon as I replaced it up came my zencart working perfectly.

    I guess somehow the index.php became corrupt somehow. Perhaps the version available with the current download is not working properly.

    SO JUST REPLACE YOUR INDEX.PHP WITH A FRESH COPY AND VOILA.

    For now it seems to be working. I will post with any additional feed back.

    Thanks for any replies....
    Kimberly aka Sparkygirl

 

 

Similar Threads

  1. Getting fatal error in admin
    By Exalt in forum General Questions
    Replies: 1
    Last Post: 28 Jan 2009, 05:37 AM
  2. returning customers getting fatal error
    By jvan in forum Managing Customers and Orders
    Replies: 2
    Last Post: 26 Aug 2008, 04:58 PM
  3. 1.3.7: Getting fatal error in order.php
    By ttalk in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 9 Aug 2007, 05:37 PM
  4. I am getting a Fatal error:
    By jfowler in forum General Questions
    Replies: 0
    Last Post: 15 Nov 2006, 11:52 PM

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