1
Opterongeek
Install Failed

I did a search on my issues before posting this, and either I didn't search correctly, or there's no information directly associated with this.

I am running PHP 5, MySQL 5 and Apache 2.x on Windows XP. (Intranet purpose).

I can't get the XOOPS installation to complete. I'm using phpmyadmin and it looks like the database was created, but if I leave it blank to create its own, it doesn't work and it prompts me to enter a database name. Here's the results if I use the database name that I entered using phpmyadmin:

File ../mainfile.php overwritten by ../mainfile.dist.php.
Failed writing constant C:/Program Files/Apache Group/Apache2/htdocs.
Failed writing constant http://localhost.
Failed writing constant mysql.
Failed writing constant xoops.
Failed writing constant localhost.
Failed writing constant root.
Failed writing constant *xpasswordhiddenx.
Failed writing constant xoops.
Failed writing constant 0.
Failed writing constant 1.
Failed writing constant 2.
Failed writing constant 3.
Failed writing constant 1.


* - edited to remove my password, since I do like to keep those things private. ;)

Things look alright to me, but this is having issues for some reason... anyone care to take a stab at it? I'm local to the system, so I can edit anything and everything.

2
jdseymour
Re: Install Failed

I am trying to get more information in This Thread. I do not believe that XOOPS currently works with the newly released MySQL 5 version.

I would suggest trying MySQL 4.1 and see if the install completes.

3
skalpa
Re: Install Failed
  • 2005/12/1 1:07

  • skalpa

  • Quite a regular

  • Posts: 300

  • Since: 2003/4/16


This is due to PHP5. The problem will be corrected in the next release.
In the meantime, you can edit /install/class/mainfilemanager.php
and change:
Quote:
$content = fread($file, filesize($this->path) );
fclose($file);

to
Quote:
clearstatcache();
$content = fread($file, filesize($this->path) );
fclose($file);


Also, jd's right about MySQL5. I'd suggest you use MySQL4.0.x . Full 4.1 / 5.0 compat is planned but it's not finished yet.

skalpa.>
Any intelligent fool can make things bigger, and more complex. It takes a touch of genius, a lot of courage, to move in the opposite direction.
Two things are infinite: the universe and human stupidity; and I'm not sure about the 1st one (A.Einstein)

4
nshlan
Re: Install Failed
  • 2005/12/20 8:36

  • nshlan

  • Just popping in

  • Posts: 13

  • Since: 2005/12/17


I received the exact same error message that started this thread when running Windows Server 2003/IIS6/PHP v5.1.1/Xoops 2.0.13.2/ I tried using MySQL v5.0.17 and v4.1.16...the error occured each time. The only way I got it to install was by downgrading to PHP 4.4.1 and MySQL 4.0.26. Aftr the site was setup I successfully upgraded mySQL back to 4.1.16....I haven't tried MySQL 5 yet.

5
rowdie
Re: Install Failed
  • 2005/12/20 20:23

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


Did you try editing the file /install/class/mainfilemanager.php as Skalpa suggested?

(I'm just curious to know whether it worked for you)

6
ITProfessor
Re: Install Failed
  • 2006/1/24 5:59

  • ITProfessor

  • Just popping in

  • Posts: 1

  • Since: 2006/1/24


Skalpa's suggested change allowed me to bypass the same hurdle, and installation completed successfully.

7
vinceo11
Re: Install Failed
  • 2006/1/26 20:35

  • vinceo11

  • Just popping in

  • Posts: 2

  • Since: 2006/1/26


holy cow thats the same problem im having...im going to try this when I get home...

8
tazeo
Re: Install Failed
  • 2006/2/17 1:37

  • tazeo

  • Just popping in

  • Posts: 5

  • Since: 2006/2/16


Thank you a thousand times. I was starting to think evil thoughts about XOOPS, and really getting dissapointed at the whole thing last night.

Maybe the fix should be part of the Help file - Just a suggestion.

But I am on my way now, and Hap-Hap-Happy

9
harrygg
skalpa 10x
  • 2006/8/10 10:03

  • harrygg

  • Just popping in

  • Posts: 4

  • Since: 2005/12/30


10x to stalpa your solution made a revolution

Login

Who's Online

404 user(s) are online (340 user(s) are browsing Support Forums)


Members: 0


Guests: 404


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits