1
dlemkin
Re: xoops failure on multiple domains after server upgrade
  • 2006/12/26 0:10

  • dlemkin

  • Just popping in

  • Posts: 10

  • Since: 2005/1/27


solved it...

I was running PHP 5.2.0

All I did was downgrade to 4.4.4 and it now works again... Is this a known compatibility problem. I found only one mention (another poster asking about php 5 incompatibility, but didn't find the answer anywhere?



2
dlemkin
xoops failure on multiple domains after server upgrade
  • 2006/12/25 23:37

  • dlemkin

  • Just popping in

  • Posts: 10

  • Since: 2005/1/27


I had a server upgrade done and now i can not access several of the modules -of many XOOPS installations.

Xoops versions include both the 2.2 and 2.0.x iterations

Just about every module is affected, all showing varients of the same error message. On most sites I was not even able to get to admin to set php debugger, but here is data I did get:
---------------------------
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 491

Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 97

Notice [PHP]: Only variable references should be returned by reference in file kernel/module.php line 368

Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 259

When loading xoopsgallery module 1.3.3.7 I get more of the same plus:
Fatal error: Cannot re-assign $this in /home/alonso/public_html/x2/modules/xoopsgallery/classes/Album.php on line 412
--------------------------------
Server info
XOOPS Version:XOOPS 2.2.3 Final
XOOPS Theme:flash_test
XOOPS Template Set:default
PHP Version:5.2.0
MySQL Version:5.0.27-standard

Server Software:
Apache/1.3.37 (Unix) mod_gzip/1.3.26.1a mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1b

User's Browser:Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1

additional info
cpanel install
phpsuexec enabled
suexec enabled
php global_variables on
php dynamic libraries disabled

ANY IDEAS OR HELP WOULD BE GREATLY APPRECIATED...



3
dlemkin
Unable to downgrade
  • 2006/4/10 14:36

  • dlemkin

  • Just popping in

  • Posts: 10

  • Since: 2005/1/27


When I load the downgrade.php scrip from 2.2.3 to 2.0.X it loads up fine...

I see three buttons:
Downgrade Configuration, User Tables, Blocks

When I click them in series... I get the following errors (below):

Any advice... Can/Should I downgrade?
Will I be able to upgrade to 2.4 when available?
Should I cut my losses and rebuild now (please say no)

thanks
dan

CONFIGURATION
###
Message Log
Debug settings updated
Module configuration categories removed
Nameid field removed from configcategory table
Description field removed from configcategory
Module id field removed from configcategory table
User configuration category added
20 configuration items could not be inserted, check MySQL log for details
6 configuration options could not be inserted, check MySQL log for details
theme_set_admin removed
Authentication configuration category removed
MySQL Log
####

USER TABLES
###
Message Log
user_icq field added to user table
user_from field added to user table
user_sig field added to user table
user_viewemail field added to user table
user_aim field added to user table
user_yim field added to user table
user_msnm field added to user table
user_occ field added to user table
url field added to user table
bio field added to user table
user_intrest field added to user table
umode field added to user table
uorder field added to user table
notify_method field added to user table
notify_mode field added to user table
user_regdate field added to user table
posts field added to user table
attachsig field added to user table
timezone_offset field added to user table
user_mailok field added to user table
theme field added to user table
actkey field added to user table
last_login field added to user table
Profile data migrated to users table
xoops_user_profile table dropped
xoops_user_profile_field table dropped
uname field set to loginname value
loginname field dropped
###

then belwo that the following php errors

####
Notice [PHP]: Undefined index: enable_badips in file class/xoopssecurity.php line 215
Notice [PHP]: Undefined index: language in file include/common.php line 152
Notice [PHP]: Undefined index: language in file include/common.php line 172
Notice [PHP]: Undefined index: use_ssl in file include/common.php line 183
Notice [PHP]: Undefined index: use_mysession in file include/common.php line 185
Notice [PHP]: Only variables should be assigned by reference in file kernel/profile.php line 94
Notice [PHP]: Undefined index: use_mysession in file include/common.php line 206
Notice [PHP]: Only variables should be assigned by reference in file include/common.php line 215
Notice [PHP]: Only variables should be assigned by reference in file kernel/config.php line 239
Notice [PHP]: Undefined index: language in file kernel/module.php line 315
Notice [PHP]: Undefined index: banners in file include/common.php line 235
Notice [PHP]: Undefined index: debug_mode in file include/common.php line 235
Warning [PHP]: in_array(): Wrong datatype for second argument in file include/common.php line 235
Notice [PHP]: Undefined index: theme_fromfile in file class/template.php line 66
Notice [PHP]: Undefined index: sitename in file class/theme.php line 417
Notice [PHP]: Undefined index: slogan in file class/theme.php line 418
Notice [PHP]: Only variables should be assigned by reference in file kernel/config.php line 239
Notice [PHP]: Undefined index: slogan in file class/theme.php line 436
Notice [PHP]: Undefined index: theme_set_allowed in file class/theme.php line 471
Warning [PHP]: in_array(): Wrong datatype for second argument in file class/theme.php line 471
Notice [PHP]: Undefined index: closesite in file include/common.php line 238
Notice [PHP]: Only variables should be assigned by reference in file kernel/groupperm.php line 229
Notice [PHP]: Only variables should be assigned by reference in file kernel/blockinstance.php line 169
Notice [PHP]: Undefined index: language in file kernel/blockinstance.php line 99
Notice [PHP]: Undefined index: language in file kernel/blockinstance.php line 99
Notice [PHP]: Only variable references should be returned by reference in file kernel/blockinstance.php line 111
Notice [PHP]: Undefined index: language in file kernel/blockinstance.php line 99
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 151
Notice [PHP]: Only variables should be assigned by reference in file kernel/groupperm.php line 229
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 154
Notice [PHP]: Undefined index: language in file include/functions.php line 150
Warning [PHP]: xoops_load_lang_file(/home/mysite/public_html/x/modules/content/language//modinfo.php): failed to open stream: No such file or directory in file include/functions.php line 152
Warning [PHP]: xoops_load_lang_file(): Failed opening '/home/mysite/public_html/x/modules/content/language//modinfo.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in file include/functions.php line 152
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 159
Notice [PHP]: Undefined index: language in file include/functions.php line 150
Warning [PHP]: xoops_load_lang_file(/home/mysite/public_html/x/modules/AMS/language//modinfo.php): failed to open stream: No such file or directory in file include/functions.php line 152
Warning [PHP]: xoops_load_lang_file(): Failed opening '/home/mysite/public_html/x/modules/AMS/language//modinfo.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in file include/functions.php line 152
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 159
Notice [PHP]: Undefined index: language in file include/functions.php line 150
Warning [PHP]: xoops_load_lang_file(/home/mysite/public_html/x/modules/piCal/language//modinfo.php): failed to open stream: No such file or directory in file include/functions.php line 152
Warning [PHP]: xoops_load_lang_file(): Failed opening '/home/mysite/public_html/x/modules/piCal/language//modinfo.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in file include/functions.php line 152
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 159
Notice [PHP]: Undefined index: language in file include/functions.php line 150
Warning [PHP]: xoops_load_lang_file(/home/mysite/public_html/x/modules/newbb/language//modinfo.php): failed to open stream: No such file or directory in file include/functions.php line 152
Warning [PHP]: xoops_load_lang_file(): Failed opening '/home/mysite/public_html/x/modules/newbb/language//modinfo.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in file include/functions.php line 152
Notice [PHP]: Undefined index: sitename in file modules/newbb/language/english/modinfo.php line 303
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 159
Notice [PHP]: Undefined index: language in file include/functions.php line 150
Warning [PHP]: xoops_load_lang_file(/home/mysite/public_html/x/modules/xoopsgallery/language//modinfo.php): failed to open stream: No such file or directory in file include/functions.php line 152
Warning [PHP]: xoops_load_lang_file(): Failed opening '/home/mysite/public_html/x/modules/xoopsgallery/language//modinfo.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in file include/functions.php line 152
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 159
Notice [PHP]: Undefined index: language in file include/functions.php line 150
Warning [PHP]: xoops_load_lang_file(/home/mysite/public_html/x/modules/jobs/language//modinfo.php): failed to open stream: No such file or directory in file include/functions.php line 152
Warning [PHP]: xoops_load_lang_file(): Failed opening '/home/mysite/public_html/x/modules/jobs/language//modinfo.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in file include/functions.php line 152
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 159
Notice [PHP]: Undefined index: language in file include/functions.php line 150
Warning [PHP]: xoops_load_lang_file(/home/mysite/public_html/x/modules/wflinks/language//modinfo.php): failed to open stream: No such file or directory in file include/functions.php line 152
Warning [PHP]: xoops_load_lang_file(): Failed opening '/home/mysite/public_html/x/modules/wflinks/language//modinfo.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in file include/functions.php line 152
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 159
Notice [PHP]: Undefined index: language in file include/functions.php line 150
Warning [PHP]: xoops_load_lang_file(/home/mysite/public_html/x/modules/vlweather/language//modinfo.php): failed to open stream: No such file or directory in file include/functions.php line 152
Warning [PHP]: xoops_load_lang_file(): Failed opening '/home/mysite/public_html/x/modules/vlweather/language//modinfo.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in file include/functions.php line 152
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 159
Notice [PHP]: Undefined index: language in file include/functions.php line 150
Warning [PHP]: xoops_load_lang_file(/home/mysite/public_html/x/modules/smartfaq/language//modinfo.php): failed to open stream: No such file or directory in file include/functions.php line 152
Warning [PHP]: xoops_load_lang_file(): Failed opening '/home/mysite/public_html/x/modules/smartfaq/language//modinfo.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in file include/functions.php line 152
Notice [PHP]: Only variables should be assigned by reference in file modules/smartfaq/xoops_version.php line 320
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 159
Notice [PHP]: Undefined index: language in file include/functions.php line 150
Warning [PHP]: xoops_load_lang_file(/home/mysite/public_html/x/modules/pm/language//modinfo.php): failed to open stream: No such file or directory in file include/functions.php line 152
Warning [PHP]: xoops_load_lang_file(): Failed opening '/home/mysite/public_html/x/modules/pm/language//modinfo.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in file include/functions.php line 152
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 159
Notice [PHP]: Undefined index: language in file kernel/blockinstance.php line 99
Warning [PHP]: Missing argument 1 for dumpqueries() in file class/logger.php line 157
Notice [PHP]: Undefined index: language in file class/theme.php line 263
Notice [PHP]: Undefined index: language in file include/functions.php line 150
Warning [PHP]: xoops_load_lang_file(/home/mysite/public_html/x/modules/system/language//modinfo.php): failed to open stream: No such file or directory in file include/functions.php line 152
Warning [PHP]: xoops_load_lang_file(): Failed opening '/home/mysite/public_html/x/modules/system/language//modinfo.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in file include/functions.php line 152
Notice [PHP]: Undefined index: language in file modules/system/xoops_version.php line 215
Warning [PHP]: main(/home/mysite/public_html/x/language//notification.php): failed to open stream: No such file or directory in file modules/system/xoops_version.php line 215
Warning [PHP]: main(): Failed opening '/home/mysite/public_html/x/language//notification.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in file modules/system/xoops_version.php line 215
Notice [PHP]: Use of undefined constant _NOT_NOTIFYMETHOD - assumed '_NOT_NOTIFYMETHOD' in file modules/system/xoops_version.php line 223
Notice [PHP]: Use of undefined constant _NOT_NOTIFYMETHOD_DESC - assumed '_NOT_NOTIFYMETHOD_DESC' in file modules/system/xoops_version.php line 225
Notice [PHP]: Use of undefined constant _NOT_METHOD_DISABLE - assumed '_NOT_METHOD_DISABLE' in file modules/system/xoops_version.php line 228
Notice [PHP]: Use of undefined constant _NOT_METHOD_PM - assumed '_NOT_METHOD_PM' in file modules/system/xoops_version.php line 228
Notice [PHP]: Use of undefined constant _NOT_METHOD_EMAIL - assumed '_NOT_METHOD_EMAIL' in file modules/system/xoops_version.php line 228
Notice [PHP]: Use of undefined constant _NOT_NOTIFYMODE - assumed '_NOT_NOTIFYMODE' in file modules/system/xoops_version.php line 236
Notice [PHP]: Use of undefined constant _NOT_MODE_SENDALWAYS - assumed '_NOT_MODE_SENDALWAYS' in file modules/system/xoops_version.php line 241
Notice [PHP]: Use of undefined constant _NOT_MODE_SENDONCE - assumed '_NOT_MODE_SENDONCE' in file modules/system/xoops_version.php line 241
Notice [PHP]: Use of undefined constant _NOT_MODE_SENDONCEPERLOGIN - assumed '_NOT_MODE_SENDONCEPERLOGIN' in file modules/system/xoops_version.php line 241
Notice [PHP]: Undefined index: adminmail in file modules/system/xoops_version.php line 400
Notice [PHP]: Undefined index: language in file modules/system/xoops_version.php line 408
Notice [PHP]: Undefined index: debug_mode in file footer.php line 53
Warning [PHP]: in_array(): Wrong datatype for second argument in file footer.php line 53
#####

DOWNGRADE BLOCKS

#####
Fatal error: Call to undefined function: getallblocks() in /home/alonso/public_html/x/downgrade.php on line 690
####



4
dlemkin
Re: Error in email registration confirmation link
  • 2005/12/6 13:30

  • dlemkin

  • Just popping in

  • Posts: 10

  • Since: 2005/1/27


That took care it it.

Thanks a lot. Any idea why that was not registered during setup?



5
dlemkin
Re: Error in email registration confirmation link
  • 2005/12/6 2:19

  • dlemkin

  • Just popping in

  • Posts: 10

  • Since: 2005/1/27


I found the email template in:

language -> english -> mail_template -> register.tpl


The two dynamic strings? are:

{X_UACTLINK} and ({SITEURL})

Where can I define these?



6
dlemkin
Error in email registration confirmation link
  • 2005/12/6 2:12

  • dlemkin

  • Just popping in

  • Posts: 10

  • Since: 2005/1/27


Hi,

I seem to have an error in my registration emails. When a user registers, the confirmation email is sent to the user for user-activation. But the link they receive is incomplete.

Whereas it should read:

-----
To become a member of mysite.org, please confirm your request by clicking on the link below:

http://www.mysite.org/x/modules/profile/activate.php?op=actv&id=6&actkey=c8e4c439
-----

it is producing a link that cuts off the website address:
-----
To become a member of mysite.org, please confirm your request by clicking on the link below:

/x/modules/profile/activate.php?op=actv&id=6&actkey=c8e4c439
-----
The closure is also truncated:

-----------
Best Regards
mysite.org
(/x/)
admin@mysite.org

version 2.2.3
Template: imago06c

any ideas?



7
dlemkin
Re: Login page not automatically reloading
  • 2005/8/18 13:38

  • dlemkin

  • Just popping in

  • Posts: 10

  • Since: 2005/1/27


Thanks,

you are absolutely correct. By adding the line:

<{$xoops_module_header}>

to my themes/theme.html file at the same spot, the hang up has resolved.

The appearance of the notification has changed as previously noted, but it is legible and does not stop at that point any more.

Thank you very much for the assistance.

-dan



8
dlemkin
Login page not automatically reloading
  • 2005/8/15 15:12

  • dlemkin

  • Just popping in

  • Posts: 10

  • Since: 2005/1/27


Hi,

I upgraded to 2.2.1 and now my site is not automatically reloading once the login information is enterd.

Whereas it previously showed the grey header and reloaded in a second, the message now shows up in a content portion of my template and just hangs there.

The Click HERE link does work to move forward, but it is kind of annoying.

Thank you for logging indan.
If 
the page does not automatically reloadplease click here


Any ideas?



9
dlemkin
How do you pass username with cookie or session?
  • 2005/5/5 2:08

  • dlemkin

  • Just popping in

  • Posts: 10

  • Since: 2005/1/27


Hi,

I am using XOOPS as my primary website portal. I built an alpha paging script that I want to integrate. I don't want people sending pages anonymously, and I want to use the XOOPS USERNAME or REAL NAME to propagate to the FROM field of the paging script.

Can someone point me to the section of code where I can store a cookie with the username or real name information obtained during XOOPS login.

I was going to use some code like:

setcookie ('pager_username', $xoops_uname);


and on the pager script

echo $_COOKIE['pager_username'];

If I am way off base, I would love some advice on how to get this to work. Thanks in advance for any advice.
-dan



10
dlemkin
Auto Login Revisited
  • 2005/2/20 16:38

  • dlemkin

  • Just popping in

  • Posts: 10

  • Since: 2005/1/27


I noticed an auto-login hack-pack by Brash for 2.0.7.1

Has anyone update these files? Does anyone have instructions for modifying the code manually?

thanks
dan




TopTop



Login

Who's Online

208 user(s) are online (121 user(s) are browsing Support Forums)


Members: 0


Guests: 208


more...

Donat-O-Meter

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

Latest GitHub Commits