Darsch Darsch
  • Just popping in
  • Just popping in
  • Joined: 2006/4/14 3:57
  • From Rome, Italy
  • Group: Registered Users
  • Posts: 4
  • Posted on: 2006/4/14 4:09
Installing Xoops on Windows #1
Hello!
Sorry if I probably post a known issue, but I've passed the latest hours in try to search a solution in this forum, but without success... so here I'm.

Well, Subject says it: I'm having a lot of trouble installing XOOPS on a Windows 2003 server.
Due to the impossibility of CHMOD the mainfile.php, I've tried to install it locally on my Apache server. All goes very well, XOOPS succesfully installed and running. So I've dumped all the database and I've copied on the MySQL online server. I've uploaded a fresh copy of XOOPS into my webspace (Win 2003), I've changed all database and paths informations in mainfile.php, and tried to access Xoops... this is what I get after having turned on the debug mode:

http://www.jojoxserie.net/index.php


Am I forgotting some crucial configuration parameters maybe in the xoops_config table? Or the "dump > update mainfile.php" should be enough to have XOOPS running?

I really hope I'll not be forced to change portal system... I really like very much Xoops...

Thanks for any kind of help you'll give me...
Darsch.

EDIT: Forgot to say:
PHP Version: 4.4.1
MySQL Version: 5.0.19
phppp phppp
  • XOOPS Contributor
  • XOOPS Contributor
  • Joined: 2004/1/24 22:40
  • From Beijing
  • Group: BANNED Users
  • Posts: 2857
  • Posted on: 2006/4/14 5:02
Re: Installing Xoops on Windows #2
It looks like template_c is not configured as writable
Darsch Darsch
  • Just popping in
  • Just popping in
  • Joined: 2006/4/14 3:57
  • From Rome, Italy
  • Group: Registered Users
  • Posts: 4
  • Posted on: 2006/4/14 5:15
Re: Installing Xoops on Windows #3
Quote:

phppp wrote:
It looks like template_c is not configured as writable


Ye ... probably you're right ... but I cannot modify any CHMOD property, since it is a Windows based server...
Should I give up?
Jan304 Jan304
  • Official Support Member
  • Official Support Member
  • Joined: 2002/3/31 8:13
  • From Belgium/BelgiĆ«/Belgique
  • Group: Registered Users
  • Posts: 520
  • Posted on: 2006/4/14 8:05
Re: Installing Xoops on Windows #4
If you have manually modified mainfile.php and let the installer install the database, everything should be allright.

Try making the folders cache, uploads and templates_c writeable by doing the following thing:
Open Explorer and navigate to your XOOPS installation - Rightclick on the folder en choose properties.

Then select the "security" tab. Press "Add" and enter the user your Apache installation is running under. If you no ideo who this is, try "Everybody" (This IS a security risk!) - then press "Check name" to make sure the user exists.

Press ok and the user is added. Now click on the user name you have added, and check the "write" permission box in the "Allow" column

Press ok and try again. Now things should be writeable.
Oracle: I'd ask you to sit down, but, you're not going to anyway. And don't worry about the vase.
Neo: What vase?
[Neo turns to look for a vase, and as he does, he knocks over a vase of flowers, which shatters on the floor.]
Oracle: That vase.
Neo:...
Darsch Darsch
  • Just popping in
  • Just popping in
  • Joined: 2006/4/14 3:57
  • From Rome, Italy
  • Group: Registered Users
  • Posts: 4
  • Posted on: 2006/4/14 8:58
Re: Installing Xoops on Windows #5
Quote:

Open Explorer and navigate to your XOOPS installation - Rightclick on the folder en choose properties.
[...]


