Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-05-27 15:30:05
- dchayes
- New Member
- Registered: 2006-05-06
- Posts: 7
Installation stalls at same point every time for current release.
I posted before a while a go about this. I’ve been able to install up to the point where the config.php file is altered. After clicking “I did that”, the following page is blank. The URL box reads the same address that I saw when I was prompted to select a language. Refreshing the page brings me back to that page indeed or a blank one. Any suggestions?
I have already done the following several times:
Removed Textpattern from my computer and server and followed the installation process from scatch several times.
Checked my config.php file (not sure what issue there could be with that as I copied the code directly from the prompt with my information in it).
Checked my MySQL database (which works or I would not have gotten to the blank page, I assume).
Scanned through the messages in the forums.
I am using bluehost.com
What else?
D
Offline
Re: Installation stalls at same point every time for current release.
What are your version of PHP and your version of mysql?
Does viewing source on the blank page show you anything? Can you see anything in the error-logs of PHP?
Offline
Re: Installation stalls at same point every time for current release.
Try renaming the config.php to config.php.default
Install
paste what needs to be pasted in the config.php.default,
save,
rename the file to config.php
click “i did that”
Last edited by colak (2006-05-27 17:04:33)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Online
#4 2006-05-27 16:44:43
- dchayes
- New Member
- Registered: 2006-05-06
- Posts: 7
Re: Installation stalls at same point every time for current release.
Sencer—
The source on the page didn’t tell me anything. I am using 4.4.1 for PHP and 4.1.14 for MySQL.
I checked the error log. getting:
/home/urbansli/public_html/textpattern-4.0.3/textpattern/setup/error_log:
[26-May-2006 23:10:46] PHP Warning: mysql_connect(): Access denied for user ‘urbansli_dawn’@‘localhost’ (using password: YES) in /home/urbansli/public_html/textpattern-4.0.3/textpattern/setup/index.php on line 188
/home/urbansli/public_html/textpattern-4.0.3/error_log:
[26-May-2006 22:12:25] PHP Warning: main(./textpattern/config.php): failed to open stream: No such file or directory in /home/urbansli/public_html/textpattern-4.0.3/index.php on line 19
[26-May-2006 22:12:25] PHP Warning: main(./textpattern/config.php): failed to open stream: No such file or directory in /home/urbansli/public_html/textpattern-4.0.3/index.php on line 19
[26-May-2006 22:12:25] PHP Warning: main(): Failed opening ‘./textpattern/config.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/urbansli/public_html/textpattern-4.0.3/index.php on line 19
[26-May-2006 22:37:43] PHP Parse error: parse error, unexpected T_VARIABLE in /home/urbansli/public_html/textpattern-4.0.3/textpattern/config.php on line 3
I had removed the config.php file at one point and replaced it after I got an error message.
Colak—
I will try renaming the default.php file. Did you mean config.php for the second line?
Thanks to both of you for responding so quickly.
D
Offline
Re: Installation stalls at same point every time for current release.
dchayes wrote:
I will try renaming the default.php file. Did you mean config.php for the second line?
Slaps on forehead:)
Corrected my post
Last edited by colak (2006-05-27 17:03:37)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Online
#6 2006-05-27 17:14:16
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Installation stalls at same point every time for current release.
Access denied for user ‘urbansli_dawn’@’localhost’ (using password: YES) in /home/urbansli/public_html/textpattern-4.0.3/textpattern/setup/index.php on line 188
Your user, “urbansli_dawn” does not have permission to create tables in your database. Did you create your database user, or did your host?
PHP Warning: main(./textpattern/config.php): failed to open stream: No such file or directory in /home/urbansli/public_html/textpattern-4.0.3/index.php on line 19
At some point, your config.php was not in the correct folder, or was not renamed.
PHP Parse error: parse error, unexpected T_VARIABLE in /home/urbansli/public_html/textpattern-4.0.3/textpattern/config.php on line 3
The contents of your config.php file are not correct, likely a copy and paste accident.
Offline
#7 2006-05-27 17:32:04
- dchayes
- New Member
- Registered: 2006-05-06
- Posts: 7
Re: Installation stalls at same point every time for current release.
Colka, Thanks. I figured you meant config.php
Mary,
I created the table.
Here is the code I copied into the config.php file, which is placed in the textpattern folder in the root directory:
<?php
$txpcfg['db'] = 'database';
$txpcfg['user'] = 'user';
$txpcfg['pass'] = '***';
$txpcfg['host'] = 'localhost';
$txpcfg['table_prefix'] = 'txp_1';
$txpcfg['txpath'] = '/home/username/public_html/textpattern-4.0.3/textpattern';
$txpcfg['dbcharset'] = 'utf8';
?>
Thanks,
D
(Edit: updated code to remove sensitive information. :) -Mary)
Last edited by Mary (2006-05-29 09:29:32)
Offline
#8 2006-05-27 17:47:42
- dchayes
- New Member
- Registered: 2006-05-06
- Posts: 7
Re: Installation stalls at same point every time for current release.
Colak, sorry for the mistype ; – D
Mary, I think it is the database, but honestly, I would not know what to look for. I’ll toy around a bit and see what happens, but suggestions are more than welcome.
Offline
#9 2006-05-27 17:59:41
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Installation stalls at same point every time for current release.
I created the table.
Make sure that you “added” your user to the database in question. Did your host provide you with a control panel, like CPANEL?
Here is the code I copied into the config.php file…
You need to insert
<?php
at the start of the file.
Offline
#10 2006-06-03 23:25:10
- Ace of Dubs
- Member
- Registered: 2006-04-17
- Posts: 446
Re: Installation stalls at same point every time for current release.
I am also having this problem with Txp 4.0.3 running on MySQL 5.0.22.
I created a new db and added a user, to which I granted all privileges.
TXP setup recognizes and connects to the database, but I cant get past the config.php problem.
I should add that I am trying to install into a subdirectory of the server…
Last edited by Ace of Dubs (2006-06-03 23:25:42)
Offline
Re: Installation stalls at same point every time for current release.
This doesn’t have anything to do with the mysql server version. The config.php file is probably in the wrong place, or contains the wrong content.
If you use some fancy editor to create the file, apparently sometimes they add stuff to the file before saving/uploading it (at least that has been reported by users).
It’s also possible that you got confused by the directories. Please tell us te complete (filesystem-)paths for your txp-main directory, for your textpattern-admin directory (should be right below it), and where your config.php file is. Also check the permissions on the config.php file.
Finally: Is it possible that you are changing values withing the config.php file? Because then it recognizes the config.php file as beeing wrong, and again prompts you to create the file as shown.
Offline
#12 2006-06-04 12:24:54
- Ace of Dubs
- Member
- Registered: 2006-04-17
- Posts: 446
Re: Installation stalls at same point every time for current release.
Thanks Sencer, but zem helped me fix the problem here…
http://forum.textpattern.com/viewtopic.php?id=16689
Sorry for any confusion
Offline