1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Error while running script

Discussion in 'Plesk for Linux - 8.x and Older' started by GattoPuzzolone, Jan 16, 2006.

  1. GattoPuzzolone

    GattoPuzzolone Guest

    We use Plesk 7.5 reloaded for Linux. A costumer of us is getting errors while running a script. See here 3 examples. Anybody suggestions??? According to the costumer it must be a "safe mode" setting but I can't find anything about "safe mode"...

    Note: The original domainname is replaced by domainname.nl.... You never know ;-))

    Warning: getimagesize(starnet/media/gallery/ourbuilding.jpg): failed to open stream: No such file or directory in /home/httpd/vhosts/domainname.nl/httpdocs/tienercentrum/starnet/modules/sn_allbum/shared.inc.php on line 678

    Warning: Division by zero in /home/httpd/vhosts/domainname.nl/httpdocs/tienercentrum/starnet/modules/sn_allbum/shared.inc.php on line 689

    Warning: imagecreatefromjpeg(starnet/media/gallery/ourbuilding.jpg): failed to open stream: No such file or directory in /home/httpd/vhosts/domainnames.nl/httpdocs/tienercentrum/starnet/modules/sn_allbum/shared.inc.php on line 696
  2. jwdick

    jwdick Guest

    I don't know if safe_mode is the problem, but you can check safe_mode in the /etc/php.ini script. You might try turning it off (if is on) and trying that. Be sure to make a backup copy of the existing php.ini file BEFORE editing, just in case.
  3. ShadowMan@

    ShadowMan@ Guest

    What value for php's 'openbasedir' statement do you have configured?

    Check in your /etc/php.ini file (this is the global file), as well as checking in the domain's vhost.conf and any .htaccess file for the domain.

    You an also use PHP's phpinfo() function to check the current settings for the domain. Create a .php file in the domain's docroot which calls the phpinfo() function, then browse to that file and it will display the current PHP settings (for that domain).

    Contents of the file: