forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: efmoya on June 19, 2004, 11:27:21 pm

Title: [Solved]: edit: 3 small bugs : Item 2 and 3 Still Open
Post by: efmoya on June 19, 2004, 11:27:21 pm
1) In installing 1.3.0 over 1.2.1 I found that the program crashed. It was because Coppermine was looking for a theme called 'default' at (init.inc.php ~line 330) There is no 'default' theme. I changed the word 'default' to 'classic' which fixed the problem.

2) The background in the 'admin tools' page is black. I found that the <td> for the sections in question do not have a class attribute. I added 'class="tablef" to two <td> tags at (util.php ~line 395, 410) which fixed the problem.

Edit:

My new 1.3.0 reports:

67 files in 0 albums with 6 comments viewed 1134 times

3) Note that 0 albums are reported. I actually have 4 albums. http://moya.us/MoyaFamily/Albums/
Title: Re: small bugs
Post by: omniscientdeveloper on June 20, 2004, 01:45:07 am
Indeed. It must've been changed back somehow. Anyway, make sure you go into the config page and set it to 'classic' or it may keep 'default' in the database.


-omni
Title: Re: edit: 3 small bugs : Item 2 and 3 Still Open
Post by: merlinti on June 21, 2004, 04:16:23 pm
Hi

I'm also getting the "0 albums" thing when I have 12 of them in the "* No category *" section.
Version 1.3.
Title: Re: edit: 3 small bugs : Item 2 and 3 Still Open
Post by: Joachim Müller on June 21, 2004, 06:23:05 pm
link?
Title: Re: edit: 3 small bugs : Item 2 and 3 Still Open
Post by: merlinti on June 21, 2004, 08:22:30 pm
Here is the link:
http://www.ericpaige.com/index.php?content=personal/personal_main.php&sub_content=../album
Title: Re: edit: 3 small bugs : Item 2 and 3 Still Open
Post by: Joachim Müller on June 22, 2004, 07:40:45 am
You're using a modified version (considering the url hack you applied), so it's not clear if the error comes from your modifications or "out-of-the-box". Please post a link to an unmodified version of coppermine where this happens.

GauGau
Title: Re: edit: 3 small bugs : Item 2 and 3 Still Open
Post by: efmoya on June 23, 2004, 05:43:40 am
I changed the line in index.php at about line 200 from:

    $result = db_query("SELECT count(*) FROM {$CONFIG['TABLE_ALBUMS']} as a WHERE category>0".$album_filter);

to:

    $result = db_query("SELECT count(*) FROM {$CONFIG['TABLE_ALBUMS']} as a WHERE category >= 0".$album_filter);

This seems to be the fix.

Am I right?
Title: Re: edit: 3 small bugs : Item 2 and 3 Still Open
Post by: Joachim Müller on June 23, 2004, 06:00:20 am
If it fixes things for you, why bother?

GauGau
Title: Re: edit: 3 small bugs : Item 2 and 3 Still Open
Post by: merlinti on June 23, 2004, 06:46:03 am
It works ! :)
Thanks efmoya.
Title: Re: [Solved]: edit: 3 small bugs : Item 2 and 3 Still Open
Post by: efmoya on June 23, 2004, 08:51:05 am
If it fixes things for you, why bother?

I thought that the author of index.php might know why the subject line is the way it is. Also, you might want to change the file for future downloaders.
Title: Re: edit: 3 small bugs : Item 2 and 3 Still Open
Post by: Tarique Sani on June 23, 2004, 09:05:19 am
I changed the line in index.php at about line 200 from:
    $result = db_query("SELECT count(*) FROM {$CONFIG['TABLE_ALBUMS']} as a WHERE category>0".$album_filter);
to:
    $result = db_query("SELECT count(*) FROM {$CONFIG['TABLE_ALBUMS']} as a WHERE category >= 0".$album_filter);
Oh! this was a known problem and was fixed in CVS - you seem to have old files
Title: Re: [Solved]: edit: 3 small bugs : Item 2 and 3 Still Open
Post by: efmoya on June 23, 2004, 05:07:23 pm
That's interesting. I have version 1.3.0 that I downloaded a week ago. I looked at the bug list and I didn't find anything about this bug.

A couple of questions.

1) How do you access cvs?

2) What are the requirements for joining the dev team?
Title: Re: [Solved]: edit: 3 small bugs : Item 2 and 3 Still Open
Post by: Joachim Müller on June 23, 2004, 05:21:20 pm
For anonymous checkouts  (read-only cvs access) there are two options: either use webcvs (http://cvs.sourceforge.net/viewcvs.py/coppermine/) to browse the cvs repository (drawback: you have to download all files manually; very time-consuming to check out the whole project) or check out using a cvs client (http://sourceforge.net/cvs/?group_id=89658) (drawback: you have to install cvs software on your machine which can be quite frustrating to get it running; on Windoze Tortoise is recommended).
We have no explicit policy set in stone for dev team membership; the best way to join is by contributing (hacks, mods, themes, language files, graphics, documentation etc.) or by doing support work on the board. Either way you can prove your skills and show your readiness to work in a team.

GauGau