Advanced search  

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]

Pages: [1]   Go Down

Author Topic: [Solved]: edit: 3 small bugs : Item 2 and 3 Still Open  (Read 7661 times)

0 Members and 1 Guest are viewing this topic.

efmoya

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
    • http://moya.us
[Solved]: edit: 3 small bugs : Item 2 and 3 Still Open
« 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/
« Last Edit: June 23, 2004, 06:48:08 am by GauGau »
Logged
Ephraim F. Moya

omniscientdeveloper

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 901
Re: small bugs
« Reply #1 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
Logged

merlinti

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 5
    • Web Developer
Re: edit: 3 small bugs : Item 2 and 3 Still Open
« Reply #2 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.
Logged
------------------------------------->>
Eric P.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: edit: 3 small bugs : Item 2 and 3 Still Open
« Reply #3 on: June 21, 2004, 06:23:05 pm »

link?
Logged

merlinti

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 5
    • Web Developer
« Last Edit: July 15, 2004, 01:40:11 am by merlinti »
Logged
------------------------------------->>
Eric P.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: edit: 3 small bugs : Item 2 and 3 Still Open
« Reply #5 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
Logged

efmoya

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
    • http://moya.us
Re: edit: 3 small bugs : Item 2 and 3 Still Open
« Reply #6 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?
Logged
Ephraim F. Moya

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: edit: 3 small bugs : Item 2 and 3 Still Open
« Reply #7 on: June 23, 2004, 06:00:20 am »

If it fixes things for you, why bother?

GauGau
Logged

merlinti

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 5
    • Web Developer
Re: edit: 3 small bugs : Item 2 and 3 Still Open
« Reply #8 on: June 23, 2004, 06:46:03 am »

It works ! :)
Thanks efmoya.
Logged
------------------------------------->>
Eric P.

efmoya

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
    • http://moya.us
Re: [Solved]: edit: 3 small bugs : Item 2 and 3 Still Open
« Reply #9 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.
Logged
Ephraim F. Moya

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Re: edit: 3 small bugs : Item 2 and 3 Still Open
« Reply #10 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
Logged
SANIsoft PHP applications for E Biz

efmoya

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
    • http://moya.us
Re: [Solved]: edit: 3 small bugs : Item 2 and 3 Still Open
« Reply #11 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?
Logged
Ephraim F. Moya

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Solved]: edit: 3 small bugs : Item 2 and 3 Still Open
« Reply #12 on: June 23, 2004, 05:21:20 pm »

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
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.