Fork me on GitHub
Get XOOPS XOOPSXOOPS FAQFAQ ForumsForums NewsNews ThemesThemes ModulesModules
New Posts New Topics All Posts All Forums Index General Modules Themes Development International XOOPS.org

Search

Nominate XOOPS!

Learn XOOPS Core

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: Jul 31
Gross Amount: $15.00
Net Balance: $14.11
Left to go: $85.89

Donations
Anonymous ($15)Jul-20

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

- 2 2.5 2.6 3.0 4 6 2013 Abuse adslight Android AntiHarvesting AntiMalUser AntiSpam API Apple Battlefield billige Bootstrap Captcha cell cent chronolabs CHUNG content CĂN demo docek download Dresses evden eve facebook Fat Food for free Gateway Google Guide herre Honeypot HP html5 Human HỘ IP iPhone jQuery List log Loss mobile module modules Monster new newbb news NHÀ online PARK phone PHP Prevention profile project Protector publisher Rapid RESIDENCE responsive review Rights rmcommon Room security Sentry site Smartphone Smarty Solution Spam Studio tag tags tdmcreate template The Theme themes User userlog web weight Wishcraft xoops Xortify

New Users

Registering user

# 137636

mzmaker05

Welcome to XOOPS!




Bottom   Previous Topic   Next Topic  Register To Post



#1 Posted on: 2006/4/14 3:09 Installing Xoops on Windows
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

Top

Darsch
Just popping in
Just popping in
Joined:
2006/4/14 2:57
From Rome, Italy
Group:
Registered Users
Posts: 4
(Show More) (Show Less)


#2 Posted on: 2006/4/14 4:02 Re: Installing Xoops on Windows
It looks like template_c is not configured as writable

Top

phppp
XOOPS Contributor
XOOPS Contributor
Joined:
2004/1/24 21:40
From Beijing
Group:
BANNED Users
Posts: 2175
(Show More) (Show Less)


#3 Posted on: 2006/4/14 4:15 Re: Installing Xoops on Windows
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?

Top

Darsch
Just popping in
Just popping in
Joined:
2006/4/14 2:57
From Rome, Italy
Group:
Registered Users
Posts: 4
(Show More) (Show Less)


#4 Posted on: 2006/4/14 7:05 Re: Installing Xoops on Windows
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.

Top


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:...
Jan304
Official Support Member
Official Support Member
Joined:
2002/3/31 7:13
From Belgium/België/Belgique
Group:
Registered Users
Posts: 422
(Show More) (Show Less)


#5 Posted on: 2006/4/14 7:58 Re: Installing Xoops on Windows
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... :(

Top

Darsch
Just popping in
Just popping in
Joined:
2006/4/14 2:57
From Rome, Italy
Group:
Registered Users
Posts: 4
(Show More) (Show Less)


#6 Posted on: 2006/4/14 8:14 Re: Installing Xoops on Windows
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

Top


If God is watching us, the least we can do is be entertaining.
Graphic Worx : Xoops Themes
msdana
Just can't stay away
Just can't stay away
Joined:
2005/12/11 14:26
From United States
Group:
Registered Users
Posts: 804
(Show More) (Show Less)


#7 Posted on: 2006/4/14 8:24 Re: Installing Xoops on Windows
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?

Top

Darsch
Just popping in
Just popping in
Joined:
2006/4/14 2:57
From Rome, Italy
Group:
Registered Users
Posts: 4
(Show More) (Show Less)


#8 Posted on: 2006/4/14 15:45 Re: Installing Xoops on Windows
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.

Top


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:...
Jan304
Official Support Member
Official Support Member
Joined:
2002/3/31 7:13
From Belgium/België/Belgique
Group:
Registered Users
Posts: 422
(Show More) (Show Less)







You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You can vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.

[Advanced Search]