Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2008-06-11 00:01:11

brokenumbrella
Member
Registered: 2008-06-09
Posts: 36

Re: My god, what have I done?

Aaaand I went and deleted the setup folder, so now i’m getting something like this:

Warning: Table ‘inadar5_brokenumbrella.txp_lang’ doesn’t exist select name, data from txp_lang where lang=‘english’ in /home/inadar5/public_html/brokenumbrella.com/textpattern/lib/txplib_db.php on line 81

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/inadar5/public_html/brokenumbrella.com/textpattern/lib/txplib_misc.php on line 180

Warning: Table ‘inadar5_brokenumbrella.txp_lang’ doesn’t exist select name, data from txp_lang where lang=‘en-gb’ in /home/inadar5/public_html/brokenumbrella.com/textpattern/lib/txplib_db.php on line 81

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/inadar5/public_html/brokenumbrella.com/textpattern/lib/txplib_misc.php on line 180

Warning: Unknown column ‘nonce’ in ‘field list’ select nonce from txp_users where name=‘curious umbrella’ AND last_access > DATE_SUB(NOW, INTERVAL 30 DAY) in /home/inadar5/public_html/brokenumbrella.com/textpattern/lib/txplib_db.php on line 81

Warning: Cannot modify header information – headers already sent by (output started at /home/inadar5/public_html/brokenumbrella.com/textpattern/lib/txplib_db.php:81) in /home/inadar5/public_html/brokenumbrella.com/textpattern/include/txp_auth.php on line 169

Warning: Cannot modify header information – headers already sent by (output started at /home/inadar5/public_html/brokenumbrella.com/textpattern/lib/txplib_db.php:81) in /home/inadar5/public_html/brokenumbrella.com/textpattern/include/txp_auth.php on line 170

ewwwww.

Offline

#26 2008-06-11 00:14:00

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: My god, what have I done?

brokenumbrella

Don’t panic – those error will go away. But they aren’t fun to look.

The warning makes it sound like the table are present.

In your configuration file, are you sure you have the right:

  • database name, (this may have changed)
  • user name (this may have changed)
  • password, (this may have changed)
  • database host — this will have changed. It may or may not be the same as your website, depending on your new host’s setup. For example, the default install is “localhost”. But with Dreamhost you had to put in the MySQL server that was assigned to your website.
  • txpath for the new host is correct. This will have changed with your webhost change.

Last edited by maverick (2008-06-11 00:14:58)

Offline

#27 2008-06-11 00:17:15

brokenumbrella
Member
Registered: 2008-06-09
Posts: 36

Re: My god, what have I done?

Right now it says ‘localhost’, which actually worked before. Hrm.

Offline

#28 2008-06-11 00:19:28

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: My god, what have I done?

Your new host should provide you with the info you need – either through an email or their control panel.

When you say it says “localhost”, and it worked before, when do you mean it worked? @ Dreamhost?

Offline

#29 2008-06-11 00:21:17

brokenumbrella
Member
Registered: 2008-06-09
Posts: 36

Re: My god, what have I done?

No, I actually had textpattern (but no website) up and running before I went in a wrecked everything. I installed a the new version and added a bunch of plugins and stuff. Then I took it all down when I restored the sql thing.

Offline

#30 2008-06-11 00:22:47

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: My god, what have I done?

clarification – Just in case I miscommunicated – when I say that the database host will have changed – I mean from the config. file you used with dreamhost. Not from installing Txp.

Offline

#31 2008-06-11 00:23:46

brokenumbrella
Member
Registered: 2008-06-09
Posts: 36

Re: My god, what have I done?

Ooo, I’m not sure. Let me look.

…Naw, both config files have the same code in them.

Here’s the error I’m getting when I try my url:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/inadar5/public_html/brokenumbrella.com/textpattern/lib/txplib_misc.php on line 180

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/inadar5/public_html/brokenumbrella.com/textpattern/lib/txplib_misc.php on line 180

Last edited by brokenumbrella (2008-06-11 00:25:45)

Offline

#32 2008-06-11 00:25:33

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: My god, what have I done?

If you had a default install up and running at the new host, you should be able to use the same config.php file. Is that what you used?

Offline

#33 2008-06-11 00:29:24

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: My god, what have I done?

Sven had a good point about this being tough to describe remotely. If you feel comfortable having me help you more directly, I can try, or we can keep trying using the forum a bit longer. Either way, I’ve got about 20 minutes yet before I have to go.

Mike

Last edited by maverick (2008-06-11 00:29:53)

Offline

#34 2008-06-11 00:30:46

brokenumbrella
Member
Registered: 2008-06-09
Posts: 36

Re: My god, what have I done?

Hey Mike, That would be the greatest thing in the whole world. Thank you so much. How can I contact you more directly?

Last edited by brokenumbrella (2008-06-11 00:31:09)

Offline

#35 2008-06-11 00:35:30

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: My god, what have I done?

Chances are your former database name is different than the one you picked when you installed Textpattern again.

Offline

#36 2008-06-11 00:38:03

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: My god, what have I done?

You can email or call me.

email is TecumsehMaverick at gmail or (734) 206-2252.

Offline

Board footer

Powered by FluxBB