1
M_1008
From deprecated to blank screen in CBB 3.08 with PHP 5.34
  • 2012/2/20 9:07

  • M_1008

  • Just popping in

  • Posts: 18

  • Since: 2012/2/20


Hi all,

I´ve installed a CBB 3.08 over a fresh installation of XOOPS 2.5.4 at my pc with Wamp 2.1 with PHP 5.3.4.

No problems with the install until I try to enter to the thread "Congratulations! The forum is working."

When I click it, it shows a blank screen with the following error.

"( ! ) Deprecated: Assigning the return value of new by reference is deprecated in D:\wamp\www\xoops\modules\newbb\viewtopic.php on line 582"

I´ve seen that it is frecuent and it´s commonly solved setting the error reporting off at php.ini or changing the value

error_reporting = E_ALL

to

error_reporting = E_ALL & ~E_DEPRECATED

With both of this solutions, error doesn´t show, but the screen is still blank.

Any ideas? I´m new to this world and I´m a little lost.

Thank you for your time and excuse my bad english.

2
Roby73
Re: From deprecated to blank screen in CBB 3.08 with PHP 5.34
  • 2012/2/20 16:41

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


Try to change $editor_handler =& new XoopsEditorHandler();
to $editor_handler = new XoopsEditorHandler(); in line 582

3
M_1008
Re: From deprecated to blank screen in CBB 3.08 with PHP 5.34
  • 2012/2/21 9:01

  • M_1008

  • Just popping in

  • Posts: 18

  • Since: 2012/2/20


Thank you, I´ll try that as soon I get home ;)

4
M_1008
Re: From deprecated to blank screen in CBB 3.08 with PHP 5.34
  • 2012/2/21 20:56

  • M_1008

  • Just popping in

  • Posts: 18

  • Since: 2012/2/20


Ok, I did the change and the deprecated message dissapeared even with the error reporting on, but I´m still getting a blank page.

It seems like a progress, but at the same time, it doesn´t. With no error message I don´t know wich direction I can go :/


5
Roby73
Re: From deprecated to blank screen in CBB 3.08 with PHP 5.34
  • 2012/2/21 23:57

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


Can you send me a module cbb? to email?
I try to check in my local apache server.

I have convert the cbb 309 my verion with GUI 2.5 and fixed all deprecated functions and command for work in php 5.3.


6
Mamba
Re: From deprecated to blank screen in CBB 3.08 with PHP 5.34
  • 2012/2/22 6:26

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Quote:
I´ve installed a CBB 3.08 over a fresh installation of XOOPS 2.5.4 at my pc with Wamp 2.1 with PHP 5.3.4.

I would suggest to install NewBB/CBB 4.2 and test that, instead of investing your time into a module that is pretty much obsolete now.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

7
M_1008
Re: From deprecated to blank screen in CBB 3.08 with PHP 5.34
  • 2012/2/22 13:51

  • M_1008

  • Just popping in

  • Posts: 18

  • Since: 2012/2/20


Thank you both.

Roby73, I can´t understand you fully. Are you telling me to send you the CBB folder by mail?

I´ve installed the 3.08 version because it is the newest one in the modules seccion of this site besides being from 2007. If there is a new production ready version, I´d prefer to use it, of course.

As soon as this works, the goal is importing the database from a CBB 3.04, it´s going to be possible? If it isn´t.. do I have any other option to keep all the data?

8
Roby73
Re: From deprecated to blank screen in CBB 3.08 with PHP 5.34
  • 2012/2/22 15:43

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


@M_1008
Yes, i try to test in local why don't work.

But if you have a new installation for test listens to advice of Mamba...
The nebb 4.2 is the future and is very good!!!

My opinion the 4.2 is not more ready to work in production site. The cbb 3.08 with the small adjustments is more very good!

9
M_1008
Re: From deprecated to blank screen in CBB 3.08 with PHP 5.34
  • 2012/2/23 20:44

  • M_1008

  • Just popping in

  • Posts: 18

  • Since: 2012/2/20


