php forum
php mysql forum
php mysql smarty
 
Topic Options
#105032 - 08/04/05 10:24 PM php fails after local transfer
Wendy Anderson Offline
Junior Member

Registered: 06/27/05
Posts: 17
Our isp moved UBB (6.7.2) to another machine without notice. The relative paths changed in the process.

I have gotten UBB going again but the php accelerator quit working. It, therefore, has to be disabled in order to use the UBB. Even the php execution test wouldn't work until I moved it out of it's previous directory. The test reports that all is OK.

The pntf folder is empty in the cache directory, btw. I have rebuilt forum meta data and everything else that can be rebuilt.

If I rename the non-cgi directory in an effort to use php again, all the search engines will lose the pages we have listed.

Any ideas to get the PHP accelerator going? Unfortunately, my server error logs are not presently available from our ISP. Much thanks in advance.

Top
#105033 - 08/05/05 12:28 PM Re: php fails after local transfer
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Sorry, going from memory, but isn't there another .php file in the non-cgi directory that holds the paths for ultimatebb.php? Something like blah.inc.php?

I could be confusing threads and classic tho tipsy If not, I'll check it out tonight when I get home smile
_________________________
- Allen wavey
- What Drives You?

Top
#105034 - 08/05/05 01:35 PM Re: php fails after local transfer
Ron M Offline
Admin Emeritus

Registered: 11/29/01
Posts: 789
Loc: Des Moines, IA
vars_config.inc.php is the file, Allen.
_________________________
http://thegeeksinc.com
[img]http://www.ubbdev.com/ud/?u=Sub_Zero&s=1[/img] points generated

Top
#105035 - 08/05/05 02:25 PM Re: php fails after local transfer
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
grazi, it's not a well-known file unless you move sites smile
_________________________
- Allen wavey
- What Drives You?

Top
#105036 - 08/05/05 03:39 PM Re: php fails after local transfer
Ron M Offline
Admin Emeritus

Registered: 11/29/01
Posts: 789
Loc: Des Moines, IA
IIRC, submitting the Configuration in your cp.cgi rebuilds that file...
_________________________
http://thegeeksinc.com
[img]http://www.ubbdev.com/ud/?u=Sub_Zero&s=1[/img] points generated

Top
#105037 - 08/05/05 03:59 PM Re: php fails after local transfer
Wendy Anderson Offline
Junior Member

Registered: 06/27/05
Posts: 17
The paths look OK but seem a little too generic. The old paths, prior to the move, had much more specific info.

$MembersPath = "/var/www/cgi-bin/Members";
$CGIPath = "/var/www/cgi-bin/ubbcgi_hc";
$VariablesPath = "/var/www/cgi-bin/ubbcgi_hc";
$NonCGIPath = "/var/www/html/ubb_hc";

I tinkered with the permissions to no avail. I even deleted this file and had it recreated.

Wonder why the test script must be moved before it works.

sigh...

Top
#105038 - 08/05/05 11:12 PM Re: php fails after local transfer
Wendy Anderson Offline
Junior Member

Registered: 06/27/05
Posts: 17
From the error log:

[Fri Aug 05 20:45:51 2005] [error] [client 207.46.98.72] Premature end of script headers: php-script
[Fri Aug 05 20:46:06 2005] [error] [client 207.46.98.72] Premature end of script headers: php-script
[Fri Aug 05 20:47:31 2005] [error] [client 207.46.98.72] Premature end of script headers: php-script
[Fri Aug 05 20:48:10 2005] [error] [client 207.46.98.72] Premature end of script headers: php-script
[Fri Aug 05 20:48:50 2005] [error] [client 207.46.98.72] Premature end of script headers: php-script
[Fri Aug 05 20:50:12 2005] [error] [client 207.46.98.72] Premature end of script headers: php-script
[Fri Aug 05 20:50:16 2005] [error] [client 207.46.98.72] Premature end of script headers: php-script
[Fri Aug 05 20:50:19 2005] [error] [client 207.46.98.72] Premature end of script headers: php-script
[Fri Aug 05 20:50:21 2005] [error] [client 207.46.98.72] Premature end of script headers: php-script
[Fri Aug 05 20:50:52 2005] [error] [client 64.242.88.10] Premature end of script headers: php-script
[Fri Aug 05 20:51:37 2005] [error] [client 207.46.98.72] Premature end of script headers: php-script

Top
#105039 - 08/06/05 07:44 AM Re: php fails after local transfer
Burak Offline
Addict

Registered: 05/29/00
Posts: 1820
Loc: Istanbul, Turkey
what's the content of this file that generates "Premature end of script headers: php-script"?
_________________________
one bytecode to rule them all

Top
#105040 - 08/06/05 08:42 AM Re: php fails after local transfer
Wendy Anderson Offline
Junior Member

Registered: 06/27/05
Posts: 17
Wish I knew, the lines are from the server error log. I take it that there's something missing and that each line is independent of the others.

The third entry here below seems to be unrelated to UBB, yet has the same feed-back:

[Fri Aug 05 20:51:45 2005] [error] [client 207.46.98.72] Premature end of script headers: php-script
[Fri Aug 05 20:51:47 2005] [error] [client 207.46.98.72] Premature end of script headers: php-script
[Fri Aug 05 20:54:20 2005] [error] [client 211.202.147.16] File does not exist: /home/virtual/site142/fst/var/www/html/_vti_bin
[Fri Aug 05 20:54:20 2005] [error] [client 211.202.147.16] Premature end of script headers: php-script, referer: http://www.google.co.kr/search?hl=ko&q=kids+bible+drama&btnG=Google+%EA%B2%80%EC%83%89&lr=

Top
#105041 - 08/06/05 10:30 AM Re: php fails after local transfer
Wendy Anderson Offline
Junior Member

Registered: 06/27/05
Posts: 17
UBB.classic Accelerator Test Results

(Works only after being moved from non-cgi directory).

Your PHP version is 4.3.11: OK
Your PHP version has zlib: Yes
Your PHP version has the md5() function: Yes
UBB.classic Accelerator should have no issues under this version of PHP. zlib compression is installed and will be used.

Other php stuff than UBB works fine.

Top
#105042 - 08/07/05 09:29 AM Re: php fails after local transfer
Wendy Anderson Offline
Junior Member

Registered: 06/27/05
Posts: 17
Hi all,

My prob is a more suitable topic for the ubbcentral list, I suppose. I had searched the archives of both boards and found nothing to help though several had had similar issues.

If you want to follow it there go here:

http://www.ubbcentral.com/cgi-bin/ultimatebb.cgi/topic/10/3108.html?

Thanks to everyone who weighed in!

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks