Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-03-07 20:16:51

KimM
New Member
Registered: 2005-03-07
Posts: 2

newbie question - view site produces error

I’ve just installed TextPattern and am wanting to play with it some to see if it’s something we can use for our site. (Trying to avoid MovableType and its issues.)

We’re running IIS on a Windows 2000 machine and using a mySQL database. I’ve got the software installed and it seems to be configured properly. I can login and use all the admin functions. However, when I click the “view site” tab, I get a page with this error:

Notice: Undefined index: REQUEST_URI in C:\Inetpub\wwwroot\sltribblogs\textpattern\publish\log.php on line 16

followed by the search box, browse pull-down, RSS & Atom links. (That page is at http://extras.sltrib.com/sltribblogs/ if you’d like to look.) I do have two test posts in the database, which are not showing up. Now I haven’t changed anything from default settings aside from the initial setup (database location, etc), so I’m thinking perhaps I’ve missed something?

Can anybody help?

Thanks,
Kim

Offline

#2 2005-03-07 22:30:47

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: newbie question - view site produces error

Kim,

Can you try adding this code to the top of publish.php please? Anywhere before the bombShelter(); line should do:

<pre><code>
if(!isset($_SERVER[‘REQUEST_URI’])) { $_SERVER[‘REQUEST_URI’] = substr($_SERVER[‘argv’]0, strpos($_SERVER[‘argv’]0, ‘;’) + 1);
}
</code></pre>

Last edited by zem (2005-03-07 22:31:04)


Alex

Offline

#3 2005-03-07 22:45:44

KimM
New Member
Registered: 2005-03-07
Posts: 2

Re: newbie question - view site produces error

Thanks for the suggestion, but it didn’t work. Now I get this error:

Notice: Undefined index: REQUEST_URI in C:\Inetpub\wwwroot\sltribblogs\textpattern\publish\log.php on line 16

Notice: Undefined offset: 0 in C:\Inetpub\wwwroot\sltribblogs\textpattern\publish.php on line 772

Notice: Undefined offset: 0 in C:\Inetpub\wwwroot\sltribblogs\textpattern\publish.php on line 772

aughghghgh!

Offline

#4 2005-03-18 12:31:52

gavnosis
Member
From: Milton Keynes, UK
Registered: 2005-03-12
Posts: 151
Website

Re: newbie question - view site produces error

Did anyone ever figure out an answer to this, as I’ve been trying to run Textpattern on iis too… and fallen at exactly the same fence!

All of the articles I’ve found seem to end in an unresolved question

E.g.
http://forum.textpattern.com/viewtopic.php?id=167

I’m just starting to read up on Apache, as I’m sensing a certain inevitability about this…

G.

Offline

#5 2005-12-28 21:08:44

bruno1378
Member
Registered: 2005-12-22
Posts: 22

Re: newbie question - view site produces error

Hi folks, I was having the same problem but seem to have found a solution.

Please see my thread here:

http://forum.textpattern.com/viewtopic.php?id=13510

Offline

Board footer

Powered by FluxBB