forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: zom on October 19, 2003, 05:18:23 pm

Title: no more blank page but still troubles
Post by: zom on October 19, 2003, 05:18:23 pm
Now after one night without doing anything I had good surprise that coppemine was working (no more index.php blank page) BUT it runs very slow several seconds before acessing the index page and I discover that I can't use the new searchnew.php for adding pictures: gives nothing.

So I have uploaded the old searchnew.php from version 1.1 and now no problem.

I have notice that all files of the 1.2 version are more heavy than the version 1.1 exemple index.php 27 k now it was 17 k and so on.

For myself I use my own server (amd duron 1giga not running in safe mode) the version 1.1 was working fine and I wonder if it is not to early to install the version 1.2.

Does anyone have problem like me?
What do you advise to reinstall version 1.1 to try to install again version 1.2?

Thanks to everyone for comments :wink:
Title: blank page
Post by: mayo on October 23, 2003, 09:24:02 pm
Hi folks
I have same problem with blank index.php. It runs one day and on next my index.php is displaying blank page. I tried to correct in index.php and I realized that it can be problem with flush(); command, but I can't solve it.
Can anybody help?
Thanx, Mayo
Title: Re: blank page
Post by: mayo on October 23, 2003, 10:12:41 pm
Quote from: "mayo"
Hi folks
I have same problem with blank index.php. It runs one day and on next my index.php is displaying blank page. I tried to correct in index.php and I realized that it can be problem with flush(); command, but I can't solve it.
Can anybody help?
Thanx, Mayo


Yes  finally I found problem, it's flush command at the end of index.php.
I deleted flush(); in "case" section. now the source code:

            case 'breadcrumb':
                // Added breadcrumb as a separate listable blcok from config
                if ($breadcrumb != '' || count($cat_data) > 0) theme_display_breadcrumb($breadcrumb, $cat_data);
                break;

            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;

            case 'random':
                display_thumbnails('random', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
//                flush();
                break;

            case 'lastup':
                display_thumbnails('lastup', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
                flush();
                break;
            case 'lastalb':
                display_thumbnails('lastalb', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
                break;

            case 'topn':
                display_thumbnails('topn', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
                flush();
                break;

            case 'toprated':
                display_thumbnails('toprated', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
                flush();
                break;

            case 'lastcom':
                display_thumbnails('lastcom', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
                flush();
                break;

            case 'anycontent':
                if ($cat == 0) {
                    include('anycontent.php');
                }
//                flush();
                break;
Title: Same problem for me page
Post by: zom on October 24, 2003, 10:16:31 am
index page page appears ok only the one time after changing configuration and after it becomes a blank page (even in debug mode) the only way not to have blank parge for me is to put to 1 the thumbails on the first page with "no" in the diaog box concerning showing thumbails on first category level. :?