Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-10-25 11:01:29

helmz
Member
Registered: 2010-09-14
Posts: 65

what im doing with index.php?

Hi,

I started a new project, all right. I changed admin css style… and not much more…

my surprise come when I’m going to see main page of the site, where it says index.php not found (in Pages there is the intact default)

well, I created a new index.php with my usual editor, worked out. The problem comes when I try to link an image from txp <txp:image id=“1” />

I would like to keep using it and still maintain connection with txp, could it be possible?

thanks in advance.

Offline

#2 2010-10-25 13:31:58

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,315

Re: what im doing with index.php?

Creating an index.php by hand isn’t very promising. It’ll be easier to replace it by the original file. Is there any red text on Admin > Diagnostics?


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#3 2010-10-26 08:09:00

helmz
Member
Registered: 2010-09-14
Posts: 65

Re: what im doing with index.php?

/var/www/vhosts/myhost.com/httpdocs/myweb/textpattern/setup/ still exists -> must I delete it?

Some files from Textpattern has been modified:
/var/www/vhosts/myhost.com/httpdocs/myweb/index.php ? -> this is cose I created a new one? (there wasnt an index.php)

clean_url_data_failed: <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> -> Dont know..

Offline

#4 2010-10-26 08:33:00

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,549
Website GitHub Twitter

Re: what im doing with index.php?

for setup you must delete it
re upload the right index.php to root website
The third warn tells you that you cant have clean url! why?may be you haven’t uploaded htaccess or your server dont support it, any way you can use messy url (look at admin tab).

Cheers

Offline

#5 2010-10-26 09:30:49

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: what im doing with index.php?

The clean URL test fails because you’ve created your own index.php. Without the original index.php file, your Textpattern install won’t work properly.

Offline

#6 2010-10-26 10:24:00

helmz
Member
Registered: 2010-09-14
Posts: 65

Re: what im doing with index.php?

OK, now it detect the control panel page default.

What if I clean the document and paste fully my index.php and the same with style? will it work? and one more cuestion I activated crue php but still I recieve -> Textpattern Warning: PHP tags in crue has been abandonated on line 1151 (and in my document only can find 300 lines.. )

Offline

#7 2010-10-26 10:40:17

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: what im doing with index.php?

Short answer: You can’t create your own index.php. Use the one provided by TXP.

Offline

Board footer

Powered by FluxBB