21
m0nty
Re: Getting my hacks and database back?
  • 2005/1/30 19:00

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


u need zend 2.5.7 as the old zend engine has incompatibility issues with php 4.3.10 and newer...

22
Skythe
Re: Getting my hacks and database back?
  • 2005/1/30 21:25

  • Skythe

  • Just popping in

  • Posts: 99

  • Since: 2004/7/2 2


Quote:

Dave_L wrote:
Try applying this fix first:

https://sourceforge.net/tracker/index.php?func=detail&aid=1083928&group_id=41586&atid=430840

If that doesn't correct it, here are some related posts:

https://xoops.org/modules/newbb/viewtopic.php?topic_id=20595&forum=21&post_id=89114#forumpost89114
https://xoops.org/modules/newbb/viewtopic.php?topic_id=28427&forum=7&post_id=123930#forumpost123930


Let's see if I got that fix right. I replaced

preg_replace("|^" . XOOPS_ROOT_PATH . "/|", '', $errFile)

in class/errorhandler.php by

preg_replace("|^" . preg_quote(XOOPS_ROOT_PATH) . "/|",
'', $errFile)
.

What I'm getting now is:

Parse error: syntax error, unexpected T_CLONE, expecting T_STRING in kernel\object.php on line 528


@monty
You sure? Those PHP/Zend packages are the ones that are installed with Xampp and I can run php pages locally when Xampp is running.

23
Dave_L
Re: Getting my hacks and database back?
  • 2005/1/31 1:13

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Quote:
Parse error: syntax error, unexpected T_CLONE, expecting T_STRING in kernel\object.php on line 528


You're using XOOPS 2.0.9.2? I've only seen that error reported when running older versions (<= 2.0.7.x) of XOOPS under PHP5.

24
m0nty
Re: Getting my hacks and database back?
  • 2005/1/31 1:46

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


Quote:

@monty
You sure? Those PHP/Zend packages are the ones that are installed with Xampp and I can run php pages locally when Xampp is running.


as Dave says, u get that parse error when using older versions of XOOPS with php 5

but Yes i'm pretty sure ur problem is the zend engine.

if u have the latest xampp 1.4.11 you'll see it includes zend 2.5.7..

25
Skythe
Re: Getting my hacks and database back?
  • 2005/1/31 14:29

  • Skythe

  • Just popping in

  • Posts: 99

  • Since: 2004/7/2 2


Quote:

Dave_L wrote:
Quote:
Parse error: syntax error, unexpected T_CLONE, expecting T_STRING in kernel\object.php on line 528


You're using XOOPS 2.0.9.2? I've only seen that error reported when running older versions (<= 2.0.7.x) of XOOPS under PHP5.


Yeah as said in an earlier post I'm using my old XOOPS installation here along with my old MySQL backup. I dunno which exact version that is

what should i do?

@monty
This is Xampp 1.4.11

26
m0nty
Re: Getting my hacks and database back?
  • 2005/1/31 16:36

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


try using the phpswitch in Xampp and change to php 4.3.10 just to be sure if it works..

hmmm on the the latest xampp, as my version of xampp 1.4.11 has zend 2.5.7 and not 2.0.3

you can check exact version of zend using the phpinfo in the xampp system screen..

This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.0.6, Copyright (c) 2003-2004, by Zend Technologies with Zend Optimizer v2.5.7, Copyright (c) 1998-2004, by Zend Technologies

27
Skythe
Re: Getting my hacks and database back?
  • 2005/1/31 20:28

  • Skythe

  • Just popping in

  • Posts: 99

  • Since: 2004/7/2 2


Quote:

m0nty wrote:
try using the phpswitch in Xampp and change to php 4.3.10 just to be sure if it works..

hmmm on the the latest xampp, as my version of xampp 1.4.11 has zend 2.5.7 and not 2.0.3

you can check exact version of zend using the phpinfo in the xampp system screen..

This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.0.6, Copyright (c) 2003-2004, by Zend Technologies with Zend Optimizer v2.5.7, Copyright (c) 1998-2004, by Zend Technologies


I switched to 4.3.10 and white screen


As for Zend...

With PHP4 running:
This program makes use of the Zend Scripting Language Engine: Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

With PHP5 running:
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.0.3, Copyright (c) 1998-2004 Zend Technologies

I dont even get anything about extension manager, optimizer..

28
Skythe
Re: Getting my hacks and database back?
  • 2005/2/2 19:52

  • Skythe

  • Just popping in

  • Posts: 99

  • Since: 2004/7/2 2


so what does this mean?

29
Skythe
Re: Getting my hacks and database back?
  • 2005/2/3 16:16

  • Skythe

  • Just popping in

  • Posts: 99

  • Since: 2004/7/2 2


edit: nevermind i solved the problems

30
New10x
Re: Getting my hacks and database back?
  • 2005/4/29 22:15

  • New10x

  • Just popping in

  • Posts: 24

  • Since: 2005/4/10


YOU SOLVED THE PROBLEM, BUT DID NOT POST THE SOLUTION!

Wow! After reading 3 pages of posts, you mysteriously solved the problem. Please, do tell. Even if it was silly, We need to know. Thanks.

Login

Who's Online

235 user(s) are online (145 user(s) are browsing Support Forums)


Members: 0


Guests: 235


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