Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2005-11-10 21:07:29

duncan_feldane
Member
Registered: 2005-10-07
Posts: 14

Re: 4.0.2 upgrade problem

Still not working.
I’ve tried it several times, with different computers, different FTP clients, different Unzippers, and different downloads. Then, I even individually deleted the files that need to be updated, and individully uploaded them.

I’ve sent a message to DreamHost support….

Offline

#17 2005-11-10 21:11:38

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: 4.0.2 upgrade problem

pretty odd. Almost sounds like permission or ownership of the files had changed at some point. I wonder what support will answer.

So, do you have the new files uploaded now?

Offline

#18 2005-11-10 21:16:21

duncan_feldane
Member
Registered: 2005-10-07
Posts: 14

Re: 4.0.2 upgrade problem

No, I’m stuck. Same errors, same behavior, same files.
…waiting to see what Dreamhost says.

Offline

#19 2005-11-10 21:18:54

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: 4.0.2 upgrade problem

  • Do you have multiple textpattern installations?
  • Is it possible that you are uploading into the wrong folder (one level too deep for example).
  • Is the path set in config.php pointing exactly to the place where your textpattern is installed?
  • And finally (sorry, I have to ask ;) ): Is it possible that files got mixed up locally on your harddisk; meaning that uploading works fine, but you are uploading the wrong set of files? You can check by opening the files in a text-editor and inspecting the revision number in there (it’s in the first couple of lines).

Offline

#20 2005-11-10 22:19:10

duncan_feldane
Member
Registered: 2005-10-07
Posts: 14

Re: 4.0.2 upgrade problem

  • Do you have multiple textpattern installations?
    Hmm. Dreamhost sets up a user (montgomerystudio), and then each domain (michaelmontgomery.net) is a separate folder therein. So I have one TxP install in each domain, yes. But each domain has its own database.
  • Is it possible that you are uploading into the wrong folder (one level too deep for example).
    I checked, but no.
  • Is the path set in config.php pointing exactly to the place where your textpattern is installed?
    Looks right to me. See config.php (except passwd) below.
  • And finally (sorry, I have to ask ;) ): Is it possible that files got mixed up locally on your harddisk; meaning that uploading works fine, but you are uploading the wrong set of files?
    Don’t be sorry, I’d never get offended by someone who’s just trying to help.
    You can check by opening the files in a text-editor and inspecting the revision number in there (it’s in the first couple of lines).
    Checked one or two (on both hard drive and server), and the revision number is correct on the former and wrong on the latter.

The site was working great with 4.0.1.

BTW, you’re working late!

<?php
$txpcfg[‘db’] = ‘montgomerynet2’;
$txpcfg[‘user’] = ‘montgomerynet2’;
$txpcfg[‘pass’] = ‘****’;
$txpcfg[‘host’] = ‘montgomerynet2.michaelmontgomery.net’;
$txpcfg[‘table_prefix’] = ‘txp_’;
$txpcfg[‘txpath’] = ‘/home/montgomerystudio/michaelmontgomery.net/textpattern’;
$txpcfg[‘dbcharset’] = ‘utf8’;
?>

Last edited by duncan_feldane (2005-11-10 23:00:19)

Offline

#21 2005-11-11 15:11:51

duncan_feldane
Member
Registered: 2005-10-07
Posts: 14

Re: 4.0.2 upgrade problem

Okay, I individually uploaded (again) the files with the wrong revision numbers. No idea why, but they all worked, and all the files in the high level diagnostic seem to have the right numbers now.

Good news — almost everything works: I can write articles again, etc.

Not so good news — all the site-design images (except maybe one) aren’t showing on the page: michaelmontgomery.net , and creating a thumbnail causes errors:
Warning: imagecreatetruecolor(): Invalid image dimensions in /home/.andalusia/montgomerystudio/michaelmontgomery.net/textpattern/lib/class.thumb.php on line 211
Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/.andalusia/montgomerystudio/michaelmontgomery.net/textpattern/lib/class.thumb.php on line 212

I checked that the revision numbers of class.thumb.php match on the hard drive and the server: 884

Last edited by duncan_feldane (2005-11-11 15:21:51)

Offline

#22 2005-11-11 16:32:15

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: 4.0.2 upgrade problem

For thumbnail creation, please check the for revision and hash of /include/txp_image.php as well.

Not so good news—all the site-design images (except maybe one) aren’t showing on the page: michaelmontgomery.ne

I don’t understand what you are referring to exactly. Please be more specific.

Offline

#23 2005-11-11 20:30:40

duncan_feldane
Member
Registered: 2005-10-07
Posts: 14

Re: 4.0.2 upgrade problem

/include/txp_image.php revision number is 1042 on both the hard drive and server: $LastChangedRevision: 1042 $

As far as image performance goes, I’ve loaded all the images of the Ocada template into TxP. You can see them at: http://michaelmontgomery.net/images/17.gif and sequential up to 31.gif. In TxP, image ID#17 is bg.gif. The default css pulls in this background image: #E6EEEE url(/images/bg.gif) repeat-x; and the other images are also pulled in with the css.

The problem is that the images (header.gif, footer.gif and sidebar.gif for example) aren’t showing up on the page: http://michaelmontgomery.net/

Offline

#24 2005-11-11 20:44:55

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: 4.0.2 upgrade problem

The default css pulls in this background image: #E6EEEE url(/images/bg.gif) repeat-x;

http://michaelmontgomery.net/images/bg.gif doesn’t exist. You’ll need to change these URLs to the filenames used by Textpattern, e.g. url(/images/17.gif).


Alex

Offline

#25 2005-11-11 20:59:23

duncan_feldane
Member
Registered: 2005-10-07
Posts: 14

Re: 4.0.2 upgrade problem

Now I’m really confused.
bg.gif should exist, because that’s the file name that I loaded into TxP. It’s as if TxP saved/renamed it as 17.gif, but I don’t know why.
(Based on the experience of only one prior TxP site, I uploaded named images, and was able to refer to their names, not their ID numbers: photosbykat.net/ )

About thumbnail creation, it now works for some of them. Creating thumbnails for other images throws errors. I’m going to re-load all the images now.

Last edited by duncan_feldane (2005-11-11 21:12:07)

Offline

#26 2005-11-11 21:36:44

duncan_feldane
Member
Registered: 2005-10-07
Posts: 14

Re: 4.0.2 upgrade problem

Update: I apologize about the image names — in the earlier site, I had uploaded the site-design images manually.
(which messes with the TxP portability principle, but makes for more semantic-looking source.)

Still not sure about why thumbnails are causing errors.

Offline

#27 2005-11-11 21:37:57

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: 4.0.2 upgrade problem

It’s as if TxP saved/renamed it as 17.gif, but I don’t know why.

That’s how Textpattern handles images.


Alex

Offline

#28 2005-11-11 21:48:03

duncan_feldane
Member
Registered: 2005-10-07
Posts: 14

Re: 4.0.2 upgrade problem

Yes! The site works.
Any ideas about why some thumbnails are wonky?
For example, when I try to create a thumbnail, these errors result:

Warning: imagecreatetruecolor(): Invalid image dimensions in /home/.andalusia/montgomerystudio/michaelmontgomery.net/textpattern/lib/class.thumb.php on line 211

Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/.andalusia/montgomerystudio/michaelmontgomery.net/textpattern/lib/class.thumb.php on line 212

…and about 15 more.

Last edited by duncan_feldane (2005-11-11 22:02:02)

Offline

Board footer

Powered by FluxBB