I can't access to folders or security privileges, 'cause the webspace is external, not in my computer. I can access it only via FTP, and so I think I cannot modify readable/writable properties... :(
msdana msdana
  • Just can't stay away
  • Just can't stay away
  • Joined: 2005/12/11 15:26
  • From United States
  • Group: Registered Users
  • Posts: 817
  • Posted on: 2006/4/14 9:14
Re: Installing Xoops on Windows #6
Darsch,

Check the admin section of your control panel for security permissions. I'm on a Windows server and Ensim lets me change file/folder permissions.

HTH

Dana
If God is watching us, the least we can do is be entertaining.
Graphic Worx : Xoops Themes
Darsch Darsch
  • Just popping in
  • Just popping in
  • Joined: 2006/4/14 3:57
  • From Rome, Italy
  • Group: Registered Users
  • Posts: 4
  • Posted on: 2006/4/14 9:24
Re: Installing Xoops on Windows #7
It seems I've solved the problem...

I've moved the cache, templates_c and uploads folders into the "public" folder (the only one that is writable in a Win2003 Server webspace), inside the sub-folder "xoops". Then I modified these line in include/common.php:

define("XOOPS_CACHE_PATH", XOOPS_ROOT_PATH."/cache");
define("XOOPS_UPLOAD_PATH", XOOPS_ROOT_PATH."/uploads");
define("XOOPS_COMPILE_PATH", XOOPS_ROOT_PATH."/templates_c");
define("XOOPS_UPLOAD_URL", XOOPS_URL."/uploads");


into:

define("XOOPS_CACHE_PATH", XOOPS_ROOT_PATH."/public/xoops/cache");
define("XOOPS_UPLOAD_PATH", XOOPS_ROOT_PATH."/public/xoops/uploads");
define("XOOPS_COMPILE_PATH", XOOPS_ROOT_PATH."/public/xoops/templates_c");
define("XOOPS_UPLOAD_URL", XOOPS_URL."/public/xoops/uploads");


Et voila'! All is fully functional! ^__________^

However there are some PHP notice, like these:

Notice [PHP]: Only variable references should be returned by reference in file functions.php line 491
Notice [PHP]: Only variable references should be returned by reference in file functions.php line 491
Notice [PHP]: Only variables should be assigned by reference in file mysqldatabase.php line 239
Notice [PHP]: Only variables should be assigned by reference in file mysqldatabase.php line 239
Notice [PHP]: Only variable references should be returned by reference in file functions.php line 491
Notice [PHP]: Only variable references should be returned by reference in file functions.php line 491
Notice [PHP]: Only variable references should be returned by reference in file functions.php line 491
Notice [PHP]: Only variable references should be returned by reference in file functions.php line 491
Notice [PHP]: Only variables should be assigned by reference in file mysqldatabase.php line 239
Notice [PHP]: Only variables should be assigned by reference in file cp_functions.php line 57


Any suggestion?
Jan304 Jan304
  • Official Support Member
  • Official Support Member
  • Joined: 2002/3/31 8:13
  • From Belgium/BelgiĆ«/Belgique
  • Group: Registered Users
  • Posts: 520
  • Posted on: 2006/4/14 16:45
Re: Installing Xoops on Windows #8
Notice [PHP]: Only variable references should be returned by reference in file functions.php line 491
Notice 
[PHP]: Only variable references should be returned by reference in file functions.php line 491
Notice 
[PHP]: Only variables should be assigned by reference in file mysqldatabase.php line 239
Notice 
[PHP]: Only variables should be assigned by reference in file mysqldatabase.php line 239
Notice 
[PHP]: Only variable references should be returned by reference in file functions.php line 491
Notice 
[PHP]: Only variable references should be returned by reference in file functions.php line 491
Notice 
[PHP]: Only variable references should be returned by reference in file functions.php line 491
Notice 
[PHP]: Only variable references should be returned by reference in file functions.php line 491
Notice 
[PHP]: Only variables should be assigned by reference in file mysqldatabase.php line 239
Notice 
[PHP]: Only variables should be assigned by reference in file cp_functions.php line 57


These are PHP5 errors. Just ignore them and disable php debug. It are just notices and do not affect the working of your system.
Oracle: I'd ask you to sit down, but, you're not going to anyway. And don't worry about the vase.
Neo: What vase?
[Neo turns to look for a vase, and as he does, he knocks over a vase of flowers, which shatters on the floor.]
Oracle: That vase.
Neo:...
How to effectively post a question in the Xoops forums? - Read here...
Design by: XOOPS UI/UX Team