Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    151
    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:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Phiber_Optick

    Phiber_Optick Member

    Joined:
    Jun 17, 2003
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    151
    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:
    318
    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:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Rui

    Rui Member

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

    cPanel.net Support Ticket Number:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice