Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: huge problem!  (Read 2976 times)

0 Members and 1 Guest are viewing this topic.

angelicdestiny

  • 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:
http://janice.simplykenix.net/gallery
Logged

Nibbler

  • 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.
Logged

angelicdestiny

  • 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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html dir="ltr">
<head>
<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>
</head>
<body>
 
  <table width="740" border="0" cellpadding="10" cellspacing="10" align="center">
    <tr>
      <td valign="top" style="border: 1px solid #C2B9BA; background-color: #FFFFFF;">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <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>
              <h3></h3>
         
                          <!-- 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 -->
 
  </table>
  <div id="vanity">
      <a id="v_php" href="http://www.php.net/" target="_blank"></a>
      <a id="v_mysql" href="http://www.mysql.com/" target="_blank"></a>
      <a id="v_xhtml" href="http://validator.w3.org/check/referer" target="_blank"></a>
      <a id="v_css" href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank"></a>
</div>
<!--Coppermine Photo Gallery 1.4.9 (stable)-->
</body>
</html>


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

Stramm

  • 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??

Nibbler

  • 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.