pre-installation test error

Permalink
I'm getting this error message (see below) on the pre-install test that Concrete runs on my server. Anybody run into this before? Any enlightenment would be greatly appreciated.

Error message:
Support for C5 Request URLs
Concrete cannot parse the PATH_INFO or ORIG_PATH_INFO information provided by your server.

 
bUrGe replied on at Permalink Reply
Me too - can anyone help please?!

Everything else has a green tick!!! Argh!!!!
andrew replied on at Permalink Reply
andrew
Could you add phpinfo(); into index.php and post a url to it?
exiledgoblin replied on at Permalink Reply
Here is my php info

<***link deleted***>
andrew replied on at Permalink Reply
andrew
I think I see the problem. I've included code to check more for this in this next release candidate, but in the meantime - I believe there's a problem with safe_mode and the localization stuff that we're using.

PHP's safe mode, when enabled, doesn't always let you use the putenv() function, which we use in localization. Since errors are printing out at the top of every page (due to this) the "C5 Request URL" check is going to fail.

Try this.

1. Open concrete/libraries/localization.php and replace

putenv('LC_ALL=' . LOCALE);


with

if (!ini_get('safe_mode')) {
   putenv('LC_ALL=' . LOCALE);
}


Then remove phpinfo() and see if the checks work.
exiledgoblin replied on at Permalink Reply
Thank you! That does the job.
sprdave replied on at Permalink Reply
My concrete/libraries folder on my local PC install is empty so I cannot try that fix. I am using Windows 7 and XAMPP. Concrete5 installed on my XP system with no errors using XAMPP too.
leks replied on at Permalink Reply
I got the following error on the install page:

Support for C5 Request URLs
Concrete cannot parse the PATH_INFO or ORIG_PATH_INFO information provided by your server.

And then these warnings on the side:
Warning: Unknown: open(/tmp/sess_7be6a1fd413337f2c5ed6a284fdceb99, O_RDWR) failed: Permission denied (13) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0


And this on the top of the page:

Warning: session_start() [function.session-start]: open(/tmp/sess_7be6a1fd413337f2c5ed6a284fdceb99, O_RDWR) failed: Permission denied (13) in /home2/leksthei/public_html/concrete5/concrete/startup/session.php on line 18

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home2/leksthei/public_html/concrete5/concrete/startup/session.php:18) in /home2/leksthei/public_html/concrete5/concrete/startup/session.php on line 18

Please help.
mikodog replied on at Permalink Reply
Hi, I'm having the same problem.

Please check:http://www.travelestate.net/

I'm using GoDaddy. Does that really matter?

Please help, I've been figuring this thing out for ages. Thanks.
bUrGe replied on at Permalink Reply
I'll post my php info later.

I read somewhere that I may need to enable

"AllowPathInfoForScriptMappings" in IIS.

I'm on XP Pro SP3 and cannot for the life of me find out how to do it.

Any ideas?

Please help, as I'm considering not bothering with Concrete5 now, given what a pain it is to set up!

Cheers.
Remo replied on at Permalink Reply
Remo
This is how I've done it on my server.. Not XP though but I don't have any IIS server running on XP but it might be the same.

adsutil.vbs SET W3SVC/AllowPathInfoForScriptMappings 1
bUrGe replied on at Permalink Reply
I did try that but got an error saying it couldn't find it or something.

I have IIS installed on my XP machine, but that's just by selecting the IIS windows components from add/remove programs.

Is ther some kind of 'IIS Server' I need to install?

Cheers.
Remo replied on at Permalink Reply
Remo
can you be a bit more precise? An exact error message helps to find computer problems...

You might need adsutil.vbs but the error should tell you that.
bUrGe replied on at Permalink Reply
Sorry, at work so was trying to get it off the top of my head.

I have adsutil.vbs in C:\Inetpub\AdminScripts.

I will try it again tonight, but can I ask - when I am at the command prompt to run this command, what path do I need to be at?

If I know what path to run it from, I can provide the full path to adsutil from it.

Cheers.

