ccgi down
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Re: ccgi down
Re: ccgi down
16-03-2010 9:25 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
DirectoryIndex index.php
<FilesMatch "\.(php|inc)$">
Order allow,deny
deny from all
</FilesMatch>
<FilesMatch "(index.php|dl.php|ut.php|lt.php|download.php)$">
Order allow,deny
allow from all
</FilesMatch>
In particular, why it would have worked previously, but now fails.
Commented everything out, and access granted.
Re: ccgi down
16-03-2010 9:39 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: yellowduck
DirectoryIndex index.php
Is no longer allowed or necessary.
Gabe
Re: ccgi down
16-03-2010 10:21 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
thanks.
Re: ccgi down
16-03-2010 11:42 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Is this due to recent situ with cgi servers?
Re: ccgi down
16-03-2010 12:22 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: Tony Seems to be running incredibly slowly and sometimes completing (sometimes giving up) on anything with included files (e.g. PHP common subroutine file).
Getting variables with $_POST does not pick up the variables sent with a form:
<form name="form1" method="post" action="<?=$PHP_SELF?>">
Worked before for 5 years.
Any ideas welcome...
We're looking at a problem with POST variables Tony following the post here (ref: 300211).
@cpcnw @yellowduck we're looking into the php mail() issues now (ref: 300230)...
Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
Re: ccgi down
16-03-2010 12:43 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: Bob We're looking at a problem with POST variables Tony
Try turning register_globals = Off using the php.ini file I sent you.
Edit: sorry, that's addressed to Tony. I also posted one somewhere round here.
Gabe
Re: ccgi down
16-03-2010 1:17 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
We're looking in to fixing it, in the mean time if you want to just get it working try using $_SERVER['SCRIPT_URL'] instead.
Re: ccgi down
16-03-2010 1:23 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I have just uploaded an installation of Joomla-prepared website to our CGI webspace. When I try to run/see it, browser returns
Error message:
Premature end of script headers: index.php
I create & upload the php_test.php which consists of 3 lines
<?php
phpinfo();
?>
Same thing. I have tried setting permissions to both files to near-any combination, but nothing solves the problem.
I tried to read through suggestions here, but to be honest, I understand next to nothing about this. Quite simply, what exactly do I need to do (I only have FTP access and downloaded Joomla installation) to make the PHP scripts run, if not even phpinfo() won't return the parameters? Plus.net tech support insists there is nothing they can do, and that everything I need is right here. I need to put up a Joomla version of our website ASAP.
Thanks in advance.
Re: ccgi down
16-03-2010 1:23 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Basically, I can't get onto my ccgi space using any of my domain names. I get:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@plus.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
If I change permissions on the destination folder, I get Access Denied (or something similar). I haven't changed anything since before the server went down, so still have a .htaccess file to redirect the domain to the right folder. If I enter http://ccgi.username.free-online.co.uk/folder this works fine.
Cheers,
Gerald.
Re: ccgi down
16-03-2010 2:04 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: pcr Hello,
I have just uploaded an installation of Joomla-prepared website to our CGI webspace. When I try to run/see it, browser returnsError message:
Premature end of script headers: index.php
I create & upload the php_test.php which consists of 3 lines<?php
phpinfo();
?>
Same thing. I have tried setting permissions to both files to near-any combination, but nothing solves the problem.
I tried to read through suggestions here, but to be honest, I understand next to nothing about this. Quite simply, what exactly do I need to do (I only have FTP access and downloaded Joomla installation) to make the PHP scripts run, if not even phpinfo() won't return the parameters? Plus.net tech support insists there is nothing they can do, and that everything I need is right here. I need to put up a Joomla version of our website ASAP.
Thanks in advance.
Hello,
I post this as a result of being referred to this forum from PlusNet's customer support department.
I am in exactly the same position as pcr, I have uploaded my Joomla! directories to the ccgi webspace and upon visiting my website, I receive the Error message posted above as many of you have. I also don't entirely follow some of the posts on here so I'm hoping perhaps a few of you tech guys can come up with a solution to this fairly quickly as I've not had a website for 6 days now!
with anticipation...
Re: ccgi down
16-03-2010 2:05 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: ccgi down
16-03-2010 2:15 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Almost there now, just on last section trying to find out why a section of my PHP code no longer puts partial output on to the browser screen. That was why I thought PHP was executing incredibly slowly and timing out.
Thanks for all of the help guys - especially Gabe !!!
Tony
Re: ccgi down
16-03-2010 2:19 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: yellowduck I had similar. It is most likely a setting in your .htaccess file for the sites you are trying to access. In my case, I simply had to remove the line DirectoryIndex index.php.
I haven't even got the DirectoryIndex line in my .htaccess. Having looked a bit further what Gabe wrote on page 2, I tried to make the following changes
Commented out the line
RewriteRule ^(.*)$ index.php [F,L]
Changed
RewriteCond %{REQUEST_URI} !^/index.php
to
RewriteCond %{REQUEST_URI} !^/~<username>/index.php
and
RewriteRule (.*) /index.php
to
RewriteRule (.*) /~<username>/index.php
and uncommented
RewriteRule ^(.+[^/])$ $1/ [R,L]
No changes whatsoever.
Re: ccgi down
16-03-2010 2:35 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
flush() has no effect. The output (now) only appears when the PHP code has finished executing.
Tony
Re: ccgi down
16-03-2010 2:48 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: Tony POST variables worked following Gabe's suggestion to include the register_globals = Off in a php.ini file.
But Ben's is the more correct solution. You were using $PHP_SELF rather than $_SERVER['PHP_SELF'] and turning register_globals off kills $PHP_SELF, leaving your form with action="". That's an old trick to get a form to post to itself but not good html, so the substitution is better.
Gabe
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page