1
areamike
Update to 2.2 results in broken site
  • 2005/8/3 19:03

  • areamike

  • Just popping in

  • Posts: 33

  • Since: 2005/1/28


WOW! I've read through many other posts and found NOTHING to help my problem. Most other topics looked like the same sort of problems I am having, but no solutions in any of them.

2.0.13 to 2.2 upgrade has broken my site.
I have NO information displayed on front page and I cannot get into admin area. Only a blank page with php debug errors.

None of my modules work other than news and forums that I can tell. Gallery is broke.

http://www.fauxpas.org

Turned on debugging and I get on the front page:
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice 
[PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice 
[PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice 
[PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice 
[PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 249
Notice 
[PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 397
Notice 
[PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 249
Notice 
[PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 256
Notice 
[PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 397
Notice 
[PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice 
[PHP]: Only variables should be assigned by reference in file kernel/profile.php line 93
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/object.php line 771
Notice 
[PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice 
[PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 249
Notice 
[PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 397
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 class/database/mysqldatabase.php line 249
Notice 
[PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 397
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/object.php line 803
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 212
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 108
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 108
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
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/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
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/configitem.php line 113
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/configitem.php line 97
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
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/configitem.php line 97
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
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/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
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/configitem.php line 97
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
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/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
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/configitem.php line 97
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
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/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
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/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
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/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice 
[PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice 
[PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 249
Notice 
[PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 397
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/object.php line 803
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 212
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 113
Notice 
[PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 285
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/object.php line 289
Notice 
[PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice 
[PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice 
[PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice 
[PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 249
Notice 
[PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 397
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/object.php line 803
Notice 
[PHP]: Only variables should be assigned by reference in file kernel/blockinstance.php line 169
Notice 
[PHP]: Only variable references should be returned by reference in file include/functions.php line 566
Notice 
[PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 249
Notice 
[PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 256
Notice 
[PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 397
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/block.php line 178
Notice 
[PHP]: Only variable references should be returned by reference in file kernel/module.php line 171



Is this fixable? I've never had a problem with a XOOPS upgrade before this one. But I see A LOT of other people having similar problems with this upgrade but no solutions.

I also got these bits of info in RED when I ran the update script
Adding user profile fields...
  
ERRORCould not insert field umode into the databaseTable 'areamike.x2c95d_user_profile' doesn't exist
  ERROR: Could not insert field uorder into the database. Table '
areamike.x2c95d_user_profile' doesn't exist
  ERROR
Could not insert field notify_method into the databaseTable 'areamike.x2c95d_user_profile' doesn't exist
  ERROR: Could not insert field notify_mode into the database. Table '
areamike.x2c95d_user_profile' doesn't exist
  ERROR
Could not insert field user_regdate into the databaseTable 'areamike.x2c95d_user_profile' doesn't exist
  ERROR: Could not insert field posts into the database. Table '
areamike.x2c95d_user_profile' doesn't exist
  ERROR
Could not insert field attachsig into the databaseTable 'areamike.x2c95d_user_profile' doesn't exist
  ERROR: Could not insert field timezone_offset into the database. Table '
areamike.x2c95d_user_profile' doesn't exist
  ERROR
Could not insert field user_mailok into the databaseTable 'areamike.x2c95d_user_profile' doesn't exist
  ERROR: Could not insert field theme into the database. Table '
areamike.x2c95d_user_profile' doesn't exist
  ERROR
Could not insert field actkey into the databaseTable 'areamike.x2c95d_user_profile' doesn't exist
  ERROR: Could not insert field last_login into the database. Table '
areamike.x2c95d_user_profile' doesn't exist


This is pretty serious considering this upgrade has rendered my site unusable!! I've never had an upgrade go bad like this one has. Something is amiss.

I get these warnings ONLY when trying to access the admin part of my site:
Warning [Xoops]: Cannot determine path for template themeadmin.html in file class/theme.php line 219
Warning 
[Xoops]: Cannot determine path for template theme.html in file class/theme.php line 219
Warning 
[Xoops]: Smarty errorunable to read resource"" in file class/smarty/Smarty.class.php line 1084


Also, All my blocks are gone.

2
areamike
Re: Update to 2.2 results in broken site
  • 2005/8/3 19:47

  • areamike

  • Just popping in

  • Posts: 33

  • Since: 2005/1/28


I've managed to get into my admin area by uploading the default theme to the themes folder??? WTF is that all about?

Anyways, I can get into Admin area now. I updated ALL modules. I look and I have NO blocks. NONE< they are all gone from the Blocks Admin list. I still have no blocks or info on my front page. Looks liek the blocks are all jacked up and gone.

XOOPSGALLERY still will not work. Getting a Call to underfined function in xoopsgallery/User.php
Funny, it worked BEFORE I upgraded!!

This is really annoying.

3
rowdie
Re: Update to 2.2 results in broken site
  • 2005/8/3 20:12

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


The default theme of XOOPS 2.2 includes a theme for the admin area. In the admin section, system preferences set "admin theme" = "default" to be able to set the admin theme different to your site theme.

For your blocks problem...have you installed the extended profile module? Try installing/updating it, then updating the system module.

And it sounds like Xoopsgallery is incompatible with XOOPS 2.2. It probably tries to access fields in the user table which no longer exist. Your options there are limited, I'm afraid. Either go back to 2.0.13 or hope the developer or someone else has the time to try to upgrade it.

The php notices are just notices, they do no harm.

4
areamike
Re: Update to 2.2 results in broken site
  • 2005/8/3 20:33

  • areamike

  • Just popping in

  • Posts: 33

  • Since: 2005/1/28


Thank you very much for your reply!

I have since reverted back to 2.0.13. Everything runs fine there. With the gallery errors I had no choice. I will wait for the developer on that issue. I never got a chance to try your suggestion to recover my blocks, but I will when/if I upgrade in the future.

Thanks again!~

5
rowdie
Re: Update to 2.2 results in broken site
  • 2005/8/3 21:01

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


Just out of interest, and to satisfy my curiosity , could you tell me if you had the extended profile module installed?

And it's good to hear you got your site running again

6
areamike
Re: Update to 2.2 results in broken site
  • 2005/8/3 23:45

  • areamike

  • Just popping in

  • Posts: 33

  • Since: 2005/1/28


Actually, NO, I did not have that installed. The ONLY add-on I had installed was the Login hack so that the site remembers the user.

Login

Who's Online

224 user(s) are online (130 user(s) are browsing Support Forums)


Members: 0


Guests: 224


more...

Donat-O-Meter

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

Latest GitHub Commits