Advanced search  


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

Pages: [1]   Go Down

Author Topic: huge problem!  (Read 3094 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 2
huge problem!
« on: December 28, 2006, 07:50:42 pm »

hello Coppermine Experts! Well here's the problem, I was fiddling with my index.php file to change the theme but I accidently dlted the whole catagory table so now I can't view anything! Can some one help me? Heres the link to my gallery:


  • Guest
Re: huge problem!
« Reply #1 on: December 28, 2006, 08:13:54 pm »

Restore index.php from a backup or from the distribution package. Alternatively just update the gallery.


  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: huge problem!
« Reply #2 on: December 28, 2006, 08:53:50 pm »

I would but I don't think I can! I think I screwed up the index page but anyways here is the code I did for the index page..

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

<html dir="ltr">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Pragma" content="no-cache" />
<title>Joyful Janice Gallery - Home</title>

<link rel="stylesheet" href="themes/water_drop/style.css" type="text/css" />
<script type="text/javascript" src="scripts.js"></script>
  <table width="740" border="0" cellpadding="10" cellspacing="10" align="center">
      <td valign="top" style="border: 1px solid #C2B9BA; background-color: #FFFFFF;">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <td width="100%" align="center">
         <img src="themes/water_drop/images/header.png" border="0" width="600" height="272" alt="Joyful Janice Gallery"><br>
              <h1>Joyful Janice Gallery</h1>
                          <!-- BEGIN home -->
        <a href="index.php" title="Go to the home page">Home</a> .
  <!-- END home -->                  <!-- BEGIN login -->
        <a href="login.php?referer=index.php" title="Log me in">Login</a>
  <!-- END login -->   . <br />              <!-- BEGIN album_list -->
        <a href="index.php?cat=0" title="Go to the album list">Album list</a> .
  <!-- END album_list -->  <!-- BEGIN lastup -->
        <a href="thumbnails.php?album=lastup&amp;cat=0" title="Show most recent uploads">Last uploads</a> .
  <!-- END lastup -->  <!-- BEGIN lastcom -->
        <a href="thumbnails.php?album=lastcom&amp;cat=0" title="Show most recent comments">Last comments</a> .
  <!-- END lastcom -->  <!-- BEGIN topn -->
        <a href="thumbnails.php?album=topn&amp;cat=0" title="Show most viewed items">Most viewed</a> .
  <!-- END topn -->  <!-- BEGIN toprated -->
        <a href="thumbnails.php?album=toprated&amp;cat=0" title="Show top rated items">Top rated</a> .
  <!-- END toprated -->  <!-- BEGIN favpics -->
        <a href="thumbnails.php?album=favpics" title="Go to my favorites">My Favorites</a> .
  <!-- END favpics -->  <!-- BEGIN search -->
        <a href="search.php" title="Search the gallery">Search</a>
  <!-- END search -->
  <div id="vanity">
      <a id="v_php" href="" target="_blank"></a>
      <a id="v_mysql" href="" target="_blank"></a>
      <a id="v_xhtml" href="" target="_blank"></a>
      <a id="v_css" href="" target="_blank"></a>
<!--Coppermine Photo Gallery 1.4.9 (stable)-->

Iz there anyway you can help me put the code back in?


  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: huge problem!
« Reply #3 on: December 28, 2006, 10:26:54 pm »

in config... have you removed entries for 'content of the main page'?? Put that back in
or do you have removed the {GALLERY} placeholder from your template.html??


  • Guest
Re: huge problem!
« Reply #4 on: December 28, 2006, 10:29:11 pm »

You can't copy/paste a view source into index.php, it doesn't work like that. Do a regular update to 1.4.10 and your issue will be solved.
Pages: [1]   Go Up

Page created in 0.017 seconds with 19 queries.