21
pattang2011
Re: Install problem with xoops 2.5.1
  • 2011/8/7 16:56

  • pattang2011

  • Just popping in

  • Posts: 7

  • Since: 2011/8/7 1


OK 2.5.1 installs ok with wampserver 2.1.
Time to test.

22
zyspec
Re: Install problem with xoops 2.5.1
  • 2011/8/8 16:35

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


I believe the "Strict Errors" that you're seeing are due to the changes in how PHP 5.3 handles calling methods statically. Previously PHP would only complain but now the method needs to be defined as static. Depending on your version of WAMP/XAMPP (and thus version of PHP) you will have varying warnings/failures.

These static calls (and/or method defines) should be fixed in the next XOOPS 2.5.x maintenance release, if there ever is such a thing.

23
deepak267
Re: Install problem with xoops 2.5.1
  • 2011/8/8 23:03

  • deepak267

  • Quite a regular

  • Posts: 352

  • Since: 2008/8/15


Hi all,
when I installed Xoops-2.5.1a

I am getting the same installation error with XAMPP 1.7.4.

however it is working fine on WAMP 2.x.

Did anybody found a solution for this?

Deepak

24
Mamba
Re: Install problem with xoops 2.5.1
  • 2011/8/8 23:50

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


As said before, it is related to your Error setup. Unfortunately, it seems like XAMPP comes with errors being set to E_STRICT.

To get rid of these notifications, change the following line in the php.ini file:

Line 516: error_reporting = E_ALL | E_STRICT

TO

Line 516: error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED

Save that and restart Apache and you should be good to go with installing and working with XOOPS 2.5.1a on XAMPP 1.7.4
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

25
deepak267
Re: Install problem with xoops 2.5.1
  • 2011/8/11 10:44

  • deepak267

  • Quite a regular

  • Posts: 352

  • Since: 2008/8/15


Thanks Mamba, After your recommended change, the errors dissapeared however i am stuck with the issue

Could not copy the distribution file to mainfile.php/data/secure.dist.php

I have checked this thread, but could not resolve. I gave the full access to /htdocs folder (a=rwx), still no success.

I am using XAMPP on a VMWARE (local install)

Any idea?

Deepak

26
Mamba
Re: Install problem with xoops 2.5.1
  • 2011/8/11 13:50

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Make sure that the file mainfile.php is writable (777 on Linux, or not set to "read only" on Windows).
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

27
deepak267
Re: Install problem with xoops 2.5.1
  • 2011/8/12 22:56

  • deepak267

  • Quite a regular

  • Posts: 352

  • Since: 2008/8/15


Thanks mamba,

finally I managed to install the xoops-2.5.1a on XAMPP (Ubuntu 11.04)

here is the folder permission that I have to make to install it:


sudo chmod 777 /opt/lampp/htdocs/www/xoops-2.5.1a/htdocs/uploads
sudo chmod 777 /opt/lampp/htdocs/www/xoops-2.5.1a/htdocs/uploads/avatars
sudo chmod 777 /opt/lampp/htdocs/www/xoops-2.5.1a/htdocs/uploads/files
sudo chmod 777 /opt/lampp/htdocs/www/xoops-2.5.1a/htdocs/uploads/images
sudo chmod 777 /opt/lampp/htdocs/www/xoops-2.5.1a/htdocs/uploads/ranks
sudo chmod 777 /opt/lampp/htdocs/www/xoops-2.5.1a/htdocs/uploads/smilies

sudo chmod 777 /opt/lampp/htdocs/www/xoops-2.5.1a/htdocs/mainfile.php
sudo chmod 777 /opt/lampp/htdocs/www/xoops-2.5.1a/htdocs/xoops_data/caches
sudo chmod 777 /opt/lampp/htdocs/www/xoops-2.5.1a/htdocs/xoops_data/caches/xoops_cache
sudo chmod 777 /opt/lampp/htdocs/www/xoops-2.5.1a/htdocs/xoops_data/caches/smarty_cache
sudo chmod 777 /opt/lampp/htdocs/www/xoops-2.5.1a/htdocs/xoops_data/caches/smarty_compile
sudo chmod 777 /opt/lampp/htdocs/www/xoops-2.5.1a/htdocs/xoops_data/configs
sudo chmod 777 /opt/lampp/htdocs/www/xoops-2.5.1a/htdocs/xoops_data/data/secure.dist.php
sudo chmod 777 /opt/lampp/htdocs/www/xoops-2.5.1a/htdocs/xoops_data/data/secure.php
sudo chmod 777 /opt/lampp/htdocs/www/xoops-2.5.1a/htdocs/include/license.php


hope it will save some time for other XAMPP users.

Also here is a good explanation on chmod command

happy Xooping...

Deepak

28
Mamba
Re: Install problem with xoops 2.5.1
  • 2011/8/12 23:00

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Yoohoo!

I am glad that everything is working now!
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

29
xoobaru
Re: Install problem with xoops 2.5.1
  • 2012/5/2 2:32

  • xoobaru

  • Just can't stay away

  • Posts: 494

  • Since: 2010/12/2


The setting can be found in php.ini for XAMPP (xampp/php/ directory).

Available "error reporting=" options are

; error_reporting
; Default Value: E_ALL & ~E_NOTICE
; Development Value: E_ALL | E_STRICT
; Production Value: E_ALL & ~E_DEPRECATED

For all the STRICT mode messages above, yours is probably set for

error_reporting-E_ALL | E_STRICT

If you chaange the setting to

error_reporting=E_ALL & ~E_NOTICE

the messages at the top of your display will go away and look prettier, but you mignt miss out on valid dev mode errors that would otherwise interest you.

Xoob




30
Globalforest
Re: Install problem with xoops 2.5.1

I have tried installing 2.5.5 on a basic site (no access to php.ini files!) and installation fails on screen 11 (of 14). I tried CHMOD 777 the recommended files/folders but no go. I guess I was being a bit optimistic as have been using XOOPS for years - will try an earlier version (fingers crossed)

Login

Who's Online

398 user(s) are online (261 user(s) are browsing Support Forums)


Members: 0


Guests: 398


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