Notice: Undefined index: aid in /usr/local/www/pictures/incl Notice: Undefined index: aid in /usr/local/www/pictures/incl
 

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

Notice: Undefined index: aid in /usr/local/www/pictures/incl

Started by glacious, March 15, 2004, 01:00:12 AM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

glacious

The error I get:

Notice: Undefined index: aid in /usr/local/www/pictures/include/functions.inc.php on line 1003
(under all albums)

I have saved teh albums/categories/pictures databases from a 2.2 CPGNuke port, and then imported it into a brand new fresh installation of CPG 1.2.1.  I get this error when I click on any album, but it still displays the pictures.  Different themes give me different problems.  Rainy day gives me:

Notice: Undefined variable: header in /usr/local/www/pictures/themes/rainy_day/theme.php on line 1453

Notice: Undefined variable: template_tab_display in /usr/local/www/pictures/themes/rainy_day/theme.php on line 1458

Notice: Undefined variable: lang_thumb_view in /usr/local/www/pictures/themes/rainy_day/theme.php on line 1461

Notice: Undefined index: inactive_tab in /usr/local/www/pictures/themes/rainy_day/theme.php on line 1462

Hardwired gives me:

Notice: Undefined variable: tabs in /usr/local/www/pictures/themes/hardwired/theme.php on line 1218

and it does not display the tabs for some reason.  


Also, for all pictures, its 2.5 / 5 with 5 votes.  The pictures have like 25+ views, and the album was just implemented over tonight.  Somehow it having all these extra views and votes.

Any help would be greatly appreciated!

-Thanks,

Bill

Joachim Müller

switch debug mode off and the notices will be gone.

GauGau

glacious

The tabs for categories with more albums that can fit on one page do not display for some reason.

Joachim Müller


glacious


Casper

Go into config, and check you actually have a number specified in 'Maximum number of tabs to display'.  With 83 albums in one cat, I suggest you set this at about 8, but that's your choice.
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

glacious


Casper

Ok, this is not a problem with your install, it is the hardwired theme, which has this missing on the index page, but which works on the category pages.

I get the same effect on my 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

glacious

hrmm, but the hardwired theme is included with the CPG standalone install, so you're supposed to get the tabs errors and you can't have more than one page of albums with the hardwired theme?

-thanks agian,

-Bill

Joachim Müller

What casper was saying: this is a bug in hardwired with your version of coppermine. Sorry for that. Bugs happen... :cry:  Choose another theme please...

GauGau