3.0.2 and I18n.php prevent use of error reporting

BillWill

Joined: 2008-08-28
Posts: 205
Posted: Tue, 2012-02-14 14:52

I'm having the same issue, although in my case it is only two albums that are having problems. Both albums are only containers for sub albums.

I have other albums like this that work fine - it is only these two.

 
gopu
gopu's picture

Joined: 2009-08-28
Posts: 137
Posted: Sun, 2012-02-05 20:10

The issue is resolved by doing the following:
1. Install G3 latest experimental version in a separate location
2. Delete the var folder of new installation
3. Copy the var folder from your older installation, causing the issue in context
4. Change 'table_prefix' value in database.php (under var folder) to match the newer installation
5. Delete items table of new installation
6. Rename (or copy) the items table of old installation.
7. Run maintenance tasks

I have no idea what caused the problem. But the above fixes the issue.

--------------------------------------------------------------------------------
my wings of love - work, experince, learnings, open source, technologies on my way to God

 
BillWill

Joined: 2008-08-28
Posts: 205
Posted: Wed, 2012-02-08 22:10

Thanks gopu for giving me something to work with.

I've already installed, imported from g2, reinstalled, and reimported, so the prospect of having to deal with this stuff again was not really that appealing. I then took an easier approach, based on your mentioning the database, and specifically the items table. What I did ended up fixing it, and it makes no sense as to why, but I'll report it here in case it helps fix this issue in future releases.

I renamed the items table you mentioned to items-bak. I then copied its structure to a new items table. Went to my gallery install, and got the famous "Dang" page.

I then went back into the database, deleted the items table, and renamed items-bak to items again. Went to the gallery page, and now the two albums I was having issues with work.

Still scratching my head about this, but I take my wins however they come.

Thanks for sending me in this direction!

===========================
Gallery 3.0.2
PHP - 5.3.8 cgi-fcgi
Apache/2.2.21 (Unix)
mysqli 5.0.92
Clean Canvas theme

Toolkits = Exif, Gd, ImageMagick

 
BillWill

Joined: 2008-08-28
Posts: 205
Posted: Tue, 2012-02-14 16:51

I just had a recurrence of the issue I mentioned, and what I posted above seems to be only a coincidence.

This time, I disabled all modules using the admin area, and re-enabled them one by one.

Seems in my case it is the "About this Album" module. Each time I enable it, the two albums I mentioned don't appear, and each time a disable it, they are fine. Again, all other albums are not affected.

Hope this helps someone.

===========================
Gallery 3.0.2
PHP - 5.3.8 cgi-fcgi
Apache/2.2.21 (Unix)
mysqli 5.0.92
Clean Canvas theme

Toolkits = Exif, Gd, ImageMagick

 
warchild

Joined: 2011-08-21
Posts: 7
Posted: Thu, 2012-03-22 03:16

none of this stuff gets me fully functioning.

right now, I have the gallery site.. all errors seem gone but I have it twice..... every page I get twice, every pop up i get twice. on top of each other.

on another note, the themes look to have stopped working as well, where is the theme folder? its not picking up my themes.

thanks

edit: fixed my theme problem. but still I am getting doubles... :\