Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-07-29 21:13:35

pwbrown
New Member
Registered: 2006-07-29
Posts: 4

Can't install... caught in a loop

I am trying to install version 4.0.3 on my Brinkster.com hosting space, which supports PHP 5 and MySQL. When I try to install, here’s what happens: I choose my language (English US), then I get to the page that wants my login information to MySQL. I enter in the information provided by my host, Brinkster, and confirm the paths at the bottom of the page, and click “next”. The following page says “Checking database connection… Connected Using patrickwbrown (utf8)”. Then I have the message “Before you proceed, create a file called config.php….” and the textarea with the code that I am supposed to paste into the config.php file on my host. I do this (making sure to copy over all the text and change the name from config.php.default to config.php), and click the “I did it” button. This is where I run aground…. instead of proceeding on to the next install step, i get a page that has the “Before you proceed…” instruction again and the textarea with the config.php code. No matter how many times I click “I did it’, I’m in an infinite loop at this point. No error message, just simply keep getting the same page over and over. If I try going to the index.php instead of the /setup/index.php at this point, I get an error “Fatal error: Call to undefined function: parse() in \\[MY SITE ABSOLUTE PATH]\textpattern\lib\txplib_misc.php on line 1309” I have double-checked and triple-checked the information I entered into the config.php, and that it is in the right directory on the hosting account. I even went back and deleted the entire installation and tried again, several times. Please lend a hand with this if you have ever run into this situation… thank you very much for your time!

Patrick

Offline

#2 2006-07-29 21:17:25

hcgtv
Archived Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: Can't install... caught in a loop

Hi Patrick,

The config.php code that you copy has to be uploaded to your textpattern directory on your web space.

The directory would be: \\[MY SITE ABSOLUTE PATH]\textpattern\

Offline

#3 2006-07-29 21:26:07

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

Re: Can't install... caught in a loop

pwbrown wrote:

This is where I run aground…. instead of proceeding on to the next install step, i get a page that has the “Before you proceed…” instruction again and the textarea with the config.php code. No matter how many times I click “I did it’, I’m in an infinite loop at this point. No error message, just simply keep getting the same page over and over.

That page checks for the config-file you should have created, and if it can’t find one asks you to put it there. It should shows you the full path where you have to place the file. It will only proceed once the file is in the correct place.

Offline

#4 2006-07-30 04:09:48

pwbrown
New Member
Registered: 2006-07-29
Posts: 4

Re: Can't install... caught in a loop

Thanks guys, but I have double-checked this again, and the config.php file is in fact in exactly the directory specified. I KNOW somehow I am missing something right under my nose, and yet, I have copied the config.php code from the textarea into the file and uploaded it exactly where specified, and I’m still having this problem. I’m able to log into my MySQL database using the login information my hosting service has provided, so I know that part is right… even textpattern seems to be accessing the database fine. It just continues to go back to that same page in the setup sequence. I’ve completely uninstalled and reinstalled this several times, double-checking everything. I’m stumped! =-o

Thanks for your help, once again!
Patrick

Offline

#5 2006-07-30 06:54:54

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

Re: Can't install... caught in a loop

Open config.php with a texteditor like notepad and compare the content – it could also be, that you used some other pogram to create/edit the file which has added addition html or something to the file, which makes it unusable.

Last edited by Sencer (2006-07-30 06:55:19)

Offline

#6 2006-07-31 03:11:59

pwbrown
New Member
Registered: 2006-07-29
Posts: 4

Re: Can't install... caught in a loop

Unfortunately I’ve already checked for that. It is indeed named config.php, and I used plain ol’ Notepad to edit, which doesn’t add any extraneous tags or such. And I do have my Windows Explorer set to show me all filename extensions. Thank you very much for the hints, though!
Patrick

Offline

#7 2006-07-31 06:00:28

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

Re: Can't install... caught in a loop

Well, how else to put it… inthe last tens of thousands of downloads, this problem has cropped maybe 10 times, and all 10 times, it was due to one of the above reasons:
- File on the wrong path
- File-contents wrong
There is very little code in that place, so there is not much else to go wrong. It is very unlikely that what worked for tens of thousands of installations does not work for you only.

Can you give us the complete filesystem paths to
a) where your setup directory is
b) where your config.php is setting

Also: what happens when you call config.php from the browser – what do you see? What does view-source show you?

Offline

#8 2006-07-31 14:54:48

pwbrown
New Member
Registered: 2006-07-29
Posts: 4

Re: Can't install... caught in a loop

Thanks very much to both of you for all your help in trying to troubleshoot this problem. As it turns out, I went back to Brinkster (my web host) technical support and we finally determined that even though the support pages on Brinkster say that they support PHP 5, I had actually been a customer long enough that I was grandfathered in on a server that only supported an older version of PHP. The technician moved my account to one of the newer servers with PHP 5.1.1 support, and it appears to have resolved this problem.

Thanks again!
Patrick

Offline

Board footer

Powered by FluxBB