Random permission errors

Neone

Joined: 2003-12-28
Posts: 54
Posted: Sun, 2005-07-31 18:05

I get a persmission error when I try to view my albums.
Everything goes fine untill I try to view a picture. Then I get a "You don't have permission to access /whybebored/gallery2/main.php on this server." error message. Permission for all folders and everything are as they should be. I tried to ask my server admin about the problem, but I was told to get a more specific error message than that. Obviously he has changed SOMETHING since everything was working a few days ago. He tells me that G2 is trying to do something that it's not allowed to - duuuh.

It's hard to explain the exact behaviour of the gallery since it's rather, hm, random somehow. Visit the page and try to surf around, refresh the pages etc. View the album, you get a few thumbnails etc. Make a visit and you'll understand why it's hard to describe the error message.

Thanks for any help!

----

Gallery URL (optional): http://www.uvpucko.com/whybebored/gallery2/
Gallery version: G2 Beta 4
Webserver (with version): Apache-version 1.3.33 (Unix)
Datatabase (with version): MySQL-version 4.1.13-standard
PHP version (eg 4.2.1): PHP-version 4.3.11
phpinfo URL (optional):

PHP Version 4.3.11

System 	Linux 6450a.fasteurohosting.com 2.6.9-11.ELsmp #1 SMP Wed Jun 8 17:54:20 CDT 2005 i686
Build Date 	Jul 28 2005 02:53:46
Configure Command 	'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml' '--enable-bcmath' '--enable-calendar' '--with-curl' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--with-gettext' '--with-imap' '--with-imap-ssl' '--with-kerberos' '--enable-magic-quotes' '--with-mysqli' '--with-mysql=/usr' '--with-openssl' '--enable-discard-path' '--with-pdflib' '--with-pear' '--enable-sockets' '--enable-track-vars' '--enable-versioning' '--with-zlib'
Server API 	Apache
Virtual Directory Support 	disabled
Configuration File (php.ini) Path 	/usr/local/Zend/etc/php.ini
PHP API 	20020918
PHP Extension 	20020429
Zend Extension 	20021010
Debug Build 	no
Thread Safety 	disabled
Registered PHP Streams 	php, http, ftp, https, ftps, compress.zlib

Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.0.7, Copyright (c) 2003-2005, by Zend Technologies with Zend Optimizer v2.5.10, Copyright (c) 1998-2005, by Zend Technologies

Configuration
PHP Core
Directive	Local Value	Master Value
allow_call_time_pass_reference	On	On
allow_url_fopen	On	On
always_populate_raw_post_data	Off	Off
arg_separator.input	&	&
arg_separator.output	&	&
asp_tags	Off	Off
auto_append_file	no value	no value
auto_prepend_file	no value	no value
browscap	no value	no value
default_charset	no value	no value
default_mimetype	text/html	text/html
define_syslog_variables	Off	Off
disable_classes	no value	no value
disable_functions	no value	no value
display_errors	On	On
display_startup_errors	Off	Off
doc_root	no value	no value
docref_ext	no value	no value
docref_root	no value	no value
enable_dl	On	On
error_append_string	no value	no value
error_log	error_log	error_log
error_prepend_string	no value	no value
error_reporting	2039	2039
expose_php	On	On
extension_dir	./	./
file_uploads	On	On
gpc_order	GPC	GPC
highlight.bg	#FFFFFF	#FFFFFF
highlight.comment	#FF8000	#FF8000
highlight.default	#0000BB	#0000BB
highlight.html	#000000	#000000
highlight.keyword	#007700	#007700
highlight.string	#DD0000	#DD0000
html_errors	On	On
ignore_repeated_errors	Off	Off
ignore_repeated_source	Off	Off
ignore_user_abort	Off	Off
implicit_flush	Off	Off
include_path	.:/usr/lib/php:/usr/local/lib/php	.:/usr/lib/php:/usr/local/lib/php
log_errors	On	On
log_errors_max_len	1024	1024
magic_quotes_gpc	On	On
magic_quotes_runtime	Off	Off
magic_quotes_sybase	Off	Off
max_execution_time	30	30
max_input_time	-1	-1
open_basedir	/home/uvpucko/:/usr/lib/php:/usr/local/lib/php:/tmp	no value
output_buffering	no value	no value
output_handler	no value	no value
post_max_size	55M	55M
precision	14	14
register_argc_argv	On	On
register_globals	On	On
report_memleaks	On	On
safe_mode	Off	Off
safe_mode_exec_dir	no value	no value
safe_mode_gid	Off	Off
safe_mode_include_dir	no value	no value
sendmail_from	no value	no value
sendmail_path	/usr/sbin/sendmail -t -i	/usr/sbin/sendmail -t -i
serialize_precision	100	100
short_open_tag	On	On
SMTP	localhost	localhost
smtp_port	25	25
sql.safe_mode	Off	Off
track_errors	Off	Off
unserialize_callback_func	no value	no value
upload_max_filesize	2M	2M
upload_tmp_dir	no value	no value
user_dir	no value	no value
variables_order	EGPCS	EGPCS
xmlrpc_error_number	0	0
xmlrpc_errors	Off	Off
y2k_compliance	Off	Off

