Author Topic: Error after upgrade to 1.5  (Read 9318 times)

0 Members and 1 Guest are viewing this topic.

Offline moremojo

  • Pre-Newbie
  • Posts: 4
    • View Profile
Error after upgrade to 1.5
« on: May 06, 2002, 01:15:53 AM »
Warning: SAFE MODE Restriction in effect. The script whose uid is 10225 is not allowed to access ./data/media/8/004.jpg owned by uid 2526 in /usr/local/psa/home/vhosts/XXXXXXX/httpdocs/4images/includes/functions.php on line 284

Warning: getimagesize: Unable to open './data/media/8/004.jpg' for reading. in /usr/local/psa/home/vhosts/XXXXXX/httpdocs/4images/includes/functions.php on line 284


 (xxxxx is commented out by me... )


I didn't have this problem with the beta. I know the gd library / autothumbnailgenerator isn't working in php safe mode...

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Error after upgrade to 1.5
« Reply #1 on: May 06, 2002, 07:27:53 AM »
Hi,

to supress the error message, change line 284 to:

Code: [Select]
if (!$remote_file && $imageinfo = @getimagesize($file, $info)) {

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline moremojo

  • Pre-Newbie
  • Posts: 4
    • View Profile
Error after upgrade to 1.5
« Reply #2 on: May 06, 2002, 02:51:40 PM »
great that worked!

thnx jan

Offline Jack

  • Newbie
  • *
  • Posts: 15
    • View Profile
Error after upgrade to 1.5
« Reply #3 on: July 10, 2002, 03:27:02 PM »
Warning: SAFE MODE Restriction in effect. The script whose uid/gid is 1281/100 is not allowed to access ./../data/media/23 owned by uid/gid 30/65534 in /www/user/web8213/html/lodderweiber/4images/admin/checkimages.php on line 189

beim checken einiger Gallerien nach neuen Bildern hab ich bei 5 von 25 Gallerien diesen Fehler ???
Die chmods sind gecheckt!
Das Leben ist schön...