Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
1 registered (A-GATE), 34 Guests and 15 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 12/20/03
Posts: 4424
Top Posters (30 Days)
Ruben 51
Gizmo 24
DennyP 24
Dunny 15
SteveS 13
AllenAyres 12
SD 10
dbremer 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 3 1 2 3 >
Topic Options
#226398 - 05/12/09 08:24 AM Please help with redirect!
Bernie Hogya Offline
stranger
Registered: 05/12/09
Posts: 16
Loc: United States
I just successfully migrated my website Forum from ubb.classic to threads and everything went pretty well. I'm just trying to fix a couple of issues that are perplexing me. The first is the redirect. I followed the instructions, and got errors. I then read through previous issues on this Forum and made another adjustment to the code. It still doesn't work. Here's the part that I changed:

- - - -

# Replacement ultimatebb.cgi script.
# $URL needs to be set to your UBB.threads installation.
$URL = "http://www.ericcarmen.com/ubbthreads";

# site_id only needs to be changed if you've imported multiple forums. The importer
# will tell you what your site id needs to be changed to
$site_id = 1;

# What type of redirect shall we send?
# 0 - Don't send a 301/302 header, my webserver does this. (Enable this if 301/302 results in an ISE or blank page)
# 301 - Permanent
# 302 - Temporary
$redirect = 0;

# Search engine friendly redirects? Change to 0 to disable
$search_friendly = 1;

- - - -