***EDIT*** I've just ran that command successfully on my PC at work - will try it when I get home then.

The only difference I can think of is that at home I was trying 'True' instead of '1' (lots of sites seemed to use 'True' for some reason).

So if that works then, can you think of anything else that would cause the original error for this post?

All pre-install bits are ticked green apart from this one.

Cheers.
bUrGe replied on at Permalink Reply
Can you see what's wrong please?! Be awesome if you can!

http://www.mnetuk.org/PHPInfo.pdf...

Cheers.
bUrGe replied on at Permalink Reply
Then going to sack Concrete5 off. Shame, I was looking forward to using it.
andrew replied on at Permalink Reply
andrew
about adding the tests for safe_mode?
bUrGe replied on at Permalink Reply
...as well as changing that key with adsutil.

I really don't know what to try.

One thing I don't know about C5 yet.......I don't want to use a default template and have my site look the way it comes out thr box. I have a very specific look for my site that is nothing like this one - can I program my own templates?

I don't want to use the standard editable blocks, nav bars etc, rather define my own editable areas and completely preserve the layout I choose, but have editable areas.

If not, there may not be any point me getting this enabled in the first place!!

Currently still going with InContext as it just works, no questions asked!
frz replied on at Permalink Reply
frz
yeah,

this site is built out of concrete. so are the sites listed in the showcase as well as many many more..http://kettlefoods.com,http://indie911.com,http://monsoonworks.com

the demo itself even has two completely different looking themes you can apply to the same page type.

you can define your own page types to have as many editable areas as you want.

i know there's a high learning curve on anything, particularly a cms that is rather different in approach like c5, but this information is pretty findable around this site..

http://www.concrete5.org/help/documentation/developers/themes...

there's even a screencast of andy taking a stock template from some free templates site and "concreteizing" it in 5 minutes..

i'm pretty confident you can build whatever you want out of concrete if you give it a good try, i just hope you can figure out your server config issues so you can get started...

alternatively, we'd be happy to setup a perfectly tested and happy hosting environment for you to play around in for $15/month athttp://getconcrete5.com
frz replied on at Permalink Reply
frz
on second reading, that might come off a bit too brisk. i apologize if that wasn't enthusiastic and motivating.

i meant to say "yes."

;)

-frz
exiledgoblin replied on at Permalink Reply
Thanks Andrew!
DaperDan replied on at Permalink Reply
I am also having the "cannot parse the PATH_INFO or ORIG_PATH_INFO" issue.

According to my host I'm not allowed/able to change the PHP to safemode, so that's out.

I changed the code in the localization.php as described below and still getting the same error.

Also, when I try to create a php.ini file on my server I get a CGI error. So I think that's out as well.

Is there anywhere to go from here, or am I out of luck at this point?

http://www.markamadio.com/concrete5/...
andrew replied on at Permalink Reply
andrew
I think something is strangely configured on your web host. That particular test, runs this URL behind the scenes

http://www.markamadio.com/concrete5/index.php/install/-/test_url/20...

It is supposed to get a specific response back...but instead on your server it's getting:

--
CGI Error

The specified CGI application misbehaved by not returning a complete set of HTTP headers.
--

Try messing around with php/cgi settings, especially cgi.fix_pathinfo, which in most of these situations should be turned on.
dotspion replied on at Permalink Reply
Hi @all

I have got the same problem and i had test the hack but it doesn't work!

the domain is

neu.ukw.ch

phpinfo is in the had of the page.

thanks for your help!

greez dom
HSA replied on at Permalink Reply
Hi,
I had the same problem.
I installed 5.1.0RC1 without problems. Then I upgraded to 5.1.0 Final when it came out a few days ago. No problems at all.
Then - and here comes the funny part:
I did a site reset, tried to install 5.1.0 Final from scratch, the above detailed error message appeared at preinstallation screen.
So just out of curiosity I did another site reset, put back 5.1.0RC1. Guess what happened? Da da, badabing, the RC1 went on w/out problems!!

