Configuration problem after step 4 in gallery 1.5.8 on FreeBSD 7.0-RELEASE

casper007

Joined: 2008-08-25
Posts: 5
Posted: Mon, 2008-08-25 16:28
Quote:
The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): only localhost (127.0.0.1)
Gallery version: 1.5.8
Apache version: Apache/1.3.41 (Unix) PHP/5.2.6 with Suhosin-Patch 0.9.2.6

Loaded Modules mod_php5, mod_setenvif, mod_so, mod_unique_id, mod_log_forensic, mod_usertrack, mod_headers, mod_expires, mod_cern_meta, mod_proxy, mod_digest, mod_auth_db, mod_auth_anon, mod_auth, mod_access, mod_rewrite, mod_alias, mod_userdir, mod_speling, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_info, mod_status, mod_negotiation, mod_mime, mod_mime_magic, mod_log_config, mod_env, mod_vhost_alias, mod_mmap_static, http_core

PHP version (don't just say PHP 4, please):

PHP Version 5.2.6

Configure command
./configure' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-reflection' '--program-prefix=' '--enable-fastcgi' '--with-apxs=/usr/local/sbin/apxs' '--with-regex=php' '--with-zend-vm=CALL' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=i386-portbld-freebsd7.0'

Registered PHP Streams php, file, data, http, ftp
Server API Apache
Virtual Directory Support disabled
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered Stream Socket Transports tcp, udp, unix, udg
Registered Stream Filters string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed
PHP safe mode disabled, PHP exec function enábled on server

Graphics Toolkit: netpbm-10.26.56, ImageMagick-6.4.2.7
Operating system: FreeBSD cormallon.local.bsd 7.0-RELEASE-p3 FreeBSD 7.0-RELEASE-p3
Web browser/version (if applicable): Opera/9.51 (X11; FreeBSD 7.0-RELEASE-p3 i386; U; cs), Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.16) Gecko/20080722 Firefox/2.0.0.16

The problem, everything works correct, I configure option in configuration wizard like albums, email, slideshow, borders, etc etc. On step 4 I get resume of my option and after I click to save settings, only white page is displayed. Tested in Opera, Firefox results is the same, only white final page. Permisions on files .htaccess, config.php are set to 666, owner/group is www. So where the issues may sit?

thx casper

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Mon, 2008-08-25 17:13

Hello Casper,

Do you have access to the apache error logfile?

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
casper007

Joined: 2008-08-25
Posts: 5
Posted: Tue, 2008-08-26 11:38

Hello, yes if I am root, I have access, code bellow.

