View Full Version : Help: Forum stopped working :(
SelRahc
09-10-2004, 09:00 PM
Hihi,
Thankfully I am testing this on my test forum setup.
VB version 3.0.1
Problem 1:
I made the changes as directed by the instructions, and uploaded all of the files. But when I ran the install script, it just went to a blank white page. Now the forum does the same thing... nothing happens. Just goes to a white page. :(
What did I do wrong? :(
EDIT: I re-tried rehacking a fresh copy of the functions.php file as suggested in an earlier post, but still get the same blank white pages. I am now putting the test forum back into a useable state and will re-try the install again from scratch.....
EDIT2: No luck. I also tried uploading all fresh files in their original unchanged state (I made a backup b4 trying the install)... no luck! It's like the install process did something to the database itself... I may hafta restore the database to fix it? :(
EDIT3: I was able to get the test forum back online, but I had to re-run the install.php for the forum itself and empty the database. Otherwise I just got a DB error. Will re-attempt full install of VBA tomorrow, but ideas as to WHY are greatly desired!
Question 1:
When I checked my _server["path_translates"] in phpinfo, I got something like this: D:\\somefolder\\anotherfolder\\forum.mydomain.com\\phpinfo.php.
What would I put for the chdir for the path?
My setup looks like this:
host root
..... forum.mydomain.com <-- forum is here
..... mydomain.com <--- vba main page will go here
Brian
09-11-2004, 07:47 PM
chdir('D:\\somefolder\\anotherfolder\\forum.mydomain.com\name_of_forum_folder');
That would be the correct path.
SelRahc
09-13-2004, 11:51 PM
Well, I tried the entire installation over again from stratch, including a new vb install. Same thing happened. White screen.
>.<
All templates and files were updated per the instructions, and everything was uploaded. Once you run the install file, you get nothing but a blank white page, and all forum pages do the exact same thing. The forum becomes useless.
Any suggestions would be greatly appreciated.
VB version was a fresh installation of 3.0.3 Last time I tried it on a 3.0.1 with the same result.
Brian
09-14-2004, 12:19 AM
Not exactly sure what would cause that. If you'd like to submit a support ticket via the Member's Area here though I'll be glad to take a look.
skippy
09-15-2004, 03:00 AM
I have the same problem also. Have you resolve it yet?
skippy
09-15-2004, 06:26 PM
I got mine to work. What happened was that I use Dreamweaver to edit the php files when I should have been using just a regular text editor. I uploaded all the original vBulletin files and re-did the whole thing with vi editor this time. Ran the install script and worked just fine. THANKS ZACHERY!!!!
SelRahc
09-22-2004, 01:22 AM
I just had a chance to look at this again this evening. I may end up tyring that, but I have honestly never had any problems editing php or asp using Dreamweaver.
Anyway, I added error ini flags in the file to see what the problem was and this is the error I am getting:
PHP Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in D:\somefolder\anotherfolder\forumsubdomainfolder\includes\functions.php on line 1887
That line is listed as:
$debughtml .= " (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')'?')=== false, '?', '?','?','&') . "tempusage=1\">Template Usage</a>) (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')'?')=== false, '?', '?','?','&') . "explain=1\">Explain</a>)<br />\n";
I have no idea what's going on lol. I'm about to have you guys take a look at it, cause im at my wits end with this. I'll try using notepad to edit the files first and see what happens I guess......
darn smeghead >.< lol Probably just a dumb mistake im making.. or maybe it really is dreamweaver...? lol
Brian
09-22-2004, 11:50 AM
It's either Dreamweaver messing up the files, or the changes to your functions.php file were done incorrectly. Try re-applying the changes to a fresh, un-hacked version of that file and let me know if that doesn't help.
rgamill
09-24-2004, 12:16 AM
Hi, all!
I had exactly the same error page as SelRahc. I was using Dreamweaver MX.
I followed Brian's suggestion:
1. I made changes in ...includes/functions.php using simple text editor.
if (THIS_SCRIPT == 'online' OR THIS_SCRIPT == 'calendar' OR (THIS_SCRIPT == 'adv_index') OR (THIS_SCRIPT == 'index' AND $vboptions['showevents']))
Well, this time I got different error page: Parse error: parse error, unexpected ';' in ..../includes/functions.php on line 88
That's how line 88 looks like:if ($decvalue >= 65 AND $decvalue <= 90)
2. I installed fresh copy of VBulletin Board and got the same error pages.
Brian, how can I fix it?
P.S. I am not good at PHP scripting at all. So, please, don't throw apples at me! :p :)
To me the "...includes/adminfunctions_template.php file" instructions seem to be a little inconsistent.
'forumdisplay' => $vbphrase['group_forum_display'],
'forumhome' => $vbphrase['group_forum_home'],
'adv_portal' => 'vBadvanced CMPS',
Isn't it suppose to be like this: 'adv_portal' => $vbphrase['vBadvanced CMPS'] ?
Brian
09-24-2004, 12:27 AM
There's no way you could still receive that error if you installed a fresh copy of vBulletin with un-hacked files...
rgamill
09-24-2004, 12:44 AM
That's exactly what happened!! I installed a fresh un-hacked copy of VBulletin Board and made changes to it as instructed. And still got the same error pages.
I understand I might be making mistakes. But it's my third installation attempt.
Well, I guess I'll try one more time.
Brian
09-24-2004, 11:09 AM
Reapply the changes to the fresh files and be sure to use Notepad or another simple text editor. Do not use Dreamweaver or any similar programs as they are known to cause problems.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.