Pages (3): 1 2 3   
Member
Member
nbruley   15-04-2013, 04:06
#1

Any idea why the description of the album at
http://share.gospelriver.com/index.php?album=bookmarks/Espanol would disappear after an upgrade to 1.4.4.3? The description was there until I updated the page after the upgrade, then it disappeared... This seems to happen on any page.

Zenphoto version 1.4.4.3 [3b80873e70] (Official build)
Current locale setting: en_US.UTF8
Server path: /home1/mysitecr/public_html/gospelriver/gallery
WEB path:
Current gallery theme: Effervescence+nb
PHP version: 5.3.22
Graphics support: PHP GD library bundled (2.0.34 compatible)
supporting: gif, jpg, jpeg, png, bmp
PHP memory limit: 128M (Note: Your server might allocate less!)
MySQLi version: 5.5.30
Database name: mysitecrznp2
Table prefix: zp

Spam filter: simpleSpam
CAPTCHA generator: zpCaptcha
Site status: The site is opened

Administrator
Administrator
fretzl   15-04-2013, 04:35
#2

I see the descriptions just fine.
That is, if
[i]Flores, 1 Corintios 13:4-8
Tesoros, Mateo 6:19
...etc[/i]
are indeed descriptions.

Member
Member
nbruley   15-04-2013, 11:59
#3

Those are image descriptions, not an album description. I'm using
This should work right?

Administrator
Administrator
acrylian   15-04-2013, 13:10
#4

Trie to remove the true in the brackets of printAlbumDesc() as that function does not have any parameters (anymore, it had once in the earlier days).

Member
Member
sbillard   15-04-2013, 16:38
#5

you can simply use printAlbumDesc() as if the description is empty, nothing gets printed.

Member
Member
nbruley   15-04-2013, 19:29
#6

I changed that, thanks--
I apologize, but maybe the actual main issue was in pages.php where this code doesn't return anything.
``
I checked the functions documentation and it looks fine, so maybe it's an issue with my server change and/or with other code on the page... I have php in the 2nd code block but don't know why that would make a difference since it works and is called later. I also experimented with page caching in my htaccess but I know the page is updating so don't know why that would make a difference.
I also notice that it seems to change to the French language on default when I visit the page sometimes for some odd reason.

Edit: album.php is still not showing the description sometimes, and it too wants to jump to French, at which point the description disappears. Very strange.

Member
Member
sbillard   15-04-2013, 20:24
#7

Is your site multi-lingual?

The language selection could be from your browser if you use the HTTP_accept_language selection. And if there is an empty string for the french description then the description would not show.

Member
Member
nbruley   15-04-2013, 21:51
#8

Yes, it is multilingual. I don't know why my browser would use French (it's set for English). It seems it happened most often when I went to a page linked in a button. When I change it back to English, the description is still missing. Also, I thought that blank entries defaulted to the default language as that is the way it has acted in the past...

Administrator
Administrator
acrylian   16-04-2013, 07:34
#9

It actually use the default. But it seems there is no description at all. I tried several languages and there is never one.

Are you sure you have an album description call in that modified theme?

Member
Member
nbruley   16-04-2013, 12:09
#10

Yes, I'm sure. I have gotten the description to appear randomly, and like I said, text disappeared from the page after I republished it. Very strange. Everything worked great until after one of the following:

  1. my server switch
  2. last zenphoto update
  3. possibly changing htaccess caching (but I kind of doubt this is the issue). And I've removed my changes already.

I didn't republish any pages or albums until after those three changes so not sure which one did it.

Administrator
Administrator
acrylian   16-04-2013, 14:21
#11

Strange issue. Since caches, especially in combination with browser caches, can play any sort of funny tricks if being too persistent I would check that first. Or disable it to see if it makes any difference.

Member
Member
nbruley   16-04-2013, 15:35
#12

Well, I already removed expires caching stuff from htaccess which I believe was set to 14 days. However, I have the same issues with other browsers I didn't use, and sounds like you have the same issue on your end after the cache expires stuff was removed.

I also just now purged the html cache in admin.

So no luck there...

Note that the description still shows up for http://share.gospelriver.com/bookmarks/

But since I published the page at
http://share.gospelriver.com/bookmarks/English/
the description has disappeared.

Administrator
Administrator
acrylian   16-04-2013, 16:54
#13

I am not sure I understand. Based on the url bookmarks is an album and English an subalbum of it. Then it would be absolutely normal that the subalbum would not show the description of its parent. So is there really an description for the album "English"?

Member
Member
nbruley   16-04-2013, 17:06
#14

Yes. see
http://gospelriver.com/temp/description.png

Member
Member
nbruley   16-04-2013, 17:16
#15

To add to the fun, I can add an album description here no problem:
http://share.gospelriver.com/video/
(which is checked unpublished)

I tried deleting the description in bookmarks/English and adding just a few plain words with no code, still the same issue.

I could just wait 14 days to verify it's not the cache, but seems strange that it would go to nothing and not just stay as it was if that were the issue.

I can also add a new page and the content shows up no problem, or I can add a subalbum and description beneath English bookmarks and that shows up.

When I add a Danish or French description in bookmarks/English however (which did not exist before), nothing shows.

Member
Member
nbruley   29-04-2013, 20:01
#16

To further add to the confusion, I re-created the page at http://share.gospelriver.com/index.php?p=pages&title=request-bookmark by copying my info from the original page and the recreated page rendered fine, even giving it the original URL.

However, I recreated the page at
http://share.gospelriver.com/index.php?p=pages&title=pedir-marcador#
and the description still would not show up. I ended up just copying the html into the code at the bottom.

I don't really want to recreate my albums since that would reset my stat counts but I may have to... that's the only other thing that I can't live with still...

Member
Member
sbillard   29-04-2013, 21:28
#17

Sorry, but maybe a little help here? I look at those two pages and see no difference (expect of course the language.) Just where is the description you are talking of?

Administrator
Administrator
acrylian   29-04-2013, 21:49
#18

I am also confused. Above we were talking about albums which have a description and now Zenpage pages which don't have an description but content.

I see also two pages and don't see what would be wrong there?

Member
Member
nbruley   30-04-2013, 03:32
#19

I'm sorry. I must not be explaining myself properly.

The two pages mentioned look the same because I added the html at the top of the second page within the code block so that I at least am able to give the users the content, though I can't add it with the WYSIWYG editor. It should have appeared as page content, but it does not.

I am experiencing two different difficulties. One difficulty is that the page content at http://share.gospelriver.com/index.php?p=pages&title=pedir-marcador is not displayed. The second difficulty is that the description at the top of the page http://share.gospelriver.com/bookmarks/English/ does not display after publishing it after my server upgrade.

I suspect this is my problem, not yours, but I have no clue what the problem might be. It is not a consistent problem so it seems that it is not a template code issue. I've had some issues with PHP compatibility and settings changes with the server change, but I'm not sure how that could be a cause either...

Administrator
Administrator
acrylian   30-04-2013, 07:14
#20

Quote:One difficulty is that the page content at http://share.gospelriver.com/index.php?p=pages&title=pedir-marcador is not displayed.
And what is what we see on that page if not the content? It is all in Spanish (a list) and below is a form.

Generally if you use codeblocks the theme must be setup to support them, otherwise they naturally will not show.

If English does not show it could mean that your server does not have a English locale installed. Did you check that? Try this script:
https://github.com/zenphoto/Unsupported/tree/master/misc/list_locales (Click on the file name and then click on "Raw" on the top right to download it).

Pages (3): 1 2 3   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.