Zend Optimizer
Optimization Pass 1 	enabled
Optimization Pass 2 	enabled
Optimization Pass 3 	enabled
Optimization Pass 4 	enabled
Optimization Pass 9 	disabled
Zend Loader 	enabled
License Path 	no value

apache
APACHE_INCLUDE 	no value
APACHE_TARGET 	no value
Apache Version 	Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.11 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a
Apache Release 	10333100
Apache API Version 	19990320
Hostname:Port 	www.uvpucko.com:80
User/Group 	nobody(99)/99
Max Requests 	Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts 	Connection: 5 - Keep-Alive: 15
Server Root 	/usr/local/apache
Loaded Modules 	mod_dosevasive, mod_auth_passthrough, mod_log_bytes, mod_bwlimited, mod_php4, mod_frontpage, mod_ssl, mod_setenvif, mod_so, mod_expires, mod_auth, mod_access, mod_rewrite, mod_alias, mod_userdir, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_status, mod_negotiation, mod_mime, mod_log_config, mod_env, http_core

Directive	Local Value	Master Value
child_terminate	0	0
engine	1	1
last_modified	0	0
xbithack	0	0

Apache Environment
Variable	Value
AUTH_TYPE 	Basic
DOCUMENT_ROOT 	/home/uvpucko/public_html
HTTP_CONNECTION 	close
HTTP_HOST 	uvpucko.com
HTTP_REFERRER 	uvpucko.com
HTTP_USER_AGENT 	Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
PATH 	/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
REMOTE_ADDR 	83.149.123.110
REMOTE_PORT 	34894
REMOTE_USER 	rvphpinfo
SCRIPT_FILENAME 	/home/uvpucko/public_html/rvf805e3484318f6f158ff6b313012015b/_rvphpinfo.php
SERVER_ADDR 	83.149.123.110
SERVER_ADMIN 	
SERVER_NAME 	www.uvpucko.com
SERVER_PORT 	80
SERVER_SIGNATURE 	no value
SERVER_SOFTWARE 	Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.11 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a
GATEWAY_INTERFACE 	CGI/1.1
SERVER_PROTOCOL 	HTTP/1.0
REQUEST_METHOD 	GET
QUERY_STRING 	no value
REQUEST_URI 	/rvf805e3484318f6f158ff6b313012015b/_rvphpinfo.php
SCRIPT_NAME 	/rvf805e3484318f6f158ff6b313012015b/_rvphpinfo.php

HTTP Headers Information
HTTP Request Headers
HTTP Request 	GET /rvf805e3484318f6f158ff6b313012015b/_rvphpinfo.php HTTP/1.0
Authorization 	Basic cnZwaHBpbmZvOjEyMzQ=
Connection 	close
Host 	uvpucko.com
Referrer 	uvpucko.com
User-Agent 	Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
HTTP Response Headers
X-Powered-By 	PHP/4.3.11
Connection 	close
Content-Type 	text/html

bcmath
BCMath support 	enabled

calendar
Calendar support 	enabled

ctype
ctype functions 	enabled

curl
CURL support 	enabled
CURL Information 	libcurl/7.12.0 OpenSSL/0.9.7a ipv6 zlib/1.2.1.2 libidn/0.5.6

