coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: SniperX on February 07, 2004, 02:35:38 PM

Title: [solved]:Undefined Variable?
Post by: SniperX on February 07, 2004, 02:35:38 PM
Hi..

I am so close to getting this thing running, I can taste it.  :lol:

However, I seem to have this error:

Notice: Undefined variable: tabs in /home/imitatio/public_html/studiox/imgbank/themes/project_vii/theme.php on line 1256

As you can see, I'm currently using the project_vii theme as a base on which to model my own.

The code in question, seems to be this bit:

    echo $footer;
    // Tab display
    $params = array('{COLUMNS}' => $columns,
        '{TABS}' => $tabs,
        );
    echo template_eval($tabs_row, $params);

    endtable();

    echo $spacer;

In addition to this, users don't get the "Upload" menu.

I'm not really sure what other information you will need to help me rectify this, but I'd sure appreciate some assistance.

Thanks in advance.

EDIT// Doh! A url might help huh?
http://www.guiskins.com/studiox/imgbank/ for the actual problem.
http://www.guiskins.com/studiox/forums/ for the forums which are working fine.
There is a dummy account on the forums:
Username: test
Password: tester

if that helps any.
Title: [solved]:Undefined Variable?
Post by: SniperX on February 07, 2004, 03:15:10 PM
Right. I've established that the error above was only to with the project_vii theme so I'll base it on another - no problem there.

However, Upload still doesn't appear on the user's menu. Have I missed something really stupidly simple? I can upload as Admin.

Doh! - again. Found the solution here (http://forum.coppermine-gallery.net/index.php?topic=3617&highlight=upload)