A couple of albums no longer appearing
BillWill
Joined: 2008-08-28
Posts: 205 |
Posted: Mon, 2012-06-11 17:49 |
Three out of five of my main albums are appearing, but two of them just show a blank page. I ran debug on it, and got this message: Quote:
Fatal error: Uncaught exception 'Kohana_PHP_Exception' with message 'Undefined offset: 1' in /home/username/public_html/album/system/libraries/I18n.php:60 Stack trace: #0 /home/username/public_html/album/system/libraries/I18n.php(60): Kohana_PHP_Exception_Core::error_handler(8, 'Undefined offse...', '/home/username/...', 60, Array) #1 /home/username/public_html/album/system/libraries/I18n.php(93): I18n_Core::get_text('Undefined offse...') #2 /home/username/public_html/album/system/core/Kohana_Exception.php(42): __('Undefined offse...', NULL) #3 /home/username/public_html/album/system/libraries/Kohana_PHP_Exception.php(60): Kohana_Exception_Core->__construct('Undefined offse...') #4 /home/usernameg/public_html/album/system/libraries/Kohana_PHP_Exception.php(95): Kohana_PHP_Exception_Core->__construct(8, 'Undefined offse...', '/home/username/...', 60) #5 [internal function]: Kohana_PHP_Exception_Core::shutdown_handler(NULL) #6 /home/username/public_html/album/system/core/Event.php(208): call_user_func_array(Array, Array) #7 in /home/username/public_html/album/system/libraries/I18n.php on line 60 I tried Kunz's suggestion of commenting out ob_end_clean() from system/core/Kohana.php I have only activated two mods since it worked last, and have deactivated them both. This, plus the fact that it only affects two out of five galleries is hopefully useful. Just tried running Fix your Gallery twice. Both times it got stuck on 138739 of 138741 operations. =========================== |
|
Posts: 205
Lots of mentions of this Kohana exception message, and I must have tried all the fixes mentioned, including the time zone.
I have tried organizing by creating a new album, then transferring all the subs into it, and after running the fix gallery again, still 138739 out of 138741 operations complete. Also Rebuild images says I have to out of date photos. I ran that, and nothing changed. The out come of all this, is that I now have three albums down instead of two.
Although these three albums don't show anymore, they all show up in the organize module, and the files are still all in the var folder.
While three albums don't seem like a lot, since each contains a year's worth of images. That includes the current year that people are most wanting to see, including a shoot from last Friday.
Any help on getting this back online would be most appreciated.
update:
Found a new version online, so installed 3.04 (Ricochet)
Now all albums but the current one showed content. The current one said it was unwritable. Ran Fix your gallery, and now things seem ok.
Just downloaded and activated menu_links, custom_menus and items_links again. So far so good ...
===========================
Version: 3.0.3 (Hotlanta)
Operating system: Linux 2.6.18-194.11.4.el5
Apache/2.2.21
PHP: 5.3.8
MySQL: 5.0.95
Clean Canvas theme
Graphics Toolkit = ImageMagick
Albums: 199
Photos: 68913
Posts: 205
Still looks good. It appears that whatever the issue was, the Ricochet version fixed it. Thanks core team for keeping things moving forward.
===========================
Version: 3.0.3 (Hotlanta)
Operating system: Linux 2.6.18-194.11.4.el5
Apache/2.2.21
PHP: 5.3.8
MySQL: 5.0.95
Clean Canvas theme
Graphics Toolkit = ImageMagick
Albums: 199
Photos: 68913
Posts: 205
What a freakin nightmare!
After wrestling with this all day yesterday, and finally reinstalling everything from scratch, today again the two albums disappeared.
So I disabled every single mod, went to a fresh theme, and things worked. Then reactivated each mod one at a time until it stopped working.
FINALLY figured out what was causing this: about_this_album, version 1.
Ahhh......
I'll send a pm to the author.
===========================
Version: 3.0.3 (Hotlanta)
Operating system: Linux 2.6.18-194.11.4.el5
Apache/2.2.21
PHP: 5.3.8
MySQL: 5.0.95
Clean Canvas theme
Graphics Toolkit = ImageMagick
Albums: 199
Photos: 68913
Posts: 27300
I have tried the about this album module and can't duplicate your issue.
Can you show a link to your install or give some details of album names or something that might case a issue.
Clear the content of the view block file to see if the block file is the issue or if the php file in the helper.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 205
Hi Dave -
I uploaded and activated the mod again.
2012, 2009, 2008 work.
2010 and 2011 don't.
I then deleted the entire contents of /modules/views/about_this_album.html.php and reuploaded it. Still can't access those two albums.
I put the file back with its contents, and I deleted the contents of the /modules/views/about_this_album_block.php file and uploaded it, and everything shows up.
===========================
Version: 3.0.3 (Hotlanta)
Operating system: Linux 2.6.18-194.11.4.el5
Apache/2.2.21
PHP: 5.3.8
MySQL: 5.0.95
Clean Canvas theme
Graphics Toolkit = ImageMagick
Albums: 199
Photos: 68913
Posts: 27300
OK great now we can narrow things down
Try this file and let me know the results. I suspect some query but just guessing at this stage. rename to about_this_album_block.php
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 205
Just tried it. Same albums show as before, same albums don't show.
===========================
Version: 3.0.4 (Ricochet)
Operating system: Linux 2.6.18-194.11.4.el5
Apache/2.2.21
PHP: 5.3.8
MySQL: 5.0.95
Clean Canvas theme
Graphics Toolkit = ImageMagick
Albums: 199
Photos: 68913
Posts: 27300
Do you have the tag module activated?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 205
yes
===========================
Version: 3.0.4 (Ricochet)
Operating system: Linux 2.6.18-194.11.4.el5
Apache/2.2.21
PHP: 5.3.8
MySQL: 5.0.95
Clean Canvas theme
Graphics Toolkit = ImageMagick
Albums: 199
Photos: 68913
Posts: 27300
I have not forgot about you.
Give me some time.
It might go a bit faster if you can PM me (Write to author) FTP access to the modules directory as I can't reproduce this issue.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 205
Hello Dave -
I figured you hadn't forgotten me. I'm currently using another mod, but would prefer to use yours for its functionality. I sent you a PM a few days ago with my admin login, and will do the same for ftp access to the modules. Now that my album is back up, I'm not as rushed as I was before. The only troubleshooting I've done since the laundry list above is I tried removing the php include that puts my site header and menu over the gallery, and that didn't help things either.
Thanks!
===========================
Version: 3.0.4 (Ricochet)
Operating system: Linux 2.6.18-194.11.4.el5
Apache/2.2.21
PHP: 5.3.8
MySQL: 5.0.95
Clean Canvas theme
Graphics Toolkit = ImageMagick
Albums: 199
Photos: 68913
Posts: 25
I am having the same problem as BillWill. I will try to post my problems seperately here:
http://gallery.menalto.com/node/107102
Posts: 27300
Then your issue is different.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team