Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-12-01 00:31:23

konfusion
New Member
Registered: 2010-12-01
Posts: 7

After Uploading Config.php the page is blank

I go through the setup, my database is connected, and it shows me what I need to copy and paste and upload as config.php. I do that, press “I did it” then it takes me to a blank page, I press refresh and it takes me back to the beginning where I have to chose my language. I’ve tried several times to do this, making new databases, deleting and reinstalling textpattern in my FTP. I cannot figure out what I’m doing wrong. I used to have wordpress and never had a problem with mysql databases so I know there’s nothing wrong with that.

Help me.

Offline

#2 2010-12-01 01:11:25

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: After Uploading Config.php the page is blank

Where are you uploading the config.php file to? it should be sitting inside the /textpattern/ directory alongside a file called config-dist.php (which you can delete).


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#3 2010-12-01 01:17:43

konfusion
New Member
Registered: 2010-12-01
Posts: 7

Re: After Uploading Config.php the page is blank

I’m uploading it to my textpattern directory. Even after deleting config-dist.php it’s still a blank page.

Offline

#4 2010-12-01 11:11:34

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: After Uploading Config.php the page is blank

Mmmm. It just sounds like Txp doesn’t see the config file so assumes it needs to run through setup which is why I asked. I’m assuming all the root directory files are there like index.php, .htaccess and css.php? If they are then this is beyond my knowledge. Either someone else needs to come up with ideas or maybe you should move this question to the Developer Support forum. It could be an .htaccess thing but I’m clutching here.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#5 2010-12-01 20:00:45

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: After Uploading Config.php the page is blank

I’ve seen that it sometimes causes problems if your config.php has blank lines or spaces before the actual content. You could check that.

Offline

#6 2010-12-01 20:57:20

konfusion
New Member
Registered: 2010-12-01
Posts: 7

Re: After Uploading Config.php the page is blank

There’s no blank lines, I have all my files in my root directory (index.php, style.css .htaccess). I don’t know what else I can do.

Offline

#7 2010-12-01 21:39:38

konfusion
New Member
Registered: 2010-12-01
Posts: 7

Re: After Uploading Config.php the page is blank

This error comes up :

Warning: Unexpected character in input: ‘\’ (ASCII=92) state=1 in /home/konfusio/public_html/textpattern/config.php on line 7

Parse error: syntax error, unexpected T_VARIABLE in /home/konfusio/public_html/textpattern/config.php on line 8

Offline

#8 2010-12-01 22:14:51

konfusion
New Member
Registered: 2010-12-01
Posts: 7

Re: After Uploading Config.php the page is blank

Finally figured it out. Instead of copy and pasting the code into text edit and saving as a rich text document then changing the filename in my FTP program, I edited the config-dist.php file and changed it to config.php. Worked like a charm.

Offline

#9 2010-12-01 22:31:56

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: After Uploading Config.php the page is blank

Aha. Rich text not good. It adds characters. I don’t know what your computer is but on Windows use notepad or whatever simple text editor you have or a code editor if you have one..


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#10 2010-12-01 22:33:01

konfusion
New Member
Registered: 2010-12-01
Posts: 7

Re: After Uploading Config.php the page is blank

I use a Mac and Textedit is the equivalent to Notepad I suppose.

Offline

#11 2010-12-01 23:12:18

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: After Uploading Config.php the page is blank

konfusion wrote:

I use a Mac and Textedit is the equivalent to Notepad I suppose.

TextEdit is word processor, equilavent more to the WordPad than Notepad (which is just plain text editor). I wouldn’t really recommend TextEdit for opening any type of file that contains source code (that has to be kept unaltered).

If you find yourself working with code, I would highly recommend installing the Xcode from your install disc or getting some other syntax editor, like for example Smultron (open-source) or Coda.

Offline

#12 2010-12-01 23:20:44

konfusion
New Member
Registered: 2010-12-01
Posts: 7

Re: After Uploading Config.php the page is blank

Oh, okay, thanks, I’ll try that :)

Offline

Board footer

Powered by FluxBB