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: Fatal error (help me please)  (Read 4464 times)

0 Members and 1 Guest are viewing this topic.

modelsfree

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
    • http://www.modelsfree.com
Fatal error (help me please)
« on: January 18, 2004, 06:10:16 pm »

I have this problem
Code: [Select]
Fatal error: Call to undefined function: theme_display_album_list_cat() in /home/modelsfr/public_html/db/index.php on line 493

what happens?

Tnx in advance!
Logged
I'm sorry for my english... my italian is better!

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Fatal error (help me please)
« Reply #1 on: January 18, 2004, 06:58:17 pm »

Have you modified your index.php.  Line 493 should read;
Code: [Select]
theme_display_album_list_cat($alb_list, $nbAlb, $cat, $PAGE, $totalPages);

Ceck and see if yours on the server is the same as this.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Fatal error (help me please)
« Reply #2 on: January 18, 2004, 10:17:59 pm »

I rather guess the theme has been over-modified. No use to look into this any further unless modelsfree gives us a link...

GauGau
Logged

modelsfree

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
    • http://www.modelsfree.com
Fatal error (help me please)
« Reply #3 on: January 19, 2004, 04:03:36 am »

Quote from: "casper"
Have you modified your index.php.  Line 493 should read;
Code: [Select]
theme_display_album_list_cat($alb_list, $nbAlb, $cat, $PAGE, $totalPages);

Ceck and see if yours on the server is the same as this.


Yes, is the same.

The link of my site is http://www.modelsfree.com/db
Logged
I'm sorry for my english... my italian is better!

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
Fatal error (help me please)
« Reply #4 on: January 19, 2004, 04:19:41 am »

Umm have you installed CPG?

http://www.modelsfree.com/db/install.php
Quote
The 'include' directory (located in the directory where you uploaded Coppermine) should be writable in order to save your configuration. Use your FTP program to change its mode to 777.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Fatal error (help me please)
« Reply #5 on: January 19, 2004, 06:59:55 am »

Quote
http://www.modelsfree.com/db/include/install.lock
Not Found
The requested URL /db/include/install.lock was not found on this server.
Moorey's right - you probably didn't install coppermine. Read the readme that comes with coppermine!

GauGau
Logged

modelsfree

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
    • http://www.modelsfree.com
Fatal error (help me please)
« Reply #6 on: January 19, 2004, 12:54:01 pm »

Quote from: "gaugau"
Quote
http://www.modelsfree.com/db/include/install.lock
Not Found
The requested URL /db/include/install.lock was not found on this server.
Moorey's right - you probably didn't install coppermine. Read the readme that comes with coppermine!

GauGau

I have upgraded from the 1.0 version following the instruction. During the upgrade has no error occoured.
Logged
I'm sorry for my english... my italian is better!

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
Fatal error (help me please)
« Reply #7 on: January 20, 2004, 05:05:49 am »

Quote from: "modelsfree"
I have upgraded from the 1.0 version following the instruction. During the upgrade has no error occoured.


Ok - big jump for an upgrade - I've no experience with 1.0 - 1.2 upgrades. You could, for a start change the cpg/include folder permission to 777.
Logged

modelsfree

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
    • http://www.modelsfree.com
Fatal error (help me please)
« Reply #8 on: January 22, 2004, 11:49:44 am »

Quote from: "moorey"
Quote from: "modelsfree"
I have upgraded from the 1.0 version following the instruction. During the upgrade has no error occoured.


Ok - big jump for an upgrade - I've no experience with 1.0 - 1.2 upgrades. You could, for a start change the cpg/include folder permission to 777.

The permission of cpg/include folder are on 777 but not works.
Logged
I'm sorry for my english... my italian is better!

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Fatal error (help me please)
« Reply #9 on: January 22, 2004, 03:42:04 pm »

Hi,

I've had a look at your site, and changed to different themes to see what happens.  They all get similar errors, calls to undefined functions, but the one constant I can see is this;

Quote
Notice: Undefined index: aid in /home2/modelsfr/public_html/db/include/functions.inc.php on line 1003


Line 1003 of include/fuctions.inc.php should read;
Code: [Select]
$thumb_list[$i]['aid'] = $row['aid'];

Try downloading a new copy of the fuctions.in.php and changing it on your site.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

modelsfree

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
    • http://www.modelsfree.com
Fatal error (help me please)
« Reply #10 on: January 30, 2004, 03:46:06 pm »

I've tried to change the theme directly within PhpMyAdmin and this time something has appeared!
The currently chosen theme is "hardwired" because it's the only one that produces less errors and perhaps this way one can figure the problem out.

I've got the debug mode unabled and varoius errors are shown on the page, one among them is "Notice: Undefined variable: tabs in..." and it stands at the beginning of each category.

What makes me scratch my head is that on the first page appear almost all the categories instead of the textual list and the images recently submitted as it used to be when the site was functioning well.

Hope that, having now more elements shown up for us to understand where the problem stands, someone will be able to help me to get the CPG running smoothly.

Thanx a lot in advance for any tip!  :D
Logged
I'm sorry for my english... my italian is better!

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Fatal error (help me please)
« Reply #11 on: January 30, 2004, 05:04:02 pm »

OK, you have lots of notices, but everything seems to be working.

Try switching debug mode off, and let us know exactly what is not doing what you want, and any error messages you get.  I didn't get any.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 18 queries.