Undefined Variables after 1.1 > 1.2 update Undefined Variables after 1.1 > 1.2 update
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Undefined Variables after 1.1 > 1.2 update

Started by Inigo, November 17, 2003, 02:38:13 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Inigo

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!  :)

gtroll

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

Inigo

:D Yup - it was the .sql file.  Thanks for the help!