[Solved]: Strange behavior after move [Solved]: Strange behavior after move
 

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]

Main Menu

[Solved]: Strange behavior after move

Started by bosch, March 24, 2004, 02:26:05 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bosch

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

bit bit spears

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!*

<script type="text/javascript" src="scripts.js"></script>

placed between the
<header></header>
tags, to look like this<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

bosch

-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?   :(

bit bit spears

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:

bosch

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://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.ucsbasa.com%2Fimages%2Fmysterytable.jpg&hash=a0c4e49f6cfe9670933f937f27d028d94652d557)

Joachim Müller

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

bosch

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

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

No luck with a new theme..  :(

Casper

Your source code shows this code, which should not be there;
<!-- 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.
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

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

bosch

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)