coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: Inigo on November 17, 2003, 02:38:13 AM

Title: Undefined Variables after 1.1 > 1.2 update
Post by: Inigo on November 17, 2003, 02:38:13 AM
Hello all -

I have searched through the forums and have not found an answer to my issue:  I updated my Coppermine from 1.1 to 1.2rc2 and ran the update.php script.

I enabled debug mode to figure out why the Windows XP web publishing isn't working  and the screen fills with these messages:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Notice: Undefined variable: visibility in x:\applications\apache group\apache\htdocs\coppermine\index.php on line 360

Notice: Undefined variable: visibility in x:\applications\apache group\apache\htdocs\coppermine\index.php on line 360

Notice: Undefined variable: visibility in x:\applications\apache group\apache\htdocs\coppermine\index.php on line 360

Notice: Undefined variable: visibility in x:\applications\apache group\apache\htdocs\coppermine\index.php on line 360

Notice: Undefined variable: visibility in x:\applications\apache group\apache\htdocs\coppermine\index.php on line 360

Notice: Undefined variable: visibility in x:\applications\apache group\apache\htdocs\coppermine\index.php on line 360

Notice: Undefined index: album_title in x:\applications\apache group\apache\htdocs\coppermine\themes\default\theme.php on line 1109

Notice: Undefined index: aid in x:\applications\apache group\apache\htdocs\coppermine\themes\default\theme.php on line 1111

Notice: Undefined index: album_adm_menu in x:\applications\apache group\apache\htdocs\coppermine\themes\default\theme.php on line 1113

Notice: Undefined index: album_desc in x:\applications\apache group\apache\htdocs\coppermine\themes\default\theme.php on line 1114

Notice: Undefined index: album_info in x:\applications\apache group\apache\htdocs\coppermine\themes\default\theme.php on line 1115
 
Notice: Undefined index: album_title in x:\applications\apache group\apache\htdocs\coppermine\themes\default\theme.php on line 1109

Notice: Undefined index: aid in x:\applications\apache group\apache\htdocs\coppermine\themes\default\theme.php on line 1111

Notice: Undefined index: album_adm_menu in x:\applications\apache group\apache\htdocs\coppermine\themes\default\theme.php on line 1113

Notice: Undefined index: album_desc in x:\applications\apache group\apache\htdocs\coppermine\themes\default\theme.php on line 1114

Notice: Undefined index: album_info in x:\applications\apache group\apache\htdocs\coppermine\themes\default\theme.php on line 1115
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 :?: Did the update not work?  Any thoughts on how to fix it? Should I go back to 1.1?  Can I go back to 1.1 from 1.2?

Any help would be greatly appreciated!  :)
Title: Undefined Variables after 1.1 > 1.2 update
Post by: gtroll on November 17, 2003, 07:33:26 AM
This error come only from one of two things the vars are not in the language file(ru sure you language file are the new ones)
or
The vars are missing out of your database. The update script failed at some point not adding these fields to your db...
Options:
1a.In phpmyadmin run the update.sql line by line when you stop getting errors, you know that part never executed, continue line by line
1b.replace the language files in your directory with the ones from the zip upload
2.Deinstall reinstall
Title: Working!
Post by: Inigo on November 18, 2003, 03:26:48 AM
:D Yup - it was the .sql file.  Thanks for the help!