The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Anything wrong (NOT VB-RELATED)
This install script won't work for the project I'm working on.
When it comes to step 3, writing the file, it comes up as a blank page. Here is the file. [high]THIS FILE IS NOT THE VB-INSTALL FILE, IT IS NOTHING TO DO WITH VB I CANNOT STRESS THAT ENOUGH KTHX[/high] |
#2
|
||||
|
||||
"is_writable("./config.php")"
this will just be true, if file config.php already exists and php can write into it, but you are in the part of the file_exists("./config.php") - if clause where the file surely isn't created, so this condition can never be true if you replace is_writable("./config.php") with a true, you will see that it'll work then (or at least gives you a no permission error if php has no permissions to create files) |
#3
|
|||
|
|||
I kinda fixed it.
This is part of the code: PHP Code:
Code:
$adminpass = "sdfasdf"; error_reporting(7); $mysql[host] = "localhost"; $mysql[user] = "username"; $mysql[pass] = "password"; $mysql[data] = "database"; $dbset = mysql_connect($mysql[host],$mysql[user],$mysql[pass]); mysql_select_db($mysql[data]); $admin[pass] = "sdfasdf"; $admin[pass] = "sdfasdf"; $admin[email] = "blah@whtevr.com"; ?> |
#4
|
||||
|
||||
you're welcome |
#5
|
|||
|
|||
Um lol.
Look at the 2nd [code] tag. Where's <?php And why is $admin[pass] in place of <?php and $admin[user]? Dave. |
#6
|
||||
|
||||
hmm, sorry i didn't see it, and i don't see why it's creating that erros, but why are you doing that in a so complex way?
try this: PHP Code:
|
#7
|
|||
|
|||
I thought they were.
Dave. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|