ftp
FTP support 	enabled

gd
GD Support 	enabled
GD Version 	bundled (2.0.28 compatible)
GIF Read Support 	enabled
GIF Create Support 	enabled
JPG Support 	enabled
PNG Support 	enabled
WBMP Support 	enabled
XBM Support 	enabled

gettext
GetText Support 	enabled

imap
IMAP c-Client Version 	2001
SSL Support 	enabled
Kerberos Support 	enabled

mysql
MySQL Support	enabled
Active Persistent Links 	0
Active Links 	0
Client API version 	4.1.11
MYSQL_MODULE_TYPE 	external
MYSQL_SOCKET 	/var/lib/mysql/mysql.sock
MYSQL_INCLUDE 	-I/usr/include/mysql
MYSQL_LIBS 	-L/usr/lib -lmysqlclient

Directive	Local Value	Master Value
mysql.allow_persistent	On	On
mysql.connect_timeout	60	60
mysql.default_host	no value	no value
mysql.default_password	no value	no value
mysql.default_port	no value	no value
mysql.default_socket	no value	no value
mysql.default_user	no value	no value
mysql.max_links	Unlimited	Unlimited
mysql.max_persistent	Unlimited	Unlimited
mysql.trace_mode	Off	Off

openssl
OpenSSL support 	enabled
OpenSSL Version 	OpenSSL 0.9.7a Feb 19 2003

overload
User-Space Object Overloading Support 	enabled

pcre
PCRE (Perl Compatible Regular Expressions) Support 	enabled
PCRE Library Version 	4.5 01-December-2003

pdf
PDF Support 	enabled
PDFlib GmbH Version 	5.0.3
Revision 	$Revision: 1.112.2.11 $

posix
Revision 	$Revision: 1.51.2.3 $

session
Session Support 	enabled
Registered save handlers 	files user

Directive	Local Value	Master Value
session.auto_start	Off	Off
session.bug_compat_42	On	On
session.bug_compat_warn	On	On
session.cache_expire	180	180
session.cache_limiter	nocache	nocache
session.cookie_domain	no value	no value
session.cookie_lifetime	0	0
session.cookie_path	/	/
session.cookie_secure	Off	Off
session.entropy_file	no value	no value
session.entropy_length	0	0
session.gc_divisor	100	100
session.gc_maxlifetime	1440	1440
session.gc_probability	1	1
session.name	PHPSESSID	PHPSESSID
session.referer_check	no value	no value
session.save_handler	files	files
session.save_path	/tmp	/tmp
session.serialize_handler	php	php
session.use_cookies	On	On
session.use_only_cookies	Off	Off
session.use_trans_sid	On	On

sockets
Sockets Support 	enabled

standard
Regex Library 	Bundled library enabled
Dynamic Library Support 	enabled
Path to sendmail 	/usr/sbin/sendmail -t -i

Directive	Local Value	Master Value
assert.active	1	1
assert.bail	0	0
assert.callback	no value	no value
assert.quiet_eval	0	0
assert.warning	1	1
auto_detect_line_endings	0	0
default_socket_timeout	60	60
safe_mode_allowed_env_vars	PHP_	PHP_
safe_mode_protected_env_vars	LD_LIBRARY_PATH	LD_LIBRARY_PATH
url_rewriter.tags	a=href,area=href,frame=src,form=,fieldset=	a=href,area=href,frame=src,form=,fieldset=
user_agent	no value	no value

tokenizer
Tokenizer Support 	enabled

xml
XML Support 	active
XML Namespace Support 	active
EXPAT Version 	1.95.6

zlib
ZLib Support 	enabled
Compiled Version 	1.2.1.2
Linked Version 	1.2.1.2

Directive	Local Value	Master Value
zlib.output_compression	Off	Off
zlib.output_compression_level	-1	-1
zlib.output_handler	no value	no value

Additional Modules
Module Name

Environment
Variable	Value
CONSOLE 	/dev/console
SELINUX_INIT 	YES
TERM 	linux
INIT_VERSION 	sysvinit-2.85
PATH 	/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
runlevel 	3
RUNLEVEL 	3
PWD 	/
LANG 	en_US.UTF-8
previous 	N
PREVLEVEL 	N
SHLVL 	3
HOME 	/
RESTARTSRV 	1
_ 	/usr/local/apache/bin/httpd

