Fatal error (help me please) Fatal error (help me please)
 

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

Fatal error (help me please)

Started by modelsfree, January 18, 2004, 06:10:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

modelsfree

I have this problem
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!
I'm sorry for my english... my italian is better!

Casper

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

Ceck and see if yours on the server is the same as this.
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

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

GauGau

modelsfree

Quote from: "casper"Have you modified your index.php.  Line 493 should read;
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
I'm sorry for my english... my italian is better!

moorey

Umm have you installed CPG?

http://www.modelsfree.com/db/install.php
QuoteThe '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.

Joachim Müller

Quotehttp://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

modelsfree

Quote from: "gaugau"
Quotehttp://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.
I'm sorry for my english... my italian is better!

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.

modelsfree

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.
I'm sorry for my english... my italian is better!

Casper

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;

QuoteNotice: 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;
$thumb_list[$i]['aid'] = $row['aid'];

Try downloading a new copy of the fuctions.in.php and changing it on your site.
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

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
I'm sorry for my english... my italian is better!

Casper

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.
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