PDA

View Full Version : Gallery2 upgrade to 2.3 'missing files'



lambcutlet
9th May 2009, 09:39 PM
I have been messing around trying to make a website for my local club.
My latest issue is with Gallery2
I use fedora 10. i installed gallery2 from the fedora repositories a few months back and managed to get it to work. Since then a recent upgrade to 2.3 has broken the gallery.
when i link into the gallery section through the website i get a blank page.
when performing

http://localhost/gallery2/upgrade
i get as far as the 'system checks' section
everything is OK apart from
1. output buffering - which this just tells me output buffering has been switched ON.
2. gallery file integrity - 74 missing files are reported
below is a list of the missing files reported

The weird thing is can find these files in this location
'/usr/share/php/Smarty/'

What is broken?
and how can i fix it?


lib/smarty/COPYING.lib
lib/smarty/Config_File.class.php
lib/smarty/README
lib/smarty/Smarty.class.php
lib/smarty/Smarty_Compiler.class.php
lib/smarty/debug.tpl
lib/smarty/internals/core.assemble_plugin_filepath.php
lib/smarty/internals/core.assign_smarty_interface.php
lib/smarty/internals/core.create_dir_structure.php
lib/smarty/internals/core.display_debug_console.php
lib/smarty/internals/core.get_include_path.php
lib/smarty/internals/core.get_microtime.php
lib/smarty/internals/core.get_php_resource.php
lib/smarty/internals/core.is_secure.php
lib/smarty/internals/core.is_trusted.php
lib/smarty/internals/core.load_plugins.php
lib/smarty/internals/core.load_resource_plugin.php
lib/smarty/internals/core.process_cached_inserts.php
lib/smarty/internals/core.process_compiled_include.php
lib/smarty/internals/core.read_cache_file.php
lib/smarty/internals/core.rm_auto.php
lib/smarty/internals/core.rmdir.php
lib/smarty/internals/core.run_insert_handler.php
lib/smarty/internals/core.smarty_include_php.php
lib/smarty/internals/core.write_cache_file.php
lib/smarty/internals/core.write_compiled_include.php
lib/smarty/internals/core.write_compiled_resource.php
lib/smarty/internals/core.write_file.php
lib/smarty/plugins/block.textformat.php
lib/smarty/plugins/compiler.assign.php
lib/smarty/plugins/function.assign_debug_info.php
lib/smarty/plugins/function.config_load.php
lib/smarty/plugins/function.counter.php
lib/smarty/plugins/function.cycle.php
lib/smarty/plugins/function.debug.php
lib/smarty/plugins/function.eval.php
lib/smarty/plugins/function.fetch.php
lib/smarty/plugins/function.html_checkboxes.php
lib/smarty/plugins/function.html_image.php
lib/smarty/plugins/function.html_options.php
lib/smarty/plugins/function.html_radios.php
lib/smarty/plugins/function.html_select_date.php
lib/smarty/plugins/function.html_select_time.php
lib/smarty/plugins/function.html_table.php
lib/smarty/plugins/function.mailto.php
lib/smarty/plugins/function.math.php
lib/smarty/plugins/function.popup.php
lib/smarty/plugins/function.popup_init.php
lib/smarty/plugins/modifier.capitalize.php
lib/smarty/plugins/modifier.cat.php
lib/smarty/plugins/modifier.count_characters.php
lib/smarty/plugins/modifier.count_paragraphs.php
lib/smarty/plugins/modifier.count_sentences.php
lib/smarty/plugins/modifier.count_words.php
lib/smarty/plugins/modifier.date_format.php
lib/smarty/plugins/modifier.debug_print_var.php
lib/smarty/plugins/modifier.default.php
lib/smarty/plugins/modifier.escape.php
lib/smarty/plugins/modifier.indent.php
lib/smarty/plugins/modifier.lower.php
lib/smarty/plugins/modifier.nl2br.php
lib/smarty/plugins/modifier.regex_replace.php
lib/smarty/plugins/modifier.replace.php
lib/smarty/plugins/modifier.spacify.php
lib/smarty/plugins/modifier.string_format.php
lib/smarty/plugins/modifier.strip.php
lib/smarty/plugins/modifier.strip_tags.php
lib/smarty/plugins/modifier.truncate.php
lib/smarty/plugins/modifier.upper.php
lib/smarty/plugins/modifier.wordwrap.php
lib/smarty/plugins/outputfilter.trimwhitespace.php
lib/smarty/plugins/shared.escape_special_chars.php
lib/smarty/plugins/shared.make_timestamp.php
modules/core/classes/GalleryStorage/g2_db2.jar

Carrot Cruncher
12th May 2009, 05:10 PM
i've just installed gallery from the repo and hit the same problem. i'm guessing that either a symbolic link is not in the package or something has been repackaged into a different directory, any do the following fixed the problem for me :

ln -s /usr/share/php/Smarty /usr/share/gallery2/lib/smarty

lambcutlet
13th May 2009, 09:45 PM
i too did a bit of digging and came up with the same solution

see here
http://gallery.menalto.com/node/87686

the man over at gallery2 forums reckoned there is a error in the packaging of this gallery file in fedora.