Welcome, Guest. Please Login or Register.
April 26, 2024, 10:22:54 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  |  Installation errors « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Installation errors  (Read 3804 times)
djopie
Noobie
*
Posts: 4


I'm a llama!

Installation errors
« on: March 10, 2004, 03:03:31 AM »
Reply with quote

YaBB SE Version: 1.5.5
MySQL Version: 4.0.x
Server Platform: Windows 2000, XP, or 2003

Problem Description:
Since the option wasn't there, my PHP version is 5.0.0b4

The errors I get during installation of the safe package are as follows:

Warning: file() expects parameter 2 to be long, string given in C:\websites\RMHS Online\bin\yabbse\install.php on line 402

Warning: Invalid argument supplied for foreach() in C:\websites\RMHS Online\bin\yabbse\install.php on line 410


Any ideas?  I'd really like to move to this from the old perl YaBB.
Logged
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:Installation errors
« Reply #1 on: March 10, 2004, 03:36:50 AM »
Reply with quote

The installer has a bug with PHP5... well somebody missused the file(); command when they wrote the installer... and PHP4 ignores it but PHP5 tells you that there is a missuse of it.

Open install.php and look for this:
   $sql_lines = file($HTTP_POST_VARS['installdir'] . '/' . YSE_VERSION . '.sql', 'r');
And replace it with this:
   $sql_lines = file($HTTP_POST_VARS['installdir'] . '/' . YSE_VERSION . '.sql');

You should find that code on line 402.
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
djopie
Noobie
*
Posts: 4


I'm a llama!

Re:Installation errors
« Reply #2 on: March 10, 2004, 03:50:06 AM »
Reply with quote

 :)
Thanks a bunch
It works now
Now to see if the conversion goes well
Logged
djopie
Noobie
*
Posts: 4


I'm a llama!

Re:Installation errors
« Reply #3 on: March 10, 2004, 04:09:59 AM »
Reply with quote

Alrighty well the conversion went well until the final step when I got a whole set of errors:

Warning: copy(/template.html) [function.copy]: failed to open stream: Invalid argument in C:\websites\RMHS Online\bin\yabbse\converter.php on line 937
template.html copy failed.


Warning: file(/Settings.pl) [function.file]: failed to open stream: Invalid argument in C:\websites\RMHS Online\bin\yabbse\converter.php on line 949



Warning: file(/Settings.php) [function.file]: failed to open stream: Invalid argument in C:\websites\RMHS Online\bin\yabbse\converter.php on line 966

Warning: fopen(/Settings.php) [function.fopen]: failed to open stream: Invalid argument in C:\websites\RMHS Online\bin\yabbse\converter.php on line 983

Warning: implode() [function.implode]: Bad arguments. in C:\websites\RMHS Online\bin\yabbse\converter.php on line 984

Warning: fputs(): supplied argument is not a valid stream resource in C:\websites\RMHS Online\bin\yabbse\converter.php on line 984

Warning: fclose(): supplied argument is not a valid stream resource in C:\websites\RMHS Online\bin\yabbse\converter.php on line 985

Warning: main(/Settings.php) [function.main]: failed to open stream: Invalid argument in C:\websites\RMHS Online\bin\yabbse\converter.php on line 994

Warning: main() [function.include]: Failed opening '<?=$installdir?>/Settings.php' for inclusion (include_path='.;C:\php5\pear') in C:\websites\RMHS Online\bin\yabbse\converter.php on line 994


What could be causing these?
It still tells me installation was successful and I can get to the board, but those errors kinda freaked me out.
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Installation errors
« Reply #4 on: March 10, 2004, 04:52:54 AM »
Reply with quote

Make sure Settings.php is 777.  Also, try my updated converter.

-[Unknown]
Logged
djopie
Noobie
*
Posts: 4


I'm a llama!

Re:Installation errors
« Reply #5 on: March 10, 2004, 05:06:49 AM »
Reply with quote

Well it seems to work fine now, so I'm guessing it's alright to ignore those errors.  I just copied the code from my old template into the new one manually through the admin area and it worked like a charm.
Thanks, though!
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Installation errors « 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.042 seconds with 20 queries.