This is what comes up when I use my old Message Board link (http://www.ericcarmen.com/scripts/ultimatebb.cgi):

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root 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.

- - - -

Can anyone help me, please?

Thanks in advance.

Bernie
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#226402 - 05/12/09 08:55 AM Re: Please help with redirect! [Re: Bernie Hogya]
Neil White Offline
newbie
Registered: 11/20/06
Posts: 41
Loc: Bradford, UK
Hi Bernie,

Change $redirect=0 to $redirect=301.


Edited by Neil White (05/12/09 08:57 AM)
_________________________
PCTechGuide
Top
#226404 - 05/12/09 09:03 AM Re: Please help with redirect! [Re: Neil White]
Bernie Hogya Offline
stranger
Registered: 05/12/09
Posts: 16
Loc: United States
Tried it but am still getting the same error.

Bernie
Top
#226405 - 05/12/09 09:08 AM Re: Please help with redirect! [Re: Bernie Hogya]
Neil White Offline
newbie
Registered: 11/20/06
Posts: 41
Loc: Bradford, UK
Do you have an htaccess file active on the site? Try temporarily renaming it (if possible) to .htaccessBAK. (Change it back if it doesn't work.)

Can you access the server logs? Can you put any information up here on the forums (obviously be wary of security issues)?
_________________________
PCTechGuide
Top
#226406 - 05/12/09 09:10 AM Re: Please help with redirect! [Re: Neil White]
Bernie Hogya Offline
stranger
Registered: 05/12/09
Posts: 16
Loc: United States
Neil, where would I find that file if I had it?

Bernie
Top
#226407 - 05/12/09 09:14 AM Re: Please help with redirect! [Re: Bernie Hogya]
Neil White Offline
newbie
Registered: 11/20/06
Posts: 41
Loc: Bradford, UK
It would most likley be in the root directory of your server, but there can be more than one.

You have other problems though - your home page:

http://www.ericcarmen.com/

Is showing PHP code. Can your server run PHP?
_________________________
PCTechGuide
Top
#226408 - 05/12/09 09:15 AM Re: Please help with redirect! [Re: Neil White]
Neil White Offline
newbie
Registered: 11/20/06
Posts: 41
Loc: Bradford, UK
You may need to rename the index page to index.php?
_________________________
PCTechGuide
Top
#226409 - 05/12/09 09:21 AM Re: Please help with redirect! [Re: Neil White]
Bernie Hogya Offline
stranger
Registered: 05/12/09
Posts: 16
Loc: United States
PHP, eh? Well, that's the other problem I'm having. I used to have a "Content Island" showing the 10 newest posts on the ubb.classic Forum. I attempted to do the same with threads, but as you can see...the posts do not display. I was trying to fix the redirect issue first and then tackle the "content island" issue. I'm not sure how to enable PHP on that index page.

But, back to the redirect...
Top
#226410 - 05/12/09 09:23 AM Re: Please help with redirect! [Re: Bernie Hogya]
Bernie Hogya Offline
stranger
Registered: 05/12/09
Posts: 16
Loc: United States
By the way, I just tried renaming the index page, but get a bunch of warnings in the "content island" box.
Top
#226411 - 05/12/09 09:23 AM Re: Please help with redirect! [Re: Bernie Hogya]
Bernie Hogya Offline
stranger
Registered: 05/12/09
Posts: 16
Loc: United States


Edited by Bernie Hogya (05/12/09 09:23 AM)
Top
#226412 - 05/12/09 09:27 AM Re: Please help with redirect! [Re: Bernie Hogya]
Bernie Hogya Offline
stranger
Registered: 05/12/09
Posts: 16
Loc: United States
I looked and do not see a file named htaccess. What next?

Bernie
Top
#226413 - 05/12/09 09:30 AM Re: Please help with redirect! [Re: Bernie Hogya]
Neil White Offline
newbie
Registered: 11/20/06
Posts: 41
Loc: Bradford, UK
Originally Posted By: Bernie Hogya
I'm not sure how to enable PHP on that index page.

Just changing the filename to index.php will do it, and it'd be useful to know if it works!

Originally Posted By: Bernie Hogya
But, back to the redirect...

wink Well, I can't see anything wrong with the code you've posted. It looks like a CGI related error, but I'd need to see those error logs to know what's what. I'll keep thinking - hopefully in the meantime more help'll be along...
_________________________
PCTechGuide
Top
#226414 - 05/12/09 09:34 AM Re: Please help with redirect! [Re: Neil White]
Neil White Offline
newbie
Registered: 11/20/06
Posts: 41
Loc: Bradford, UK
Originally Posted By: Bernie
I just tried renaming the index page, but get a bunch of warnings in the "content island" box

You can't have set your paths properly in the configuration.

You should take that page down immediately, it is now a bit of a security risk - change it back to .htm for now. Then create a test page, a duplicate of your index page called indexSOMETHING.php and use that for testing until we've sorted this out!
_________________________
PCTechGuide
Top
#226415 - 05/12/09 09:37 AM Re: Please help with redirect! [Re: Neil White]
Neil White Offline
newbie
Registered: 11/20/06
Posts: 41
Loc: Bradford, UK
Many apologies, gotta go out now - will be back in about an hour. Fingers crossed there's more help around for you in the meantime. Feel free to PM/email me for more help if necessary. smile
_________________________
PCTechGuide
Top
#226420 - 05/12/09 11:10 AM Re: Please help with redirect! [Re: Bernie Hogya]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
I'd try changing this line from:

$search_friendly = 1;

to:

$search_friendly = 0;

I've seen that setting cause errors on some servers.
Top
#226422 - 05/12/09 11:27 AM Re: Please help with redirect! [Re: Rick]
Bernie Hogya Offline
stranger
Registered: 05/12/09
Posts: 16
Loc: United States
Thanks for your help everyone, but it is still not redirecting. I still receive the same error. Do I need to set permissions for that file after uploading? Hmmm...

Bernie
Top
#226425 - 05/12/09 11:35 AM Re: Please help with redirect! [Re: Bernie Hogya]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Yes, permissions should probably be either 755 or 775.
Top
#226426 - 05/12/09 11:44 AM Re: Please help with redirect! [Re: Rick]
Bernie Hogya Offline
stranger
Registered: 05/12/09
Posts: 16
Loc: United States
Nope. That didn't do it. But, curiously the php script is correctly redirecting. Still looking to fix this.

Bernie
Top
#226429 - 05/12/09 02:14 PM Re: Please help with redirect! [Re: Bernie Hogya]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Here is a dumb question.
What is your path to perl.
If you have the original ultimatebb.cgi file that was working look at the top line see what it says.
Usr/bin/perl
usr/local/bin/perl

Maybe??
_________________________
Blue Man Group
Top
#226450 - 05/12/09 04:59 PM Re: Please help with redirect! [Re: Ruben]
Bernie Hogya Offline
stranger
Registered: 05/12/09
Posts: 16
Loc: United States
The original file shows:

usr/local/bin/perl
Top
#226452 - 05/12/09 05:14 PM Re: Please help with redirect! [Re: Bernie Hogya]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
I don't use the redirector but try changing the first line in the new ultimatebb.cgi file to match that.
It is probably set to usr/bin/perl change it to usr/local/bin/perl
It did make a difference with classic on what it was and the server path.
Assuming you have not changed hosts or your host has changed paths.

Maybe??
_________________________
Blue Man Group
Top
#226453 - 05/12/09 05:22 PM Re: Please help with redirect! [Re: Ruben]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
You still may need to tweak some of the settings.
_________________________
Blue Man Group
Top
#226454 - 05/12/09 05:48 PM Re: Please help with redirect! [Re: Ruben]
Bernie Hogya Offline
stranger
Registered: 05/12/09
Posts: 16
Loc: United States
Well, that didn't work either.
Top
#226455 - 05/12/09 05:55 PM Re: Please help with redirect! [Re: Bernie Hogya]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Then you have tried pretty much everything. Other that a corrupted file problem, I suggest you open a support ticket with UBB.
_________________________
Blue Man Group
Top
#226456 - 05/12/09 06:19 PM Re: Please help with redirect! [Re: Ruben]
Bernie Hogya Offline
stranger
Registered: 05/12/09
Posts: 16
Loc: United States
I'll try using a different text editor and a fresh file. Until then I did manage to fix my "Content Island" problem and have physically changed all of the links on the site to direct to the new threads Board, so all hope is not entirely lost. Thanks everyone for their help on this. It is much appreciated!

Bernie
Top
#226457 - 05/12/09 06:23 PM Re: Please help with redirect! [Re: Ruben]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Just a couple of observations.
When viewing the site as a guest I get the:
We encountered a problem. The reason reported was

Database error only visible to forum administrators

Please click back to return to the previous page.
When attempting to view a forum.
I also attempted to register but never received the confirmation email.
_________________________
Blue Man Group
Top
#226458 - 05/12/09 06:23 PM Re: Please help with redirect! [Re: Ruben]
ScriptKeeper Offline

veteran
Registered: 12/09/06
Posts: 1420
Loc: UK
Try putting this line into your root .htaccess file
Code:
redirect 301 /scripts/ultimatebb.cgi http://www.ericcarmen.com/ubbthreads/
Top
#226459 - 05/12/09 06:34 PM Re: Please help with redirect! [Re: ScriptKeeper]
Bernie Hogya Offline
stranger
Registered: 05/12/09
Posts: 16
Loc: United States
Ruben,

I just logged off and found the same error when I tried to read a post as a guest. I see where you can select "can see forums" and "can see topics" but where do I turn on an option where guests can see posts?

As for the confirmation e-mail, that's another problem I'm trying to troubleshoot. I am getting lots e-mails returned to me marked "Mail Delivery Failure" since switching from classic to threads :-(

Bernie
Top
#226460 - 05/12/09 06:45 PM Re: Please help with redirect! [Re: Bernie Hogya]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Most of the view stuff is working like calendar, active topics. But you get a error when attempting to view a post.But it looks like it may be a file permission issue with viewing posts.
When you try to view profiles you get the "You do not have permission to view user profiles."
That would be a permission in the control panel for guests.
The database error is something else.
You will need to enable The logging feature to view what the problem is.
Control Panel » Primary Settings
Set the path and run the test.
Then you can goto:
Control Panel » View SQL Errors
to view the errors.
But I would bet you have a path setting incorrect in the control panel or a file permission setting wrong in one of the folders.


You can also goto:
Control Panel » Permission Checks
And see if something is wrong.
If one of the file/folders show failed you can click on it to see more details.

An also if you do have file permission issues that may be why the redirector is not working correctly


Edited by Ruben (05/12/09 06:51 PM)
Edit Reason: Added comment
_________________________
Blue Man Group
Top
Page 1 of 3 1 2 3 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image