Gallery2 blank page error

stueyboy
Posts: 101
Joined: Tue Mar 09, 2010 2:54 am

Re: Gallery2 blank page error

Postby stueyboy » Tue Mar 30, 2010 3:16 pm

I don't do manual installs for just this reason. Recent installs include Webmin and vtiger but I have deinstalled both since then. I'm puzzled as well. The errors I am getting from from firefox are like this;
Warning: Unknown property '-moz-opacity'. Declaration dropped.
Source File: http://gallery2/modules/core/data/gallery.css
Line: 529
and there are many from that css file and a few others (gallery.css, icons.css, theme.css). I'm reluctant to do a reinstall of the HDA so will see what I can do.

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: Gallery2 blank page error

Postby gboudreau » Wed Mar 31, 2010 9:34 pm

Please try to re-install Gallery 2.
I just committed a fix that might help you.

The main page of Gallery 2 would just not show.

It's a workaround for now; I couldn't find why PHP would crash, but I found a way to make it stop crashing.
- Guillaume Boudreau

stueyboy
Posts: 101
Joined: Tue Mar 09, 2010 2:54 am

Re: Gallery2 blank page error

Postby stueyboy » Sat Apr 03, 2010 1:22 pm

Thanks for trying to help but it isn't gallery2 related I am sure. vTiger does the same thing. Any clues on how to reinstall whatever controls the php end of things? Is this apache / ruby?

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

Re: Gallery2 blank page error

Postby cpg » Sat Apr 03, 2010 1:49 pm

FWIW, i uninstalled, reinstalled and it's working for me.

i noticed that i had to wait about a minute to access the page (what the heck?), otherwise it would ask me to save main.php or somesuch nonsense.

my hda is not at the very latest updates, though i am doing it right now in case it helps debug this.

in any case, when you try it, the log for the app

Code: Select all

/var/hda/web-apps/gallery2/logs/*_log
and the log for the server

Code: Select all

/var/log/httpd/*_log
are the things that will help fix this problem.

can you post those?
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 blank page error

Postby cpg » Sat Apr 03, 2010 3:13 pm

i updated everything on my system and gallery still works well.
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 blank page error

Postby cpg » Tue Apr 06, 2010 11:18 pm

hello, i had a chance to take a look at this issue.

apache dies with a segmentation violation.

i filed http://bugs.amahi.org/issues/show/499 to track this issue down. we're not the only one experiencing it, as this gallery bug is directly related (also in fedora 12, possibly related to php): http://gallery.menalto.com/node/95244

please login to the bug tracker and in that bug click on "watch" to track this issue.

this is a live app, so we should handle this with care.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

stueyboy
Posts: 101
Joined: Tue Mar 09, 2010 2:54 am

Re: Gallery2 blank page error

Postby stueyboy » Wed Apr 07, 2010 2:59 am

Thanks for looking in to this. I hope there is a fix as the gallery2 app is very nice in Amahi. I haven't looked at the Apache logs but I wil do later today to see if it the same thing on my machine

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: Gallery2 blank page error

Postby gboudreau » Wed Apr 07, 2010 5:00 am

Re-installing the Gallery 2 amahi application should fix the problem for now.
We're still investigating the real source of the problem, to fix it there, instead of hacking the Gallery 2 source.

Cheers.
- Guillaume Boudreau

stueyboy
Posts: 101
Joined: Tue Mar 09, 2010 2:54 am

Re: Gallery2 blank page error

Postby stueyboy » Fri Apr 16, 2010 2:13 pm

OK guys, a quick update on progress. I noted that recent fedora 12 updates had installed a new version of PHP, so in an attempt to get Gallery2 working again, I basically backed up all my data, re-installed the whole server again, including a clean fedora12 install and disabled all updates.

Bottom line, Gallery2 now works perfectly again, so it's not conclusive that the PHP update was responsible but there is a smoking gun pointing to it.

Just a quick question; is it OK to enable security updates to fedora or should I give them a miss for now just in case?

I mentioned it in the install thread but once again, thanks to the team, the whole re-install process went without a hitch..

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: Gallery2 blank page error

Postby gboudreau » Sat Apr 17, 2010 11:28 am

For those with an error/empty page when trying to login: the issue has been fixed.

Uninstall/re-install Gallery2, or just run the following command (as root):

Code: Select all

cd /var/hda/web-apps/gallery2 sed -ie "s/'mysqli'/'mysql'/" html/config.php
- Guillaume Boudreau

Who is online

Users browsing this forum: No registered users and 54 guests