[Solved]: edit: 3 small bugs : Item 2 and 3 Still Open [Solved]: edit: 3 small bugs : Item 2 and 3 Still Open
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[Solved]: edit: 3 small bugs : Item 2 and 3 Still Open

Started by efmoya, June 19, 2004, 11:27:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

efmoya

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/
Ephraim F. Moya

omniscientdeveloper

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

merlinti

Hi

I'm also getting the "0 albums" thing when I have 12 of them in the "* No category *" section.
Version 1.3.
------------------------------------->>
Eric P.

Joachim Müller


merlinti

------------------------------------->>
Eric P.

Joachim Müller

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

efmoya

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?
Ephraim F. Moya

Joachim Müller

If it fixes things for you, why bother?

GauGau

merlinti

------------------------------------->>
Eric P.

efmoya

Quote from: GauGau on June 23, 2004, 06:00:20 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.
Ephraim F. Moya

Tarique Sani

Quote from: 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);
Oh! this was a known problem and was fixed in CVS - you seem to have old files
SANIsoft PHP applications for E Biz

efmoya

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?
Ephraim F. Moya

Joachim Müller

For anonymous checkouts  (read-only cvs access) there are two options: either use webcvs 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 (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