My gallery has suddenly stopped working

enigmah

Joined: 2002-09-20
Posts: 19
Posted: Fri, 2002-09-20 16:18

Warning: SAFE MODE Restriction in effect. The script whose uid is 32366 is not allowed to access /home/prfilmca/public_html/albums/.users/.htaccess owned by uid 99 in /home/prfilmca/public_html/gallery/platform/fs_unix.php on line 53

Warning: fopen("/home/prfilmca/public_html/albums/.users/.htaccess", "w") - Inappropriate ioctl for device in /home/prfilmca/public_html/gallery/platform/fs_unix.php on line 53

Warning: fwrite(): supplied argument is not a valid File-Handle resource in /home/prfilmca/public_html/gallery/classes/gallery/UserDB.php on line 48

Warning: fclose(): supplied argument is not a valid File-Handle resource in /home/prfilmca/public_html/gallery/classes/gallery/UserDB.php on line 49

http://www.prfilm.ca/gallery/

Gallery v1.3

RedHat Linux

Apache 1.3

PHP version 4.1

:???: Please help

 
psg11

Joined: 2002-09-07
Posts: 54
Posted: Fri, 2002-09-20 17:48

Hi,

Gallery does not support safe mode. beside asking your ISP to turn safe mode back OFF, you can install a CGI version of PHP

phil

 
dj103158

Joined: 2002-09-03
Posts: 7
Posted: Fri, 2002-09-20 21:16

My gallery just stopped working, also. The directory to mine is similar to yours: /home/<something>/public_html/... I'll bet we have the same host. I've been thinking of switching, anyway.

 
Gurberly

Joined: 2002-08-24
Posts: 7
Posted: Sat, 2002-09-21 07:20

Hi there, I'm with http://www.ipowerweb.com too.

Looks like they upgraded their servers on Thursday 19th. They are now running php version 4.2.3 on redhat 6.2 and they enabled safe mode. I did ask them if it was a permanent switch and they said
"This is a permanent change. We may switch it back later, but for now it will stay in safe mode." :roll:

I have tried using running php as a cgi using the binary on Jesse Lamdins page, as per FAQ B.3, but it generates server configeration errors so I am guessing that that binary as it's compiled for php v 4.1.2 is not compatible for version 4.2.3

Us poor ipowerweb users don't have server access to create our own binaries. Does anyone out there have a binary out there already compiled that they could make available to other people ...i.e. redhat 6.2 php 4.2.3???

Many thanks

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2002-09-21 08:34
Quote:
I have tried using running php as a cgi using the binary on Jesse Lamdins page, as per FAQ B.3, but it generates server configeration errors so I am guessing that that binary as it's compiled for php v 4.1.2 is not compatible for version 4.2.3

You're not thinking this through. If you use the CGI version, you're using PHP v4.1.2 and you're no longer using the server PHP (4.2.3). It doesn't matter that they're different; they never interoperate.

What server errors do you get using the CGI version?

 
Gurberly

Joined: 2002-08-24
Posts: 7
Posted: Sat, 2002-09-21 09:27

ah thanks...sorry I hadn't realised they were totally independant

The error I'm getting is...
"The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator,

and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

I'll quickly confirm there is the revised .htaccess file in the same public_html/php-cgi directory. also that the cgi binary thingy is chmod 755 and had been renamed php.cgi in the public_html/cgi-bin folder. The .htaccess redirect seems to be working as the log record for that error reads as
"[Fri Sep 20 23:42:28 2002] [error] [client 62.253.128.8] Premature end of script headers: /home/pigyncom/public_html/cgi-bin/php.cgi"

This was generated by a
<?
phpinfo();
?> request in the http://www.pigyn.com/php-cgi/phpinfo.php

bharat...you said somewhere else that v2 of gallery should be able to work with safe mode, any indication when v2 may be released?

Many thanks

 
Gurberly

Joined: 2002-08-24
Posts: 7
Posted: Sat, 2002-09-21 14:17

Err wow!!!!! I'll be....

I just received a response from ipowerweb following a mail I sent them about switching to safe mode...

They said "Our servers were in the proccess of upgrades and maintenance. This should now be functioning properly. We apologize for the inconvenience."

Now tie that in with the response I had earlier about it being permanent
:smile:

Well I just looked at my gallery, and it seems to be functioning fine now, I can view/ upload and stuff so hopefully that is the end of it.

Hope you two other guys can now view OK. If not, drop the support guys a line.

bharat..again thanks for looking and taking an interest and trying to help. Much appreciated.

Cheers all :smile:

 
bpondugula

Joined: 2002-09-21
Posts: 2
Posted: Sat, 2002-09-21 15:55

Hello Gurberly,

If you are at IPOWERWEB, you donot get the messages and i still get the error messages. Also gallery complains that the albums are corrupt.
I have installed the gallery as a module under postnuke. I am still in the process of creating the website. Any help will be greatly appreciated.

Regards
Bharat Pondugula (No relation to the owner of this nice site)

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Mon, 2002-09-23 07:11

Post the URL to your Gallery and I'll check out your albums remotely.
Generally, though, if Gallery says they're corrupt, they're corrupt. The only
exception to this is if you have moved your albums from one OS to another
(especially between Windows and Unix).