Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2005-11-10 14:49:44

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

Re: 4.0.2 upgrade problem

Just to clarify, should each file now be r1076?
I tried a few Google searches, but couldn’t answer this question.

If not, where do I find the list of each file’s current r-value?

Also, I just used WS_FTP to upload the textpattern folder with the new downloaded files/folders right over the existing textpattern folder on the server. Is that okay?

Offline

#14 2005-11-10 15:51:30

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

Re: 4.0.2 upgrade problem

Just to clarify, should each file now be r1076?

No, that’s not the case. As my example above shows.

If not, where do I find the list of each file’s current r-value?

I’ve just added an item to the FAQ

Also, I just used WS_FTP to upload the textpattern folder with the new downloaded files/folders right over the existing textpattern folder on the server. Is that okay?

Usually you can overwrite your old files. However several people have reported that they had problems with some ftp-clients, where it wouldn’t overwrite all of them. Whether this was due to the client, the user, or some unrelated problem (e.g. the connections suddenly dropping etc.), I don’t know.

Offline

#15 2005-11-10 16:06:32

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

Re: 4.0.2 upgrade problem

Crikey! Seventeen bad files out of 36.
Time for a better ftp client.

Sencer, you rock. I’m very impressed with this level of support.
As soon as I fix this, I will sing TxP’s praises as best I can.
I’ll even hit that PayPal donate button.

Offline

#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

Board footer

Powered by FluxBB