Gallery2 not able to access the admin page

eculcea
Posts: 5
Joined: Mon Jan 25, 2010 8:03 am

Gallery2 not able to access the admin page

Postby eculcea » Mon Jan 25, 2010 8:08 am

I just installed Amahi and along I installed several applications (Drupal, Webmin, etc.) All those applications can be accessed through the web browser. The only application that I can't access is Gallery2. When I enter http://gallery2 it redirects me to an world wide internet page http://guide.opendns.com/?url=gallery2. ... 2Fmain.php. I can't make it work. I even tried to reinstall everything from scratch. Gallery application seems to fit my needs really well and I would really like to make it work.
Thanks

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Gallery2 not able to access the admin page

Postby bigfoot65 » Mon Jan 25, 2010 11:09 am

Hello,

Sorry to hear you are having issues with Gallery 2. I made a few minor changes, so please try it again.

I would recommend you uninstall it, reboot your hda, then try reinstalling. If it still does not work, please attach the amai-app-install.log found at /var/log to your post.

I would like to ensure everything is installing as designed.

Thanks,
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

eculcea
Posts: 5
Joined: Mon Jan 25, 2010 8:03 am

Re: Gallery2 not able to access the admin page

Postby eculcea » Mon Jan 25, 2010 12:41 pm

I uninstalled it, reboot and installed again. Now it works. Thank you. :D

godders
Posts: 3
Joined: Mon Jan 25, 2010 3:49 pm

Re: Gallery2 not able to access the admin page

Postby godders » Mon Jan 25, 2010 3:54 pm

Thank you so much, I just thought I'd make a post to guide others to this thread as my problem manifested itself slightly differently. Each time I tried to access http://gallery2 I was redirected to Open DNS suggesting that I was looking for the Olympus web site.

http://guide.opendns.com/?url=gallery2. ... 2Fmain.php

tonboe
Posts: 1
Joined: Wed Dec 30, 2009 1:37 am

Re: Gallery2 not able to access the admin page

Postby tonboe » Mon Jan 25, 2010 4:07 pm

I have exactly the same issue and have tried the same things

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Gallery2 not able to access the admin page

Postby bigfoot65 » Mon Jan 25, 2010 8:18 pm

Please try it again. There was a problem with the app download site. I have corrected and tested it. It works good on my machine. This is a large download of about 14MB, so it may take a while to install. It includes support for all languages and plugins.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

snike3
Posts: 3
Joined: Wed Dec 09, 2009 5:23 pm

Re: Gallery2 not able to access the admin page

Postby snike3 » Mon Jan 25, 2010 8:44 pm

I hadn't accessed gallery2 since I upgrade to 5.1 from 5.0 and when I did it gave me just a white page that said "Error".

So I used Amahi to uninstall gallery2, rebooted, and then attempted to reinstall. Now http://gallery2 always goes to the opendns.org page for olympus.org like the others. I've examined the named entries as well as the apache virtual server setup. All appear to be correct.

If I access http://gallery2/main.php the gallery2 site appears to work.

I've tried multiple times to do the uninstall, reboot, install and it definitely isn't working. I even attempted to clear the amahi download cache in /tmp/amahi-download-cache before doing the procedure. The amahi log in /var/log shows no errors.

The problems seems to lie in the web-apps/gallery2/html/index.php redirection algorithm. Perhaps something was updated in gallery2 rather than amahi that's making this not work any more.

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Gallery2 not able to access the admin page

Postby cpg » Mon Jan 25, 2010 9:37 pm

this looks like a bug in the configuration of the app ...

when i try curl -v http://gallery2.home.com i get

Code: Select all

< HTTP/1.1 302 Found < Date: Tue, 26 Jan 2010 04:34:57 GMT < Server: Apache/2.2.14 (Fedora) < X-Powered-By: PHP/5.3.1 < Location: http://gallery2.olympus.com/main.php < Content-Length: 0 < Connection: close < Content-Type: text/html; charset=UTF-8
which is a redirection ...

also ... this config like contains the olympus site:

Code: Select all

config.php:194:$gallery->setConfig('baseUri', 'http://gallery2.olympus.com/main.php');
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Gallery2 not able to access the admin page

Postby cpg » Mon Jan 25, 2010 9:39 pm

filed http://bugs.amahi.org/issues/show/423

please go there and add yourself to the bug by clicking on "Watch"
(you may need to login to see the option to watch the bug)
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Gallery2 not able to access the admin page

Postby cpg » Mon Jan 25, 2010 10:00 pm

the workaround until this is fixed is doing this, both as root:

1 - change the domain from olympus.com to your domain (in my case, home.com)
in the url in like 194 (setConfig of baseUri) in
/var/hda/web-apps/gallery2/html/config.php

2- service httpd reload
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

Who is online

Users browsing this forum: No registered users and 44 guests