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!

I ran /scripts/securetmp and now oscommerce won't work

Discussion in 'General Discussion' started by AbeFroman, Sep 8, 2004.

  1. AbeFroman

    AbeFroman BANNED

    Joined:
    Feb 16, 2002
    Messages:
    654
    Likes Received:
    1
    Trophy Points:
    318
    I ran /scripts/securetmp and now oscommerce won't work

    It gives these errors:
    Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/westcoa/public_html/shop/includes/configure.php:44) in /home/westcoa/public_html/shop/includes/functions/sessions.php on line 67

    Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/westcoa/public_html/shop/includes/configure.php:44) in /home/westcoa/public_html/shop/includes/functions/sessions.php on line 67

    The error log contains this message many times:
    error_log:[25-Aug-2004 10:21:29] PHP Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (2) in /home/westcoa/public_html/shop/includes/functions/database.php on line 19
    error_log:[25-Aug-2004 10:21:44] PHP Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (2) in /home/westcoa/public_html/shop/includes/functions/database.php on line 19
    error_log:[25-Aug-2004 10:21:47] PHP Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (2) in /home/westcoa/public_html/shop/includes/functions/database.php on line 19
    error_log:[25-Aug-2004 10:21:52] PHP Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (2) in /home/westcoa/public_html/shop/includes/functions/database.php on line 19
    error_log:[25-Aug-2004 10:21:52] PHP Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (2) in /home/westcoa/public_html/shop/includes/functions/database.php on line 19

    Got any tips?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. bking

    bking Well-Known Member

    Joined:
    Mar 1, 2004
    Messages:
    206
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    Sydney
    Tried restarting MySQL so that it recreates the socket?
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    22
    Trophy Points:
    463
    Location:
    Go on, have a guess
    ...and if that doesn't work, do the following:

    ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock
    /etc/init.d/mysql restart
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    343
    Hello

    what is /scripts/securetmp and how to Enable/Disable it ?

    Thank you
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. SarcNBit

    SarcNBit Well-Known Member

    Joined:
    Oct 14, 2003
    Messages:
    1,010
    Likes Received:
    3
    Trophy Points:
    168
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