PHP Variables
Variable	Value
PHP_SELF 	/rvf805e3484318f6f158ff6b313012015b/_rvphpinfo.php
PHP_AUTH_USER 	rvphpinfo
PHP_AUTH_PW 	1234
_SERVER["AUTH_TYPE"]	Basic
_SERVER["DOCUMENT_ROOT"]	/home/uvpucko/public_html
_SERVER["HTTP_CONNECTION"]	close
_SERVER["HTTP_HOST"]	uvpucko.com
_SERVER["HTTP_REFERRER"]	uvpucko.com
_SERVER["HTTP_USER_AGENT"]	Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
_SERVER["PATH"]	/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
_SERVER["REMOTE_ADDR"]	83.149.123.110
_SERVER["REMOTE_PORT"]	34894
_SERVER["REMOTE_USER"]	rvphpinfo
_SERVER["SCRIPT_FILENAME"]	/home/uvpucko/public_html/rvf805e3484318f6f158ff6b313012015b/_rvphpinfo.php
_SERVER["SERVER_ADDR"]	83.149.123.110
_SERVER["SERVER_ADMIN"]	
_SERVER["SERVER_NAME"]	www.uvpucko.com
_SERVER["SERVER_PORT"]	80
_SERVER["SERVER_SIGNATURE"]	no value
_SERVER["SERVER_SOFTWARE"]	Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.11 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a
_SERVER["GATEWAY_INTERFACE"]	CGI/1.1
_SERVER["SERVER_PROTOCOL"]	HTTP/1.0
_SERVER["REQUEST_METHOD"]	GET
_SERVER["QUERY_STRING"]	no value
_SERVER["REQUEST_URI"]	/rvf805e3484318f6f158ff6b313012015b/_rvphpinfo.php
_SERVER["SCRIPT_NAME"]	/rvf805e3484318f6f158ff6b313012015b/_rvphpinfo.php
_SERVER["PATH_TRANSLATED"]	/home/uvpucko/public_html/rvf805e3484318f6f158ff6b313012015b/_rvphpinfo.php
_SERVER["PHP_SELF"]	/rvf805e3484318f6f158ff6b313012015b/_rvphpinfo.php
_SERVER["PHP_AUTH_USER"]	rvphpinfo
_SERVER["PHP_AUTH_PW"]	1234
_SERVER["argv"]	

Array
(
)

_SERVER["argc"]	0
_ENV["CONSOLE"]	/dev/console
_ENV["SELINUX_INIT"]	YES
_ENV["TERM"]	linux
_ENV["INIT_VERSION"]	sysvinit-2.85
_ENV["PATH"]	/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
_ENV["runlevel"]	3
_ENV["RUNLEVEL"]	3
_ENV["PWD"]	/
_ENV["LANG"]	en_US.UTF-8
_ENV["previous"]	N
_ENV["PREVLEVEL"]	N
_ENV["SHLVL"]	3
_ENV["HOME"]	/
_ENV["RESTARTSRV"]	1
_ENV["_"]	/usr/local/apache/bin/httpd

Graphics Toolkit(s): netbpm, imagequick
Operating system: LINUX
Web browser/version: Firefox 1.0.6
G1 version (for migration bugs):

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-07-31 19:45

the forbidden error is a apache error, we can't do anything about it.
and you already say the webhost must have changed something.
no idea what it could be.
maybe your webhost moved your account around or used a backup and forgot to chown -R webserveruser your/path/g2data. but i don't think it's that.

 
ovisopa

Joined: 2007-06-19
Posts: 6
Posted: Sun, 2008-10-19 08:56

I have the same problem, and now I have upgraded to the last version of the gallery, 2.3 and it's still poping up the error.

I'm sure the error occures only when KeepAlive is activated on the server, but ther must be a bug or something in gallery, because I have made more than 100 websites and all work just fine on that server with keepalive activate, in fact everything loads up much faster if keepalive is active.

Please guys .. can you tell us what we can do to make it work ?