Suddenly, blank Index. Suddenly, blank Index.
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Suddenly, blank Index.

Started by Fabricio Ferrero, June 30, 2009, 04:14:21 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Fabricio Ferrero

There is a user in this thread (in Spanish) that says that her gallery shows a blank index page.

Link: http://www.crepusculochile.com/galeria/

Since I was not able to fix the problem through forum, I asked for an FTP account and tried to fix it. Unfortunately, I can't. I re-upload all themes files, and I already update the gallery to 1.4.25.

The rest of the gallery is working, check here: http://www.crepusculochile.com/galeria/admin.php?theme=classic

I'm missing some tiny thing or is something out of my knowledge.

I would appreciate some help here.

Thanks!
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

Joachim Müller

http://www.crepusculochile.com/galeria/thumbnails.php?album=1 works as well, so the index or one of the files that the index is including is broken. Did you take a look at anycontent - maybe that file is broken. Go to the config panel and disable any custom include and the usage of anycontent temporarily.

Fabricio Ferrero

Quote from: Joachim Müller on June 30, 2009, 11:01:54 AM
Did you take a look at anycontent - maybe that file is broken.
Actually I did. I tried a lot of thing with this gallery, something weird is happening here. Now the gallery looks like "breadcrumb/catlist/" and despite that, is not working.

I even tried to remove the withe spaces in the themes files. Anyways, I replace them again with a fresh copy.

???
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

Joachim Müller

Please PM me the coppermine admin account and the FTP details.

Joachim Müller

Using the account data and FTP access you PMed me I was able to narrow things down: if you change "the content of the main page" in coppermine's config to "" or just "breadcrumb", the index page will show. Only if you set it to "bradcrumb/catlist/alblist", the index goes blank. The order doesn't matter,  nor does it matter if I enter "alblist" or "catlist" only - the result remains the same.
To make sure that this is not related to some broken file I replaced all files and got rid of the unused themes. The anycontent file looks OK as well as the config file, so I'm not sure what actually goes wrong. Quite frankly: I'm running out of ideas as well.

Nibbler

Try removing the flush() calls here in index.php


                    case 'catlist':
                        if ($breadcrumb != '' || count($cat_data) > 0) theme_display_cat_list($breadcrumb, $cat_data, $statistics);
                        if (isset($cat) && $cat == USER_GAL_CAT) {
                            list_users();
                        }
                        flush();
                        break;

                    case 'alblist':
                        list_albums();
                        flush();
                        break;


Joachim Müller

And again Nibbler saves the day: did as you suggested and voila: the index work as expected.

Fabricio Ferrero

WOW! I think this problem was going to be unsolved for ever!

Thank you very much Joachim for the time on this issue!

Thank you very much for you too Nibbler for bringing once again a fantastic solution!

Cheers,

:)
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

Joachim Müller

@Nibbler: do you think we should review the usage of flush if that is causing issues?