[Mon Aug 25 16:52:21 2008] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Mon Aug 25 16:52:22 2008] [notice] Apache/1.3.41 (Unix) PHP/5.2.6 with Suhosin-Patch configured -- resuming normal operations
[Mon Aug 25 16:52:22 2008] [notice] Accept mutex: flock (Default: flock)
[Mon Aug 25 16:55:02 2008] [error] [client 127.0.0.1] File does not exist: /usr/local/www/gallery/favicon.ico
[Mon Aug 25 17:03:24 2008] [error] PHP Warning:  require_once(/usr/local/www/gallery/classes/gallery/User.php) [<a href='function.require-once'>function.requi
[Mon Aug 25 17:03:24 2008] [error] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/usr/local/www
[Mon Aug 25 17:04:46 2008] [error] PHP Warning:  require_once(/usr/local/www/gallery/classes/gallery/User.php) [<a href='function.require-once'>function.requi
[Mon Aug 25 17:04:46 2008] [error] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/usr/local/www
[Mon Aug 25 17:04:50 2008] [error] PHP Warning:  require_once(/usr/local/www/gallery/classes/gallery/User.php) [<a href='function.require-once'>function.requi
[Mon Aug 25 17:04:50 2008] [error] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/usr/local/www
[Mon Aug 25 17:04:51 2008] [error] PHP Warning:  require_once(/usr/local/www/gallery/classes/gallery/User.php) [<a href='function.require-once'>function.requi
[Mon Aug 25 17:04:51 2008] [error] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/usr/local/www
[Mon Aug 25 17:04:52 2008] [error] PHP Warning:  require_once(/usr/local/www/gallery/classes/gallery/User.php) [<a href='function.require-once'>function.requi
[Mon Aug 25 17:04:52 2008] [error] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/usr/local/www
[Mon Aug 25 17:04:52 2008] [error] PHP Warning:  require_once(/usr/local/www/gallery/classes/gallery/User.php) [<a href='function.require-once'>function.requi
[Mon Aug 25 17:04:52 2008] [error] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/usr/local/www
[Mon Aug 25 17:04:53 2008] [error] PHP Warning:  require_once(/usr/local/www/gallery/classes/gallery/User.php) [<a href='function.require-once'>function.requi
[Mon Aug 25 17:04:53 2008] [error] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/usr/local/www
[Mon Aug 25 17:04:54 2008] [error] PHP Warning:  require_once(/usr/local/www/gallery/classes/gallery/User.php) [<a href='function.require-once'>function.requi
[Mon Aug 25 17:04:54 2008] [error] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/usr/local/www
[Mon Aug 25 17:07:29 2008] [error] [client 127.0.0.1] File does not exist: /usr/local/www/gallery/favicon.ico
[Mon Aug 25 17:11:21 2008] [error] PHP Warning:  require_once(/usr/local/www/gallery/classes/gallery/User.php) [<a href='function.require-once'>function.requi
[Mon Aug 25 17:11:21 2008] [error] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/usr/local/www
[Mon Aug 25 17:16:36 2008] [error] PHP Warning:  require_once(/usr/local/www/gallery/classes/gallery/User.php) [<a href='function.require-once'>function.requi
[Mon Aug 25 17:16:36 2008] [error] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/usr/local/www
[Mon Aug 25 17:17:02 2008] [error] [client 127.0.0.1] File does not exist: /usr/local/www/gallery/albums/
[Mon Aug 25 17:17:02 2008] [error] [client 127.0.0.1] File does not exist: /usr/local/www/gallery/favicon.ico
[Mon Aug 25 17:17:45 2008] [notice] caught SIGTERM, shutting down

do you know why that happens?

casper

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2008-08-26 12:20

How do the lines with the fatal error end?

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
casper007

Joined: 2008-08-25
Posts: 5
Posted: Wed, 2008-08-27 13:23

Hi, oh I am sorry, some malfunction in copy/paste :)

[Tue Aug 26 23:10:37 2008] [error] PHP Warning:  require_once(/usr/local/www/gallery/classes/gallery/User.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: Permission denied in /usr/local/www/gallery/setup/write.inc on line 33

[Tue Aug 26 23:10:37 2008] [error] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/usr/local/www/gallery/classes/gallery/User.php' (include_path='.:/usr/local/share/pear') in /usr/local/www/gallery/setup/write.inc on line 33

casper

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2008-08-27 14:12

Hi,

seems like a problem with the file '/usr/local/www/gallery/classes/gallery/User.php'
Is it present a readable for the webserver?

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
casper007

Joined: 2008-08-25
Posts: 5
Posted: Wed, 2008-08-27 14:35

Yes the file is present, permisions are set to 644, group/user is www. I thing that is readable to webserver, how to find out? I try to change permisions to 666, but without any effect.

casper

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2008-08-27 14:49

644 is okay.

Means its
read/writable for user
readable for groupmembers
readable for all others.

What are the permissions for the folder /usr/local/www/gallery/classes/gallery ?

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
casper007

Joined: 2008-08-25
Posts: 5
Posted: Thu, 2008-08-28 16:15

Hi, bingo, permisions on directory was wrong, maybe FreeBSD install mistake other directory has 755 already. I set it to 755 and now gallery works :) Thanks for navigation and help.

casper