• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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