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: [Solved]: Strange behavior after move  (Read 3722 times)

0 Members and 1 Guest are viewing this topic.

bosch

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
[Solved]: Strange behavior after move
« on: March 24, 2004, 02:26:05 am »

I recently moved from my localhost to a remote server and Coppermine started to display an extra window above the displayed picture with "No image to display" in it.  Other than that it works fine.  And it only happens when displaying an image What is going on here?

example 1: (before move)
http://207.154.106.17/~bosch/asa/gallery/displayimage.php?album=3&pos=0

example 2: (after move)
http://www.ucsbasa.com/gallery/displayimage.php?album=3&pos=0
Logged

bit bit spears

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 240
    • TangibleBrit.com
[Solved]: Strange behavior after move
« Reply #1 on: March 24, 2004, 05:51:28 am »

very strange-indeed

i think something happened with your theme.php or something,  because it should not behave like that (at least i do no know)

check your theme.php a code, and try to see what may be causing this.

i have noticed that you do not have these tags in your template.html file-

(to make the image pop up larger)

*you need these tags!*

Code: [Select]
<script type="text/javascript" src="scripts.js"></script>

placed between the
Code: [Select]
<header></header>
tags, to look like this
Code: [Select]
<head><script type="text/javascript" src="scripts.js"></script></head>

you have over modified your theme-try retracing the steps you have taken-see what is causing this. *post back
Logged

bosch

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
No luck yet
« Reply #2 on: March 24, 2004, 06:37:27 am »

-I put that javascript tag back in, thanks.
 
I  tried reverting the theme.php file to it's default state and that did not fix it.  I don't think that is it.  I didn't modify any themes between the server transfer anyway.  The only thing I did was change the SQL server name and database in a few files.  Maybe that's the problem?   :(
Logged

bit bit spears

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 240
    • TangibleBrit.com
[Solved]: Strange behavior after move
« Reply #3 on: March 24, 2004, 06:47:07 am »

hmm...well i guess that could relate to the problems (some how)

but if you get really annoyed by 'No Image To Display' open up /lang/english.php and take that out of '' these tags :wink:
Logged

bosch

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
That doesn't really help
« Reply #4 on: March 24, 2004, 06:56:42 am »

Thanks, but I am more concerned with the 200px vertical space that is there.  :(
I also noticed that an extra title is at the top of this "mystery table" what could that mean?
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.ucsbasa.com%2Fimages%2Fmysterytable.jpg&hash=a0c4e49f6cfe9670933f937f27d028d94652d557)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
[Solved]: Strange behavior after move
« Reply #5 on: March 24, 2004, 07:36:14 am »

this is probably related to your custom theme. Upload one of the unmodified themes that come with coppermine (e.g. "eyeball") and check if the error occurs as well when using this theme (by browsing to http://www.ucsbasa.com/gallery/displayimage.php?album=3&pos=0&theme=eyeball ).
Also, post "The content of the main page" from your coppermine config in your reply here.

GauGau
Logged

bosch

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Still there...
« Reply #6 on: March 24, 2004, 07:59:37 am »

Content of the main page is: breadcrumb/catlist/alblist/random,1/lastup,1

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.ucsbasa.com%2Fimages%2Fstillthere.jpg&hash=63ee332f8f67af0f63241b100841492559d61340)

No luck with a new theme..  :(
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
[Solved]: Strange behavior after move
« Reply #7 on: March 24, 2004, 10:25:24 am »

Your source code shows this code, which should not be there;
Code: [Select]
<!-- Start standard table -->
<table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable">
        <tr>
                <td class="tableh1" colspan="1"><h2>Portfolio</h2></td>
        </tr>
        <tr>
                <td class="tableb" height="200" align="center">
                        <font size="3"><b>No image to display</b></font>
                </td>
        </tr>

</table>
<!-- End standard table -->


This belongs in thumbnails.php, but not displayimage.php, so I think your file has been corrupted.
Try uploading a new copy of displayimage.php, and see if that cures it.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

bosch

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
[Solved]: Strange behavior after move
« Reply #8 on: March 24, 2004, 12:14:25 pm »

I noticed that too but replacing the displayimage.php file had no effect.  :?
Logged

bosch

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Problem is currently no factor
« Reply #9 on: March 25, 2004, 10:33:58 am »

After trying several things I decided to just reinstall and re-upload the images myself.   :evil:  In other words the only thing that worked was to dump the data tables which was probably the source of the corruption.   Oh well at least it is working correctly now.  8)
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 14 queries.