• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Error while running script

G

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
 
Originally posted by GattoPuzzolone
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

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.
 
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:

<?php
phpinfo();
?>
 
Back
Top