Welcome, Guest. Please Login or Register.
June 26, 2024, 01:07:57 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  502 Connection Failed??? « previous next »
Pages: [1] Reply Ignore Print
Author Topic: 502 Connection Failed???  (Read 471 times)
DJ
Guest
502 Connection Failed???
« on: January 01, 2002, 08:04:31 PM »
Reply with quote

Hello,

I was able to properly install yabbse, but apparently there is a major problem. When I click on certain links (i.e. the main board, profile, etc.) I get a "502 Connection Failed". I have a feeling that I have an error maybe in my settings file? I set the following:

$boarddir = ".";
$sourcedir = "./Sources":

It's strange, though, because I can do certain things (i.e. Admin, register, etc.)...but other things give me the 502 error.

Any help would be greatly appreciated!

TIA!
 :D
DJ
Logged
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:502 Connection Failed???
« Reply #1 on: January 01, 2002, 09:13:38 PM »
Reply with quote

Sounds like a problem with your host, have you asked them about it yet?
Logged

DJ
Guest
Re:502 Connection Failed???
« Reply #2 on: January 02, 2002, 08:15:35 PM »
Reply with quote

Yes, I checked with the host...no luck there. Last night, though, I did some major work, and was able to "find" part of the problem. When I call the profile page, I figured out that the problem is with the READDIR() function, since it was returning the "." and ".." files from the directory (when loading the avatars). My program also had a problem with the preg_replace functions. (Although this doesn't answer why I get a 502 - Connection Failed error).

I am running PHP 4.0.1 pl2. Any additional help appreciated!!!

TIA,
 :D
DJ
Logged
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:502 Connection Failed???
« Reply #3 on: January 02, 2002, 08:20:59 PM »
Reply with quote

The preg_replace problems can be solved by adding a slash before and after the first argument so it would look like:

preg_replace ("argument1", "argument2", $subject)

Would look like this when done:

preg_replace ("/argument1/", "argument2", $subject)

As for your version of PHP, can they not update it to at least 4.0.6?
Logged

DJ
Guest
Re:502 Connection Failed???
« Reply #4 on: January 03, 2002, 01:54:57 AM »
Reply with quote

Jeff,

Thanks for all of your help. I just sent an email to my host inquiring about upgrading to at least 4.0.6. It's just very frustrating because I LOVE  :) the feel of yabbse, and I can't get it to work right!

Hopefully soon!

Thanks Again!
 :D
DJ
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  502 Connection Failed??? « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.021 seconds with 20 queries.