coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: glacious on March 15, 2004, 01:00:12 AM

Title: Notice: Undefined index: aid in /usr/local/www/pictures/incl
Post by: glacious on March 15, 2004, 01:00:12 AM
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
Title: Notice: Undefined index: aid in /usr/local/www/pictures/incl
Post by: Joachim Müller on March 15, 2004, 01:18:35 AM
switch debug mode off and the notices will be gone.

GauGau
Title: tabs still won't work
Post by: glacious on March 15, 2004, 01:25:38 AM
The tabs for categories with more albums that can fit on one page do not display for some reason.
Title: Notice: Undefined index: aid in /usr/local/www/pictures/incl
Post by: Joachim Müller on March 15, 2004, 01:43:20 AM
providing a link might help :wink:

GauGau
Title: fc picture
Post by: glacious on March 15, 2004, 01:39:59 AM
http://pictures.fakechaos.net

=)

and safe mode is off.
Title: Notice: Undefined index: aid in /usr/local/www/pictures/incl
Post by: Casper on March 15, 2004, 03:12:23 AM
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.
Title: Notice: Undefined index: aid in /usr/local/www/pictures/incl
Post by: glacious on March 15, 2004, 05:10:57 PM
it was set to 12, it is now set to 8.  still no tabs :(

http://pictures.fakechaos.net
Title: Notice: Undefined index: aid in /usr/local/www/pictures/incl
Post by: Casper on March 15, 2004, 06:19:14 PM
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.
Title: Notice: Undefined index: aid in /usr/local/www/pictures/incl
Post by: glacious on March 15, 2004, 09:29:06 PM
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
Title: Notice: Undefined index: aid in /usr/local/www/pictures/incl
Post by: Joachim Müller on March 16, 2004, 07:55:07 AM
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