No direct script access:

Ralf-Schlieper

Joined: 2005-09-25
Posts: 38
Posted: Tue, 2009-10-06 07:18

I have tried to install the Gallery 3 Beta 3 and again I get a blank page with a 'fatal Error'

I am able to see the mysql-tables. The installation was finished without errors.

I have the biggest dedicated Server from 1+1 (16 GB Ram etc.)

Here the adress
http://www.photogemeinschaft.de/

Here is my php-configuration:
http://www.photogemeinschaft.de/phpinfo.php

Here the log:
http://www.photogemeinschaft.de/var/logs/2009-10-06.log.php
"No direct script access."

Whats going wrong? I also had this problem with beta 1.

Thanks for your answer!

Ralf

Please visit my gallery if you are interested in good B/W-photos:
http://www.fotogemeinschaft.de

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Tue, 2009-10-06 15:53

You can't link directly to the logs like that, they are setup to prevent giving out information. Open the log in a text editor and copy the log entries to a text file or if they are just a few to a post.

Also check your server's error logs.

What version of Apache are you running?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Ralf-Schlieper

Joined: 2005-09-25
Posts: 38
Posted: Tue, 2009-10-06 19:32
Quote:
You can't link directly to the logs like that, they are setup to prevent giving out information. Open the log in a text editor and copy the log entries to a text file or if they are just a few to a post.
Also check your server's error logs.
What version of Apache are you running?

Here is the only error-message in the log:

"2009-10-06 08:18:00 +02:00 --- error: Uncaught Kohana_Database_Exception: There was an SQL error: - SHOW TABLES FROM `dbXXX` in file system/libraries/drivers/Database/Mysqli.php on line 142"

Apache Version: Modificated version of Apache 1.3 (modificated for dedicated Serverhosting from the hoster "1 and 1"; they have installed only the basics from Apache 1.3 and much more other modules):
Here the Server: http://www.1und1.info/xml/order/ServerPremiumQuadCoreXXL;jsessionid=2FDD05D688BE4CC0AE1C405FB4366EE7.TC30a?__frame=_top&__lf=Static&ordernow=true&linkType=&linkOrigin=ServerPremium
(QuadCore XXL MAnaged)

Thanks for help!

Ralf

Please visit my gallery if you are interested in good B/W-photos:
http://www.fotogemeinschaft.de

 
Ralf-Schlieper

Joined: 2005-09-25
Posts: 38
Posted: Tue, 2009-10-06 19:07

Perhaps the database Configuration is wrong (because of the new MySQL5 Hostname of 1 and 1 ?
I don't know, how to write the correct hostname

------------------------------
$config['default'] = array(
'benchmark' => false,

'persistent' => false,
'connection' => array(
'type' => 'mysqli',
'user' => 'dbXXX',
'pass' => 'XXX',
'host' => 'localhost:/tmp/mysql5.sock',
'port' => false,
'socket' => false,
'database' => 'dbXXX'
),
'character_set' => 'utf8',
'table_prefix' => 'g3_',
'object' => true,
'cache' => false,
'escape' => true
);
---------------------

Ralf

Please visit my gallery if you are interested in good B/W-photos:
http://www.fotogemeinschaft.de

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Tue, 2009-10-06 19:42

G3 is only supported on Apache 2.2 or newer and I doubt runs well if at all on Apache 1.3
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22892
Posted: Wed, 2009-10-07 00:58

Man, we really need a reliable way to detect Apache version in the installer.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Ralf-Schlieper

Joined: 2005-09-25
Posts: 38
Posted: Wed, 2009-10-07 07:18
Quote:
G3 is only supported on Apache 2.2 or newer and I doubt runs well if at all on Apache 1.3

Is this really true? G3 doesn't run on managed servers "from 1 and 1" (one of the biggest hosters worldwide: http://www.1and1.com )?

That would be really a pity! Because every managed server (beside the root-server) from "1 and 1" runs the same apache version.

My G2 runs perfectly on the mentioned server with over 60.000 Visitors and over 1/2 Mio. pageviews a month.

Ralf

Please visit my gallery if you are interested in good B/W-photos:
http://www.fotogemeinschaft.de

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2009-10-07 13:29

Then you're going to need to keep using G2 or change to a host that keeps their software current.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22892
Posted: Wed, 2009-10-07 13:46
Quote:
Is this really true? G3 doesn't run on managed servers "from 1 and 1" (one of the biggest hosters worldwide: http://www.1and1.com )?

Short answer: Yes.
Long answer: Yes, it is true that Apache 2.2 or newer is needed. If some hosts can't or wont keep up with secure software with more features then their users will have to put pressure on them to get with the times. The other option is leave to a better host.
There has been security issues with Apache 1.3 and we as a project can't have our security reputation tarnished due to this issue.
We also take advantage of some new features available in more modern versions.
More reasons if you care to ask.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
christian.busch

Joined: 2007-08-20
Posts: 8
Posted: Sun, 2010-10-24 13:02

uncommenting this in the /gallery3/.htaccess made my gallery3 installation work on godaddy shared.

<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteBase /gallery3 <---- edited this to point to my install dir
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?kohana_uri=$1 [QSA,PT,L]
RewriteRule ^$ index.php?kohana_uri=$1 [QSA,PT,L]
RewriteRule ^index.php/(.*) $1 [QSA,R,L]
</IfModule>