I think i´ll continue with 3.08 as long as 4.2 doesn´t get to production and then I´ll start with this nightmare again. Hell.. I tought it was going to be easier.

I´ve enabled the debugging in preferences and this is all I get at the blank page:

( ! ) Fatal errorCall to undefined method MyTextSanitizerExtension::getInstance() in D:wampwwwxoopsFrameworkstextsanitizermodule.textsanitizer.php on line 215
Call Stack
#    Time    Memory    Function    Location
1    0.0040    1115344    {main}( )    ..viewtopic.php:0
2    0.3414    13076736    Post
->showPost( )    ..viewtopic.php:317
3    0.3416    13077120    _XoopsPersistableObject
->getVar( )    ..post.php:324
4    0.3417    13078360    MyTextSanitizer
->displayTarea( )    ..object.persistable.php:80
5    0.3431    13100816    MyTextSanitizerExtended
->xoopsCodeDecode( )    ..module.textsanitizer.php:529
6    0.3431    13107376    MyTextSanitizerExtended
->xoopsCodeDecode_extended( )    ..module.textsanitizer.php:116
7    0.3431    13108704    MyTextSanitizerExtended
->xoopsCodeDecode_media( )    ..module.textsanitizer.php:185
8    0.3432    13111752    MyTextSanitizerExtended
->_loadExtension( )    ..module.textsanitizer.php:223
Nada Todo Errores 
(13En desuso (1Consultas (43Bloques (5Extra (2Temporizadores(5)
Errores
Desconocido
Assigning the return value of new by reference is deprecated en el archivo /modules/newbb/class/user.php y línea 84
Desconocido
Assigning the return value of new by reference is deprecated en el archivo /Frameworks/art/functions.ini.php y línea 90
Desconocido
Assigning the return value of new by reference is deprecated en el archivo /modules/newbb/include/functions.php y línea 377
Desconocido
Assigning the return value of new by reference is deprecated en el archivo /modules/newbb/include/functions.php y línea 391
Desconocido
Assigning the return value of new by reference is deprecated en el archivo /Frameworks/art/object.php y línea 147
Desconocido
Assigning the return value of new by reference is deprecated en el archivo /Frameworks/art/object.persistable.php y línea 259
Desconocido
Assigning the return value of new by reference is deprecated en el archivo /modules/newbb/class/topic.php y línea 180
Desconocido
Assigning the return value of new by reference is deprecated en el archivo /modules/newbb/class/topic.php y línea 387
Desconocido
Assigning the return value of new by reference is deprecated en el archivo /modules/newbb/class/post.php y línea 889
Desconocido
Assigning the return value of new by reference is deprecated en el archivo /modules/newbb/class/readtopic.php y línea 104
Desconocido
Assigning the return value of new by reference is deprecated en el archivo /modules/newbb/class/readtopic.php y línea 132
Desconocido
Assigning the return value of new by reference is deprecated en el archivo /modules/newbb/class/readtopic.php y línea 136
Desconocido
Assigning the return value of new by reference is deprecated en el archivo /modules/newbb/class/readtopic.php y línea 143


I appreciate your offer greatly, Roby73, but I don´t want to give you work without paying it as long as I can.

I´m considering trying to do this with Xoops 2.4.5 and see if I have more luck with it. If this doesn´t work, I guess I´ll have to pay someone to do it. Does this site have this type of service?

10
Roby73
Re: From deprecated to blank screen in CBB 3.08 with PHP 5.34
  • 2012/2/23 22:00

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


I am not a programmer, i like to learn.
Don't worry, if you want i can modify your cbb. (if i can)
I have already modified one time my cbb.... my copy is only in italian language...
i can merge only the necessary file.


Login

Who's Online

282 user(s) are online (218 user(s) are browsing Support Forums)


Members: 0


Guests: 282


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