11
davidl2
Re: Modules Help
  • 2006/1/17 9:11

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


It may be worth checking to see what PHP version your server is using... if it's PHP5 - that could be your problem.

According to this post - this sounds possible.

12
rgiord54
Re: Modules Help
  • 2006/1/17 9:26

  • rgiord54

  • Just popping in

  • Posts: 60

  • Since: 2002/4/30


Yes I'm running PHP 5 .Thanks for the reply, but any module I put there I can't see now. Is there a way to fix it. It sounds like wfsection, mess it up and it was not even installed, and now the system will not see any more modules. I will not use wfsections, but is there a way to fix it so it will see all the not installed modules again?
...

13
catsmuvva
Re: Modules Help
  • 2006/1/30 12:20

  • catsmuvva

  • Just popping in

  • Posts: 1

  • Since: 2006/1/28


Dear rgiord54,

I enclose here a *nix shell script I have used on several php4 systems to improve their functionality on php5. I'm not saying it does everything, but it hits the major issues in XOOPS.

#! /bin/sh
for file_name in $1/*.php*; do
if -d $file_name ; then
$0 $file_name
else
echo $file_name
sed -i -e s/\$HTTP_SERVER_VARS/\$_SERVER/g \
-e s/\$HTTP_GET_VARS/\$_GET/g \
-e s/\$HTTP_POST_VARS/\$_POST/g \
-e s/\$HTTP_COOKIE_VARS/\$_COOKIE/g \
-e s/\$HTTP_POST_FILES/\$_FILES/g \
-e s/\$HTTP_ENV_VARS/\$_ENV/g $file_name
fi
done

All it does is rename references to the obsolete HTTP_* variables to their new equivalents.

Warmests

Nicole

Login

Who's Online

53 user(s) are online (26 user(s) are browsing Support Forums)


Members: 0


Guests: 53


more...

Donat-O-Meter

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

Latest GitHub Commits