The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help needed: oscommerce - fatal error: main()

Discussion in 'General Discussion' started by Rui, Jul 10, 2003.

  1. Rui

    Rui Member

    Joined:
    Jul 8, 2003
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Lisbon - Portugal
    Hi!

    I installed oscommerce. Complete. Tried to access through link in cpanel. The box with username and password appeared. Logged in. This error message appears:

    Warning: main(includes/configure.php) [function.main]: failed to create stream: No such file or directory in /home/mydomain/public_html/mystore/admin/includes/application_top.php on line 34

    Fatal error: main() [function.main]: Failed opening required 'includes/configure.php' (include_path='/usr/local/lib/php:/usr/lib/php') in /home/mydomain/public_html/mystore/admin/includes/application_top.php on line 34

    Any clue? I'm a total newbie. Need a how to for dummies.

    cPanel.net Support Ticket Number:
     
  2. Phiber_Optick

    Phiber_Optick Member

    Joined:
    Jun 17, 2003
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Florida
    I'm getting the same error. Anyone have any ideas?

    cPanel.net Support Ticket Number:
     
  3. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    Edit your php.ini file and replace:
    include_path='/usr/local/lib/php:/usr/lib/php'

    With:
    include_path=".:/usr/local/lib/php"

    Make sure you backup your php.ini file before hand

    restart apache and see if its resolved.

    cPanel.net Support Ticket Number:
     
  4. Rui

    Rui Member

    Joined:
    Jul 8, 2003
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Lisbon - Portugal
    It's working ok! Thank you.

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page