coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: luckiestarz7 on March 22, 2006, 04:37:05 AM

Title: config.php file error
Post by: luckiestarz7 on March 22, 2006, 04:37:05 AM
Hello,

  I was running the old version and it got corrupt when I went to update to the newer version.  So, I uninstalled Coppermine and reinstalled it.  I changed the template and a few images (the coppermine logo for my site's logo) and then didn't touch it for the past three months.

I went in tonight to batch add my photos and when i went to click on a thumbnail, I got the following error:

Template error
Failed to find block 'report_file_button'(#(<!-- BEGIN report_file_button -->)(.*?)(<!-- END report_file_button -->)#s) in :

        <tr>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{THUMB_TGT}" class="navmenu_pic" title="{THUMB_TITLE}"><img src="images/folder.gif" width="16" height="16" align="absmiddle" border="0" alt="{THUMB_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="javascript:;" onClick="blocking('picinfo','yes', 'block'); return false;" title="{PIC_INFO_TITLE}"><img src="images/info.gif" width="16" height="16" border="0" align="absmiddle" alt="{PIC_INFO_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{SLIDESHOW_TGT}" title="{SLIDESHOW_TITLE}"><img src="images/slideshow.gif" width="16" height="16" border="0" align="absmiddle" alt="{SLIDESHOW_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" witdh="100%">
                        {PIC_POS}
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{ECARD_TGT}" title="{ECARD_TITLE}"><img src="images/ecard.gif" width="16" height="16" border="0" align="absmiddle" alt="{ECARD_TITLE}"></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{PREV_TGT}" class="navmenu_pic" title="{PREV_TITLE}"><img src="images/prev.gif" width="16" height="16" border="0" align="absmiddle" alt="{PREV_TITLE}" /></a>
                </td>
                <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{NEXT_TGT}" class="navmenu_pic" title="{NEXT_TITLE}"><img src="images/next.gif" width="16" height="16" border="0" align="absmiddle" alt="{NEXT_TITLE}" /></a>
                </td>
        </tr>





Then I realized that my config.php file was missng and the "configuration" button that appears at the top of my admin menu is missing.

Does anyone know how/why the file is missing and how I can fix this without having to uninstall, reinstall and then recreate and batch add all my photos and albums?  Any help is greatly appreciated.   Thanks in advance
Title: Re: config.php file error
Post by: Joachim Müller on March 22, 2006, 09:23:42 AM
read the theme upgrade guide that comes with coppermine. Your question has been asked mkany times over - in the future, search before asking.
Title: Re: config.php file error
Post by: luckiestarz7 on March 22, 2006, 03:19:14 PM
Sorry about that, new to all this posting stuff..  I will remember that in the future.  Thanks for the help.