So it must clearly be something in the Final release of 5.1.0...
andrew replied on at Permalink Reply
andrew
Going tohttp://neu.ukw.ch/index.php seems to work, but the moment I try to go to a URL like

http://neu.ukw.ch/index.php/-/configure/...

I get a 404 error. Instead I should be getting phpinfo() and some other stuff.
dotspion replied on at Permalink Reply
Hi togehter

onhttp://neu.ukw.ch/index.php

in the head ist the phpinfo(). I cant Install the system.

Because there is this Error. And I don't know why.

@ Andrew

What do you mean with

http://neu.ukw.ch/index.php/-/configure...

why should come a phpinfo()?

Thanks for your help!
claudiu702000 replied on at Permalink Reply
Hi.I'm getting the same error message when I try to install:

Support for C5 Request URLs
Concrete cannot parse the PATH_INFO or ORIG_PATH_INFO information provided by your server.

I tried everything on this page but nothing seems to work. Please help.
andrew replied on at Permalink Reply
andrew
at this point? Basically get it back to where you saw an installation screen? it looked from a glance like this should work fine.
dotspion replied on at Permalink Reply
Hi

So I had reset all things but the installation won't work.

http://neu.ukw.ch

The check brings always the same error. Now i had placed an php info at:

http://neu.ukw.ch/info.php

If I klick on "Run Tests Again" I became "Not Found" error.

I havent got an Idea. Anybody else?
claudiu702000 replied on at Permalink Reply
Hi. My pre-install test could'n complete because of a server application - e-accelerator. I've created a .htaccess file in the concrete folder with

php_flag eaccelerator.enable 0

in it which disabled e-accelerator. Then the pre-install test completed succesfully..

But I have a new problem now. In editing mode, I can't see the top menu bar correctly. It apears messed up, like css or smth else is not working properly. In adition, the page elements don't have a link on them. For example, I can't edit or add a Header Nav element.
Anybody, any clues? Thanks.
claudiu702000 replied on at Permalink Reply
a clean install solved this problem.
jnichols437 replied on at Permalink Reply
I posted in a new thread, but I'm having this same issue:

Concrete cannot parse the PATH_INFO or ORIG_PATH_INFO information provided by your server.

The fix listed is already contained within 5.1.1 in the concrete/libraries/localiazation.php, but this doesn't fix the issue for me. Can someone please help, I need to get this installed ASAP to build a new website?
lv0 replied on at Permalink Reply
hi, i'm running nginx with fast-cgi... running drupal joomla wordpress sugarcrm and many other php apps no problems..

here is my phpinfo()http://aophilippines.com/phpinfo.php...

i've not enabled safe mode... could someone give me insight on whats up here.. i'd like to get up to speed with concrete5
Noiseman replied on at Permalink Reply
Hit the same issue trying to install concrete5.2.1

Notice that the code Andrew mentions earlier is now in concrete/libraries/localization.php so, I renamed phpinfo - tried again but still no go :(

Also getting:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 245368704 bytes) in Unknown on line 0
Don't know if that's a clue or another problem altogether?!?

phpinfo for server : http://biz51.inmotionhosting.com/phpinfo.php...

I've been running a c5 install locally on wamp 2.0 with no problems, love it & don't want to go back to joomla ;)
Searched around in here to no avail, hope some one can point a confused noob in the right direction...
TNX
leks replied on at Permalink Reply
I got the following error on the install page:

Support for C5 Request URLs
Concrete cannot parse the PATH_INFO or ORIG_PATH_INFO information provided by your server.

And then these warnings on the side:
Warning: Unknown: open(/tmp/sess_7be6a1fd413337f2c5ed6a284fdceb99, O_RDWR) failed: Permission denied (13) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0


And this on the top of the page:

Warning: session_start() [function.session-start]: open(/tmp/sess_7be6a1fd413337f2c5ed6a284fdceb99, O_RDWR) failed: Permission denied (13) in /home2/leksthei/public_html/concrete5/concrete/startup/session.php on line 18

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home2/leksthei/public_html/concrete5/concrete/startup/session.php:18) in /home2/leksthei/public_html/concrete5/concrete/startup/session.php on line 18

