• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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