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.

guestbook error

Discussion in 'General Discussion' started by david510, Aug 16, 2005.

  1. david510

    david510 Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    473
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    I get the following error when I take the guest book. Please HELP me....

    Regards,
    David

    Warning: main(./extension.inc): failed to open stream: No such file or directory in /home/xxxx/public_html/test/index.php on line 25

    Warning: main(./extension.inc): failed to open stream: No such file or directory in /home/xxxx/public_html/test/index.php on line 25

    Warning: main(): Failed opening './extension.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxx/public_html/test/index.php on line 25

    Warning: main(./common.): failed to open stream: No such file or directory in /home/xxxx/public_html/test/index.php on line 26

    Warning: main(./common.): failed to open stream: No such file or directory in /home/xxxx/public_html/test/index.php on line 26

    Warning: main(): Failed opening './common.' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxx/public_html/test/index.php on line 26

    Fatal error: Call to undefined function: session_pagestart() in /home/xxxx/public_html/test/index.php on line 31
     
  2. david510

    david510 Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    473
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    Now I get this error only

    Fatal error: Call to undefined function: session_pagestart() in /home/xxxx/public_html/test/index.php on line 31
     
  3. balakrishnan

    balakrishnan Member

    Joined:
    Sep 13, 2004
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    Me too

    I am getting the same error. any updates ????
     
  4. nickb

    nickb Well-Known Member

    Joined:
    Feb 25, 2005
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    Try running

    chattr -i /usr/local/cpanel/3rdparty/etc/php.ini
    /usr/local/cpanel/bin/checkphpini
     
  5. balakrishnan

    balakrishnan Member

    Joined:
    Sep 13, 2004
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    still the same

    tried
    chattr -i /usr/local/cpanel/3rdparty/etc/php.ini
    /usr/local/cpanel/bin/checkphpini

    Still getting the following...
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Warning: main(./extension.inc): failed to open stream: No such file or directory in /home/verymai/public_html/guestbook/index.php on line 25

    Warning: main(./extension.inc): failed to open stream: No such file or directory in /home/verymai/public_html/guestbook/index.php on line 25

    Warning: main(): Failed opening './extension.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/verymai/public_html/guestbook/index.php on line 25

    Warning: main(./common.): failed to open stream: No such file or directory in /home/verymai/public_html/guestbook/index.php on line 26

    Warning: main(./common.): failed to open stream: No such file or directory in /home/verymai/public_html/guestbook/index.php on line 26

    Warning: main(): Failed opening './common.' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/verymai/public_html/guestbook/index.php on line 26

    Fatal error: Call to undefined function: session_pagestart() in /home/verymai/public_html/guestbook/index.php on line 31

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     
  6. balakrishnan

    balakrishnan Member

    Joined:
    Sep 13, 2004
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    Hi guys,

    Any updates ?? :confused:
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Have you tried making sure that you have the latest Addons and then reinstalling the guestbook?

    /usr/local/cpanel/whostmgr/bin/whostmgr2 --updateaddons
     
  8. balakrishnan

    balakrishnan Member

    Joined:
    Sep 13, 2004
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    Solved

    Hi Chirpy,

    I tried /usr/local/cpanel/whostmgr/bin/whostmgr2 --updateaddons and then creating the Guest Book again but was still getting the error. Then I saw this posted elsewhere in the forums :
    /usr/local/cpanel/whostmgr/docroot/cgi/addon_addonupdates.cgi
    Did that and then went to WHM -> Addon Scripts -> Save
    Recreated the Guest Book. Worked fine. :)

    Thanks..
    May I know what was causing this issue ? :confused:

    Regards,
    Balakrishnan
     
  9. rsutc

    rsutc Well-Known Member

    Joined:
    Oct 8, 2002
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
    1. Where did you see this? A search does not turn it up

    2. In existing guestbook installations by the 3.3.3 installer the file /lib/addentry.php is incorrectly named addentrt.php.up Fixing this appears to fix existing installs

    3. I tried uploading the fixed installer referred to here as 2.3.4, but after using it the book installed yields a configuration error. Nasty.

    Rick
     
  10. balakrishnan

    balakrishnan Member

    Joined:
    Sep 13, 2004
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    Hi Rick,

    I just searched the forum with keyword "guestbook" and went through all the links. I am not sure which one. I am sorry that I cannot give you the exact thread. :(
     
Loading...

Share This Page