Please help.
davidgiffon replied on at Permalink Reply
I'm having the same problem.

www.www.ecuriedavidgiffon.fr/concrete5/info.php5...

Could you please guide me here, I have spent 2 days with no results? I would really like to try using this program!!?

Thank you in advance.
nathan replied on at Permalink Reply
nathan
This sounds more like an apache issue, you need to check your apache config and look for:
AcceptPathInfo Off

and change it to:
AcceptPathInfo On


but remember this will affect the entire server.

or look for a vhost.conf file in your vhosts directory if you're running under plesk and add this value. i.e.

/var/www/vhosts/[domain_name]/conf/vhost.conf

in either case you'll also need to restart apache and/or plesk.

I'm not entirely sure where this directive will be in a non plesk server so you might need to google it.

I may be wrong here? Maybe more info on the server environment as well as PHP info would be good?
Cheers.
sosarris replied on at Permalink Reply
Hi
I have the same error as the others...
"Concrete cannot parse the PATH_INFO or ORIG_PATH_INFO information provided by your server." When I looked at the localization file I already had the right code...
LOCALE));
setlocale(LC_ALL, $l);
if (!ini_get('safe_mode')) {
putenv('LC_ALL=' . LOCALE);
}
Localization::reset();
}
What can I try now?

THanks
j0e replied on at Permalink Reply
same problem here, using grid hosting...before with regular shared hosting it was fine...any way to fix?
j0e replied on at Permalink Reply
fixed it by setting up a root file php5.ini in godaddy grid account that consists of one line:

cgi.fix_pathinfo = 1
earnestf replied on at Permalink Reply
j0e

Hi. I saw that you fixed your Godaddy / Concrete 5 issue. I'm using Godaddy too. With one site I successfully installed it. With the 2nd site I'm getting the "Support for C5 Request URLs / Concrete cannot parse the PATH_INFO or ORIG_PATH_INFO information provided by your server" error.

I'm using shared hosting. How did you fix your issue?

Please help,

Allen F.
earnest_f@yahoo.com
earnestf replied on at Permalink Reply
j0e helped me out on this and now it works!

Just add
cgi.fix_pathinfo = 1
to your php5.ini file in your root directory

You may have a php.ini file there at the root. If so create another file called php5.ini in your root and insert that one line into it:
cgi.fix_pathinfo = 1
meynan replied on at Permalink Reply
Hey !

I have a similar problem

first off all i get a lot of
"Strict Standard" errors, but in the bottom of the page i can see the install window but it gives me the same error as you all

"Concrete cannot parse the PATH_INFO or ORIG_PATH_INFO information provided by your server."

I use easyphp and a winodws 2003 server.
nteaviation replied on at Permalink Reply
nteaviation
It may well be that Fasthost can not be configured to be compatible with Concrete5. That would be a shame. I have seen a couple if posts referencing fasthost and they had working sites, but that was a while back and they may of been on dedicated servers. I don't know.

You could try installing an older version of Concrete5 (like 5.3.x), but that is a crappy work-around.

Don't give up, maybe someone else will have an idea.
andreyman3d2k replied on at Permalink Reply
I ran into the same problem on GoDaddy. This solution worked. Thank you.
plschneide replied on at Permalink Reply
plschneide
Thanks - FYI adding the php5.ini file fixed it for me on GoDaddy as well.
KeithA replied on at Permalink Reply
I too had the problem.. what i did for now was change the error_reporting directive in my php.ini file from E_ALL | E_STRICT to E_ALL & ~E_DEPRECATED and i got the green light somehow..
lewisedavis replied on at Permalink Reply
Hi Im getting the same error here:
http://www.lewisedavis.com/index.php...
I tried putting phpinfo into the index.php but doesnt seem to do anything.
can anyone help a 1st time learner.

Thanks
mhartel replied on at Permalink Reply
same error here, Support for C5 Request URLs
hosted on Godaddy, PHP Version 5.2.17

and php info:
http://www.pocketrevolution.com/info.php...