Previous Thread
Next Thread
Print Thread
Rate Thread
#105032 08/04/2005 10:24 PM
Joined: Jun 2005
Posts: 17
Junior Member
Junior Member
Offline
Joined: Jun 2005
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.

Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
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?
Joined: Nov 2001
Posts: 745
Admin Emeritus
Admin Emeritus
Offline
Joined: Nov 2001
Posts: 745
vars_config.inc.php is the file, Allen.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
grazi, it's not a well-known file unless you move sites smile


- Allen wavey
- What Drives You?
Joined: Nov 2001
Posts: 745
Admin Emeritus
Admin Emeritus
Offline
Joined: Nov 2001
Posts: 745
IIRC, submitting the Configuration in your cp.cgi rebuilds that file...

Sponsored Links
Joined: Jun 2005
Posts: 17
Junior Member
Junior Member
Offline
Joined: Jun 2005
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...

Joined: Jun 2005
Posts: 17
Junior Member
Junior Member
Offline
Joined: Jun 2005
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

Joined: May 2000
Posts: 1,356
Addict
Addict
Joined: May 2000
Posts: 1,356
what's the content of this file that generates "Premature end of script headers: php-script"?

Joined: Jun 2005
Posts: 17
Junior Member
Junior Member
Offline
Joined: Jun 2005
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=

Joined: Jun 2005
Posts: 17
Junior Member
Junior Member
Offline
Joined: Jun 2005
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.

Sponsored Links
Joined: Jun 2005
Posts: 17
Junior Member
Junior Member
Offline
Joined: Jun 2005
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!


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)