[WINDOWS] Installation successfull but gallery doesn't load.

DaaT

Joined: 2006-03-24
Posts: 11
Posted: Sat, 2010-10-09 18:48

Think I'm doing something wrong. Created a sub-domain and uploaded all the files and folders (not the "gallery3" folder but all inside of it so index.php is on the sub-domain root). Accessing the site through the index.php file wouldn't take me to the installer so had to go through url/installer/index.php and followed the steps it requested. It gave me the new user/pass for the admin and gave me a "Sucess!" message with the link to "Start using your gallery".

But when trying to access it keeps giving me a http 500 error. Any clues?

Thanks in advance.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2010-10-09 23:34

Anything in your apache2 error logs or your gallery3/var/logs error logs?
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git

 
DaaT

Joined: 2006-03-24
Posts: 11
Posted: Sat, 2010-10-09 23:41

Don't know where to check for apache2 logs, sorry. As for /var/logs, it's empty except for the htaccess file.

 
DaaT

Joined: 2006-03-24
Posts: 11
Posted: Tue, 2010-10-12 11:05

Any ideas?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2010-10-12 13:30

you'll need to ask your host about checking the apache error logs.

Who's your host, we have seen some host specific issues:
FAQ: Host specific issues the community has found
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
DaaT

Joined: 2006-03-24
Posts: 11
Posted: Tue, 2010-10-12 14:31

Thanks nivekiam, just contacted them (it's Dreamhost btw).

 
DaaT

Joined: 2006-03-24
Posts: 11
Posted: Tue, 2010-10-12 17:04

Ok, here's the error.log output:

[Tue Oct 12 04:58:51 2010] [error] [client 78.105.243.120] File does not exist: /home/restofpath/modules/gallery/images, referer: http://url/installer/index.php
[Tue Oct 12 04:58:51 2010] [error] [client 78.105.243.120] File does not exist: /home/restofpath/missing.html, referer: http://url/installer/index.php
[Tue Oct 12 09:30:55 2010] [error] [client 66.33.206.8] File does not exist: /home/restofpath/modules/gallery/images, referer: http://url/installer/index.php
[Tue Oct 12 09:30:55 2010] [error] [client 66.33.206.8] File does not exist: /home/restofpath/missing.html, referer: http://url/installer/index.php

Also, with error reporting enabled I get these:

Warning:
require(/home/restofpath/system/core/Event.php)
[function.require]: failed to open stream: No such file or directory in
/home/restofpath/application/Bootstrap.php on
line 34

Fatal error: require() [function.require]: Failed opening required
'/home/restofpath/system/core/Event.php'
(include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in
/home/restofpath/application/Bootstrap.php on
line 34

Something I'm doing wrong?

 
DaaT

Joined: 2006-03-24
Posts: 11
Posted: Tue, 2010-10-12 17:17

Ok, there were _a lot_ of files missing from the installation... weird.. I'm just going to delete them all, reupload and start from scratch. I'll update the thread once I'm done.

 
DaaT

Joined: 2006-03-24
Posts: 11
Posted: Tue, 2010-10-12 17:25

Yep, that was it. Installation went fine this time, going to test importing from my current G2 gallery.

Thanks for the help :)

 
betalif

Joined: 2009-10-18
Posts: 9
Posted: Fri, 2010-10-15 19:12

Hi there,

installation on my HomeServer was quite easy,
but after the installation I also got an white page.
IE says Error 500 (internal server error)

so I tried to find a solution and found in FAQs

I get an error 500 when I visit my Gallery 3 install for the first time

This probably means that your webserver doesn't support the "php_flag" command in the .htaccess file provided with Gallery 3. Solutions are:

1. edit your php.ini file and set "short_open_tag" to 1
2. edit your apache configuration file to allow per-directory overriding of Options or All (note that this has implications to broad to discuss here):

<Location "/gallery3/">
AllowOverride +Options
</Location>

short open tag is on (as checked before installation)
For the 2nd solution I need some help for running on IIS 6 (not apache).

Any idea?

Thanks

Andi

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2010-10-19 16:24

Windows isn't officially supported for G3 at all. There is this guide:
http://codex.gallery2.org/Gallery3:Installation_on_Windows_Server_2008_and_IIS7

I know the guy who wrote that won't touch IIS6 and neither will we. You're on your own there.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here