Installation problem: can't start after installation

tonyn

Joined: 2009-03-06
Posts: 1
Posted: Fri, 2009-03-06 11:50

I got through the installation but attempting to start gallery caused Apache to seg fault.

Running index.php on cli generated below outputs (with many errors/warning). What am I missing and what should I try next?

Thanks in advance,
tony

<title>Warning Message</title>
<base href="http://php.net/" />
</head>
<body>
<style type="text/css">
div#framework_error { background:#fff; border:solid 1px #ccc; font-family:sans-serif; color:#111; font-size:14px; line-height:130%; }
div#framework_error h3 { color:#fff; font-size:16px; padding:8px 6px; margin:0 0 8px; background:#f15a00; text-align:center; }
div#framework_error a { color:#228; text-decoration:none; }
div#framework_error a:hover { text-decoration:underline; }
div#framework_error strong { color:#900; }
div#framework_error p { margin:0; padding:4px 6px 10px; }
div#framework_error tt,
div#framework_error pre,
div#framework_error code { font-family:monospace; padding:2px 4px; font-size:12px; color:#333;
white-space:pre-wrap; /* CSS 2.1 */
white-space:-moz-pre-wrap; /* For Mozilla */
word-wrap:break-word; /* For IE5.5+ */
}
div#framework_error tt { font-style:italic; }
div#framework_error tt:before { content:">"; color:#aaa; }
div#framework_error code tt:before { content:""; }
div#framework_error pre,
div#framework_error code { background:#eaeee5; border:solid 0 #D6D8D1; border-width:0 1px 1px 0; }
div#framework_error .block { display:block; text-align:left; }
div#framework_error .stats { padding:4px; background: #eee; border-top:solid 1px #ccc; text-align:center; font-size:10px; color:#888; }
div#framework_error .backtrace { margin:0; padding:0 6px; list-style:none; line-height:12px; }</style>
<div id="framework_error" style="width:42em;margin:20px auto;">
<h3>Warning Message</h3>
<p>An error was detected which prevented the loading of this page. If this problem persists, please contact the website administrator.</p>
<p><tt>kohana/core/Kohana.php <strong>[138]:</strong></tt></p>
<p><code class="block">Cannot modify header information - headers already sent by (output started at /var/apache2/2.2/htdocs/gallery-3.0-alpha-2/kohana/core/Kohana.php:116)</code></p>
<h3>Stack Trace</h3>
<ul class="backtrace"><li><tt>kohana/core/Kohana.php <strong>[138]:</strong></tt><pre>header( Content-Type: text/html; charset=UTF-8 )</pre></li>
<li><tt>kohana/core/Bootstrap.php <strong>[37]:</strong></tt><pre>Kohana::setup( )</pre></li>

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7993
Posted: Mon, 2009-03-16 11:06

It's saying that line 116 of kohana/core/Kohana.php generated some output. That line is:

  date_default_timezone_set(empty($timezone) ? date_default_timezone_get() : $timezone);

Verify your install, make sure it's ok (maybe try reinstalling the code). What version of PHP are you using? Make sure you're using 5.2.3 or more recent. Do you see any other errors on the page or in the Kohana logs (under var/logs)?

 
gadulia
gadulia's picture

Joined: 2006-05-11
Posts: 60
Posted: Tue, 2009-03-31 09:15

Hi
I too can't start after installation. I did install Gallery3 Alpha2 without problems, but Alpha3 does not run at all.

Following line appears. "Fatal error: Exception thrown without a stack frame in Unknown on line 0"

And, yes, I did install it a second time, I did download the files a second time. And more, four versions of Gallery2 are running on this server successufully for years.

Apache: 2.2.9 (Unix)
PHP Versionen: 5.2.6
Perl: 5.8.8

View: http://www.k-text.ch/gallery3 (This link will be deleted after the final version is out!)

http://www.swissphoto.net
http://www.bilderforum.ch
firebug..., firebug..., firebug...

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7993
Posted: Tue, 2009-03-31 20:41

Did you make sure you completely delete your alpha 2 install before installing alpha 3? I visited that link yesterday and it was complaining about a missing database column which happens when there's an A2 database with A3 code. If that doesn't resolve it, can you install the XDebug PHP extension? That should give us a more informative error message. Also please check your Apache error logs.

 
gadulia
gadulia's picture

Joined: 2006-05-11
Posts: 60
Posted: Wed, 2009-04-01 10:47

Ohh. I've missed that. So after I deleted the old one and installed Alpha3 it worked but there are still severall problems. Except that I am not able to upload pictures. It is possible to upload very small ones but a 60 KB-Picture is not accepted and the return is an "upload error: 500"

The pictures are actually uploaded but do not show. CHMOD ist set to 755 - diretories i.e. 644 - files.

I used Firefox 1.0.8 and Safari 3.2.1 to upload

Futhermore, I deleted the albums again, but the tags remain and cause a error, logically.

Links to the page: http://www.k-text.ch/gallery3/index.php/Griechenland

gadulia

http://www.swissphoto.net

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7993
Posted: Fri, 2009-04-03 07:53

Looks like you have safe_mode enabled and exec() disabled. I see from "Bild 1.jpg" that it says that its enabled, but from the error it looks like that's not the case. Right now, Gallery3 requires exec() in order to function.