Photo Albums 7.2.1 seem broken

Hi,

Testing photo albums seems broken to me. Am testing 7.2.1. I upload a cover, which applies, but then when going to albums and clicking on an album I get:

 

http://www.example.com/{url}


and "Page not found". It is going to "{url}" (exactly that string) so no idea where that comes from.


This started happening after I downloaded the Dolphin Android app to test my site with it, and wanted to "move a photo from one album to another", then screen on the phone refreshed and I lost that photo, nowhere to be seen.

 

Going to the PC, clicking on any albums takes me to the "Page not found" error, even when deleting all albums, recreating them or new ones, can never view them without the "Page not found" error.

 

I will restore a backup of the site I made a couple of nights ago where I know I'm pretty sure I was able to click on albums and they worked.

 

Hopefully this problem isn't there, if it is that'll be holding me back from getting the site on-line.

Quote · 13 Dec 2015

Just as an update, I restored the VM prior to any Dolphin Android app changes and have the same problem with viewing "My Albums" and going to page not found.


Albums themselves can be viewed, but "My Albums" produces the failure.

 

So when I go to "My Albums" I can view "Photo Albums", but then selecting "Manage" there's "My Albums" on the bottom and clicking on those albums fails with "Page not found".

 

Any ideas?

 

Thanks.

Quote · 13 Dec 2015

Have you by any chance modified your sites .htaccess file?

A similar problem was reported here https://www.boonex.com/forums/topic/-url-instead-of-m-photos-view-on-7-2-1.htm which turned out to be an ExpiresBy entry in the .htaccess file which is not part of the .htaccess file dolphin includes.

I would try a fresh copy of that file from the original dolphin zip file.

https://www.deanbassett.com
Quote · 13 Dec 2015

Hi Team,

 

Almost an hour trouble-shooting this and reverting to different backups, and one of them (which didn't have any cache enabled) worked fine.

So I restored the most recent backup, turned off all caches, things worked.

Then I started turning them on one by one, deleting caches as I go, I found this one causes the problem:

 

Enable cache for HTML files
 
and it's reproducible each time ie. when I enable it the "My Albums" fails with Page not found.
 
Any ideas what would be causing this for this cache type? all other cache types are enabled and seem to work fine.
 
It's set to the default FileHtml.
 
Thanks.
Quote · 13 Dec 2015

Thank you for the report, I was able to reproduce it on demo.boonex.com:

https://github.com/boonex/dolphin.pro/issues/213

Rules → http://www.boonex.com/terms
Quote · 14 Dec 2015

Thank you. To answer your earlier query (I missed it that time), I didn't make any changes to the .htaccess, it's the default one used from the original 7.2.1 install.

 

Am glad you could reproduce it, so far the workaround is just to turn off the "Enable cache for HTML files" option.

Thanks.

Quote · 14 Dec 2015

Thank you for letting know! 

so far the workaround is just to turn off the "Enable cache for HTML files" option.

 

Rules → http://www.boonex.com/terms
Quote · 14 Dec 2015

been dealing with the problem for since week one of 7.2.1, if you poke around the cache files you'll actually see the {url} sitting in one or two of the template files in the /cache/ folder... the problem seems to show up on the second or third generation of the template cache rendering.

 

so i gave up and went the lazy way; i figure enough people will report this issue and it will be fixed soon enough but until then...

 

my lazy work around was just adding a cron job to clear the evo (or what ever you are using) template cache every 10 mins.

 

*/10 * * * * rm /[path to boonex]/cache/*evo*.php

 

granted its more of a band-aid on the problem, but its also on a very busy production site, never seen the issue myself or on the analytics after adding the cron job.

 

haven't seen any performance decline with this since you're only clearing a small part of your cache and it regenerates very fast

Quote · 14 Dec 2015

Hello

The issue was fixed.

Thank you for the report, I was able to reproduce it on demo.boonex.com:

https://github.com/boonex/dolphin.pro/issues/213

Quote · 14 Dec 2015

Thank you Anton, I manually applied the patch on the file and I can confirm the issue has been resolved.

This (hot)fix was within 24 hours, unbelievable, great work.

Quote · 14 Dec 2015
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.