31
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



32
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?



33
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..



34
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



35
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.



36
Skythe
Re: Getting my hacks and database back?
  • 2005/1/30 17:56

  • Skythe

  • Just popping in

  • Posts: 99

  • Since: 2004/7/2 2


so?



37
Skythe
Re: Getting my hacks and database back?
  • 2005/1/28 18:50

  • Skythe

  • Just popping in

  • Posts: 99

  • Since: 2004/7/2 2


PHP 5.0.3
Zend 2.0.3



38
Skythe
Re: Getting my hacks and database back?
  • 2005/1/28 15:42

  • Skythe

  • Just popping in

  • Posts: 99

  • Since: 2004/7/2 2


monty / seymore? any idea what could be wrong?



39
Skythe
Re: Getting my hacks and database back?
  • 2005/1/26 21:48

  • Skythe

  • Just popping in

  • Posts: 99

  • Since: 2004/7/2 2


Ahh. Strange that this incorrect path works just alright with my 2.0.x XOOPS just not the backup

Okay fixed that. Now I'm getting lotsa errors

Quote:
Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \class\logger.php on line 51

Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \class\logger.php on line 52

Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \class\logger.php on line 53

Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \class\logger.php on line 54

Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \class\logger.php on line 55

Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \class\errorhandler.php on line 171

Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \class\database\databasefactory.php on line 30

Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \class\database\databasefactory.php on line 59

Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \class\errorhandler.php on line 171

Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \class\database\mysqldatabase.php on line 61

Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \class\database\database.php on line 59

Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \class\database\database.php on line 65

Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \class\errorhandler.php on line 171

Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \kernel\object.php on line 72

Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \kernel\object.php on line 80

Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \kernel\object.php on line 88

Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \kernel\object.php on line 96

Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \kernel\object.php on line 104

Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \kernel\object.php on line 111

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

Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 4 in \class\errorhandler.php on line 171



40
Skythe
Re: Getting my hacks and database back?
  • 2005/1/26 14:51

  • Skythe

  • Just popping in

  • Posts: 99

  • Since: 2004/7/2 2


Quote:

m0nty wrote:
make sure templates_c is writable!!

Quote:
This time I didnt create a new database beforehand but just imported the sql file because otherwise it would sometimes tell me database xxx already exists. Everything went perfect too until the XOOPS installation reached the database check and it said "Tables for XOOPS2 already exist in your database" -.- So its #1 set up database #2 install XOOPS #3 restore db? But then I'll have to use another backup cause that specific file seems to have a create db command included... im so lost


that's not entirely the right way to migrate..

because you are importing all your tables from before, the database will already be created.. so in essence there's no need whatsoever to go thru the XOOPS installation procedure.. just copy mainfile.php from your old site to your new site, and edit the relevant sections inside it such as db name, username, password, host and the paths.. and that should then work..


Okay I just now emptied the local XOOPS folder, copied the old XOOPS directory in there, changed the mainfile.php and restored the db backup.

Now I'm getting the Fatal error: Class 'XoopsTpl' not found in header.php on line 63 again.

Could the mainfile be wrong? Maybe the the physical / virtual path...

The thing is I'm running a Xampp server here, and the path on my harddisk is \htdocs\MySite. The virtual and physical paths would then both behttp://localhost/MySite, right?




TopTop
« 1 2 3 (4) 5 6 7 ... 10 »



Login

Who's Online

196 user(s) are online (108 user(s) are browsing Support Forums)


Members: 0


Guests: 196


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